pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add lxqt-powermanagement: part of LXQt-2.0.x
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Wed May 29 09:15:50 2024 +0200
Changeset: ec253337086b3dd6ab4148ffa066de34a50b816c
Modified Files:
Makefile
Added Files:
lxqt-powermanagement/DESCR
lxqt-powermanagement/Makefile
lxqt-powermanagement/PLIST
lxqt-powermanagement/distinfo
lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt
Log Message:
Add lxqt-powermanagement: part of LXQt-2.0.x
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec253337086b3dd6ab4148ffa066de34a50b816c
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 | 39 ++++++++++
lxqt-powermanagement/PLIST | 82 ++++++++++++++++++++++
lxqt-powermanagement/distinfo | 6 ++
.../patches/patch-autostart_CMakeLists.txt | 14 ++++
6 files changed, 143 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index c46d7000ea..31442946b2 100644
--- a/Makefile
+++ b/Makefile
@@ -2175,6 +2175,7 @@ SUBDIR+= lxqt-globalkeys
SUBDIR+= lxqt-menu-data
SUBDIR+= lxqt-openssh-askpass
SUBDIR+= lxqt-policykit
+SUBDIR+= lxqt-powermanagement
SUBDIR+= lxqt-sudo
SUBDIR+= lxqt-themes
SUBDIR+= lzs-lkm
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..fed99c5c63
--- /dev/null
+++ b/lxqt-powermanagement/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.30 2024/04/06 08:06:42 wiz Exp $
+
+DISTNAME= lxqt-powermanagement-2.0.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++
+
+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
+
+TOOL_DEPENDS+= lxqt-build-tools>=2.0.0:../../wip/lxqt2-build-tools
+TOOL_DEPENDS+= qt6-qttools-[0-9]*:../../devel/qt6-qttools
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+# The dbus option of qt6-qtbase must be enabled for this package to
+# build, it's a hard dependency.
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../graphics/qt6-qtsvg/buildlink3.mk"
+.include "../../wip/liblxqt/buildlink3.mk"
+.include "../../devel/kf6-kidletime/buildlink3.mk"
+.include "../../sysutils/upower/buildlink3.mk"
+.include "../../sysutils/kf6-solid/buildlink3.mk"
+.include "../../wip/lxqt-globalkeys/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lxqt-powermanagement/PLIST b/lxqt-powermanagement/PLIST
new file mode 100644
index 0000000000..e1cc88a38d
--- /dev/null
+++ b/lxqt-powermanagement/PLIST
@@ -0,0 +1,82 @@
+@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_lg.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_pa.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-config-powermanagement/lxqt-config-powermanagement_zh_TW.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_lg.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_pa.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/distinfo b/lxqt-powermanagement/distinfo
new file mode 100644
index 0000000000..b59922cdca
--- /dev/null
+++ b/lxqt-powermanagement/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.12 2023/11/14 04:20:21 gutteridge Exp $
+
+BLAKE2s (lxqt-powermanagement-2.0.0.tar.xz) = c4b027300f47e10fca163ac7bd47a63c95b76a29c1a0352700a04c1b3d25eb28
+SHA512 (lxqt-powermanagement-2.0.0.tar.xz) = 8be223d126bcb81863696241a548d88be0328b0af47502e941544109e5a5b9053e16e41e0f98c817c6616174461b126b91b7c4081835cc02af4d7d6b9f400b11
+Size (lxqt-powermanagement-2.0.0.tar.xz) = 97220 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