pkgsrc-WIP-changes archive

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

lxqt-powermanagement: LXQt update



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Apr 17 15:50:33 2023 +0200
Changeset:	5596b8cd41ae511debaabb5335847ff3306284a6

Modified Files:
	Makefile
Added Files:
	lxqt-powermanagement/DESCR
	lxqt-powermanagement/Makefile
	lxqt-powermanagement/PLIST
	lxqt-powermanagement/commit_msg
	lxqt-powermanagement/distinfo
	lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt

Log Message:
lxqt-powermanagement: LXQt update

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5596b8cd41ae511debaabb5335847ff3306284a6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 lxqt-powermanagement/DESCR                         |  1 +
 lxqt-powermanagement/Makefile                      | 45 +++++++++++++
 lxqt-powermanagement/PLIST                         | 77 ++++++++++++++++++++++
 lxqt-powermanagement/commit_msg                    |  5 ++
 lxqt-powermanagement/distinfo                      |  6 ++
 .../patches/patch-autostart_CMakeLists.txt         | 14 ++++
 7 files changed, 149 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index eba7ecf5fe..23096ff9cc 100644
--- a/Makefile
+++ b/Makefile
@@ -2293,6 +2293,7 @@ SUBDIR+=	lxqt-globalkeys
 SUBDIR+=	lxqt-notificationd
 SUBDIR+=	lxqt-openssh-askpass
 SUDBIR+=	lxqt-policykit
+SUBDIR+=	lxqt-powermanagement
 SUBDIR+=	lxqt-qtplugin
 SUBDIR+=	lxqt-runner
 SUBDIR+=	lxqt-sudo
diff --git a/lxqt-powermanagement/DESCR b/lxqt-powermanagement/DESCR
new file mode 100644
index 0000000000..d981af238c
--- /dev/null
+++ b/lxqt-powermanagement/DESCR
@@ -0,0 +1 @@
+LXQt daemon used for power management and auto-suspend.
diff --git a/lxqt-powermanagement/Makefile b/lxqt-powermanagement/Makefile
new file mode 100644
index 0000000000..cc4f3007a8
--- /dev/null
+++ b/lxqt-powermanagement/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.22 2023/04/03 20:21:22 nros Exp $
+
+DISTNAME=	lxqt-powermanagement-1.3.0
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=lxqt/}
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/lxqt/lxqt-powermanagement/
+COMMENT=	Daemon used for power management and auto-suspend
+LICENSE=	gnu-lgpl-v2.1
+
+USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config perl
+USE_LANGUAGES=	c c++
+
+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.13.0:../../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 --git a/lxqt-powermanagement/PLIST b/lxqt-powermanagement/PLIST
new file mode 100644
index 0000000000..7ad94d273b
--- /dev/null
+++ b/lxqt-powermanagement/PLIST
@@ -0,0 +1,77 @@
+@comment $NetBSD$
+bin/lxqt-config-powermanagement
+bin/lxqt-powermanagement
+share/applications/lxqt-config-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
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ast.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_bg.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ca.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_cs.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_cy.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_da.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_de.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_el.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_es.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_et.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_fi.qm
+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
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ja.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ko.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_lt.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_nb_NO.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_nl.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_oc.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_pl.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_pt.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_pt_BR.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ru.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_si.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_sk_SK.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_tr.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_uk.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_zh_CN.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ar.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_arn.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ast.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_bg.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ca.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_cs.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_cy.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_da.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_de.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_el.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_es.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_et.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_fi.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_fr.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_gl.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_he.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_hr.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_hu.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_id.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_it.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ja.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ko.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_lt.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_nb_NO.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_nl.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_oc.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_pl.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_pt.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_pt_BR.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ru.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_si.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_sk_SK.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_tr.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_uk.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_vi.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_zh_CN.qm
diff --git a/lxqt-powermanagement/commit_msg b/lxqt-powermanagement/commit_msg
new file mode 100644
index 0000000000..612ef297d1
--- /dev/null
+++ b/lxqt-powermanagement/commit_msg
@@ -0,0 +1,5 @@
+sysutils/lxqt-powermanagement: update to 1.3.0
+
+lxqt-powermanagement-1.3.0 / 2023-04-15
+========================================
+ * Updated translations and bumped the version.
diff --git a/lxqt-powermanagement/distinfo b/lxqt-powermanagement/distinfo
new file mode 100644
index 0000000000..dc1072f2d6
--- /dev/null
+++ b/lxqt-powermanagement/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.10 2022/11/12 05:14:24 gutteridge Exp $
+
+BLAKE2s (lxqt-powermanagement-1.3.0.tar.xz) = c8256c17d3ba5f3762f2745d8e11b570d236b7d570a33ab3fd078541f90a29e7
+SHA512 (lxqt-powermanagement-1.3.0.tar.xz) = 79891ba791a167c8b4b27acd309908b0badafcf273aca880c4db592b776d8672d240bc8d4a9552cb83195a9a9929e5b1722a6d20be3ea810c3dcb61dc83fd323
+Size (lxqt-powermanagement-1.3.0.tar.xz) = 91852 bytes
+SHA1 (patch-autostart_CMakeLists.txt) = c69057c7e6ca12ce0f5555110b20220a344d01ef
diff --git a/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt b/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt
new file mode 100644
index 0000000000..de36d61860
--- /dev/null
+++ b/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt
@@ -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