pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/lxqt-powermanagement sysutils/lxqt-powermanag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2369f9f7d0f4
branches:  trunk
changeset: 443147:2369f9f7d0f4
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Dec 07 12:34:35 2020 +0000

description:
sysutils/lxqt-powermanagement: update to 0.16.0

-Added a Power keys section for customizing actions of power, suspend and
hibernate keys.
-Dropped QProcess deprecated methods.

diffstat:

 sysutils/lxqt-powermanagement/Makefile                               |  18 +++++++--
 sysutils/lxqt-powermanagement/PLIST                                  |   5 +-
 sysutils/lxqt-powermanagement/distinfo                               |  11 +++--
 sysutils/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt |  14 +++++++
 4 files changed, 37 insertions(+), 11 deletions(-)

diffs (99 lines):

diff -r 7ef5fc0501a5 -r 2369f9f7d0f4 sysutils/lxqt-powermanagement/Makefile
--- a/sysutils/lxqt-powermanagement/Makefile    Mon Dec 07 12:32:18 2020 +0000
+++ b/sysutils/lxqt-powermanagement/Makefile    Mon Dec 07 12:34:35 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/12/04 04:56:14 riastradh Exp $
+# $NetBSD: Makefile,v 1.8 2020/12/07 12:34:35 pin Exp $
 
-DISTNAME=      lxqt-powermanagement-0.15.0
-PKGREVISION=   4
+DISTNAME=      lxqt-powermanagement-0.16.0
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=lxqt/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -19,17 +18,28 @@
 CONFIGURE_DIRS=        build
 CMAKE_ARG_PATH=        ..
 
+AUTOSTART_CONF=                share/examples/autostart
+PKG_SYSCONFSUBDIR=     xdg
+MAKE_DIRS=             ${PKG_SYSCONFDIR}/autostart
+
+CONF_FILES+=   ${AUTOSTART_CONF}/lxqt-powermanagement.desktop \
+               ${PKG_SYSCONFDIR}/autostart/lxqt-powermanagement.desktop
+
 pre-configure:
        ${MKDIR} -p ${WRKSRC}/build
 
-TOOL_DEPENDS+= lxqt-build-tools-[0-9]*:../../devel/lxqt-build-tools
+TOOL_DEPENDS+= lxqt-build-tools>=0.8:../../devel/lxqt-build-tools
 TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+# The dbus option of qt5-qtbase must be enabled for this package to
+# build, it's a hard dependency.
+.include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qtsvg/buildlink3.mk"
 .include "../../x11/qt5-qtx11extras/buildlink3.mk"
 .include "../../x11/liblxqt/buildlink3.mk"
 .include "../../devel/kidletime/buildlink3.mk"
 .include "../../sysutils/upower/buildlink3.mk"
 .include "../../sysutils/solid/buildlink3.mk"
+.include "../../x11/lxqt-globalkeys/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7ef5fc0501a5 -r 2369f9f7d0f4 sysutils/lxqt-powermanagement/PLIST
--- a/sysutils/lxqt-powermanagement/PLIST       Mon Dec 07 12:32:18 2020 +0000
+++ b/sysutils/lxqt-powermanagement/PLIST       Mon Dec 07 12:34:35 2020 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2020/06/01 12:12:38 pin Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/12/07 12:34:35 pin Exp $
 bin/lxqt-config-powermanagement
 bin/lxqt-powermanagement
 share/applications/lxqt-config-powermanagement.desktop
-share/examples/lxqt/xdg/autostart/lxqt-powermanagement.desktop
+share/examples/autostart/lxqt-powermanagement.desktop
 share/icons/hicolor/scalable/devices/laptop-lid.svg
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ar.qm
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_arn.qm
@@ -17,6 +17,7 @@
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_fr.qm
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_gl.qm
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_he.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_hr.qm
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_hu.qm
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_id.qm
 share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_it.qm
diff -r 7ef5fc0501a5 -r 2369f9f7d0f4 sysutils/lxqt-powermanagement/distinfo
--- a/sysutils/lxqt-powermanagement/distinfo    Mon Dec 07 12:32:18 2020 +0000
+++ b/sysutils/lxqt-powermanagement/distinfo    Mon Dec 07 12:34:35 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/06/01 12:12:38 pin Exp $
+$NetBSD: distinfo,v 1.3 2020/12/07 12:34:35 pin Exp $
 
-SHA1 (lxqt-powermanagement-0.15.0.tar.xz) = 6f9f239923a7cc32d8c6d9a8e9f5cecd57b6eec8
-RMD160 (lxqt-powermanagement-0.15.0.tar.xz) = f500e6a97509e9850fef1957dba118d5ace37ca4
-SHA512 (lxqt-powermanagement-0.15.0.tar.xz) = 8ea0765bad3885e6a8e574b382d6bea0bd5065b760241b5fa641e17096fffb43c5472577729365c36918caa4ca0d058fa1a24538dfe157e32ac519d94a4db039
-Size (lxqt-powermanagement-0.15.0.tar.xz) = 64748 bytes
+SHA1 (lxqt-powermanagement-0.16.0.tar.xz) = 20b5234e8d45194d8874fac11f90fc774e75e784
+RMD160 (lxqt-powermanagement-0.16.0.tar.xz) = 39920111942149472963226a2b9fc2c5ca4a91b7
+SHA512 (lxqt-powermanagement-0.16.0.tar.xz) = d262dc5b182678389d7ac38da5fd3c9bef75ceb9c9733aae3fae9f59d8b2c5e87524fdcdafcf9ec98ad107c23db946e30431f743c6ef8011f70ec4d9fc63a72e
+Size (lxqt-powermanagement-0.16.0.tar.xz) = 69784 bytes
+SHA1 (patch-autostart_CMakeLists.txt) = c69057c7e6ca12ce0f5555110b20220a344d01ef
diff -r 7ef5fc0501a5 -r 2369f9f7d0f4 sysutils/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt      Mon Dec 07 12:34:35 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-autostart_CMakeLists.txt,v 1.1 2020/12/07 12:34:35 pin Exp $
+
+Install config file to proper location
+
+--- autostart/CMakeLists.txt.orig      2020-11-02 11:10:05.000000000 +0000
++++ autostart/CMakeLists.txt
+@@ -10,6 +10,6 @@ add_custom_target(lxqt_powermanagement_a
+ 
+ install(FILES
+     ${DESKTOP_FILES}
+-    DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
++    DESTINATION "share/examples/autostart"
+     COMPONENT Runtime
+ )



Home | Main Index | Thread Index | Old Index