summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-04-17 21:04:33 +0300
committerJimi Huotari <chiitoo@gentoo.org>2024-06-15 00:48:29 +0300
commitee9bcfc37a5bd6515ae9efe4cfc112abeea80bc5 (patch)
tree3c74b32e29ff015d9bc40532a069911b0f3652b9 /lxqt-base/lxqt-powermanagement
parentlxqt-base/lxqt-policykit: add 2.0.0 (diff)
downloadgentoo-ee9bcfc37a5bd6515ae9efe4cfc112abeea80bc5.tar.gz
gentoo-ee9bcfc37a5bd6515ae9efe4cfc112abeea80bc5.tar.bz2
gentoo-ee9bcfc37a5bd6515ae9efe4cfc112abeea80bc5.zip
lxqt-base/lxqt-powermanagement: add version 2.0.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'lxqt-base/lxqt-powermanagement')
-rw-r--r--lxqt-base/lxqt-powermanagement/Manifest1
-rw-r--r--lxqt-base/lxqt-powermanagement/lxqt-powermanagement-2.0.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-powermanagement/Manifest b/lxqt-base/lxqt-powermanagement/Manifest
index 948835afdff7..02ede9fef765 100644
--- a/lxqt-base/lxqt-powermanagement/Manifest
+++ b/lxqt-base/lxqt-powermanagement/Manifest
@@ -1,2 +1,3 @@
DIST lxqt-powermanagement-1.3.0.tar.xz 91852 BLAKE2B 28deb2120974a000333bba6bc5b9922abb40f2fd0efde07d8a8cf32c2c7172e796107f4b0c3a9332ff4f179fb02a2ecd7e856dfd746d85eaf8a627ce897c2e7c SHA512 79891ba791a167c8b4b27acd309908b0badafcf273aca880c4db592b776d8672d240bc8d4a9552cb83195a9a9929e5b1722a6d20be3ea810c3dcb61dc83fd323
DIST lxqt-powermanagement-1.4.0.tar.xz 93280 BLAKE2B 2df04ecdbeeddbc3dba41d115878605091511a09fdd494fcb979e7ddf73e7a51b428be7120d30a4ea690f612afb1f4185b863b80bd96e56897249f22ba6e60a7 SHA512 20b6b541fbf0eda1471af233f09744861428d74743b248b95be27c82a3d6fa1c71bfb7f4b5ff7a5408a37a6975a831b525290e8ec012e3546b0e69dfe63ccf7c
+DIST lxqt-powermanagement-2.0.0.tar.xz 97220 BLAKE2B bf267a3c95d50c077e5fe0d271a664511eef2b1180d51dbd0141e821874d9f7d2df156fc776b69933784836967d6322c8dc92a2fcd3fe8fb2ddf7b5fb05d64a1 SHA512 8be223d126bcb81863696241a548d88be0328b0af47502e941544109e5a5b9053e16e41e0f98c817c6616174461b126b91b7c4081835cc02af4d7d6b9f400b11
diff --git a/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-2.0.0.ebuild b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-2.0.0.ebuild
new file mode 100644
index 000000000000..0bdb377f6640
--- /dev/null
+++ b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-2.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="LXQt daemon for power management and auto-suspend"
+HOMEPAGE="https://lxqt-project.org/"
+
+MY_PV="$(ver_cut 1-2)"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
+else
+ SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-2.1 LGPL-2.1+"
+SLOT="0"
+
+BDEPEND="
+ >=dev-qt/qttools-6.6:6[linguist]
+ >=dev-util/lxqt-build-tools-2.0.0
+ virtual/pkgconfig
+"
+DEPEND="
+ >=dev-libs/libqtxdg-4.0.0
+ >=dev-qt/qtbase-6.6:6[dbus,gui,widgets]
+ >=dev-qt/qtsvg-6.6:6
+ kde-frameworks/kwindowsystem:6
+ kde-frameworks/kidletime:6
+ kde-frameworks/solid:6
+ =lxqt-base/liblxqt-${MY_PV}*:=
+ =lxqt-base/lxqt-globalkeys-${MY_PV}*
+ sys-power/upower
+"
+RDEPEND="${DEPEND}"
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}