summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-04-15 18:59:02 +0000
committerJimi Huotari <chiitoo@gentoo.org>2023-04-18 01:05:50 +0300
commitad5726b60eba5a0311a374cec87fbdd0651b5841 (patch)
tree52c167d9dee96a0af29cf09d47f2c0c893af0d2c /lxqt-base/lxqt-powermanagement
parentlxqt-base/lxqt-policykit: add 1.3.0 (diff)
downloadgentoo-ad5726b60eba5a0311a374cec87fbdd0651b5841.tar.gz
gentoo-ad5726b60eba5a0311a374cec87fbdd0651b5841.tar.bz2
gentoo-ad5726b60eba5a0311a374cec87fbdd0651b5841.zip
lxqt-base/lxqt-powermanagement: add 1.3.0
Signed-off-by: Michael Vetter <jubalh@iodoru.org> 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-1.3.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-powermanagement/Manifest b/lxqt-base/lxqt-powermanagement/Manifest
index 2097baab4595..b11324d11115 100644
--- a/lxqt-base/lxqt-powermanagement/Manifest
+++ b/lxqt-base/lxqt-powermanagement/Manifest
@@ -1 +1,2 @@
DIST lxqt-powermanagement-1.2.0.tar.xz 89440 BLAKE2B a608878a205fa08cbb517f133def3bd25e878dcca622f586fe1491f593610ff910e1e986a83c3bbdd9657fafd2f1854a8094f53060f4b7576cf8ebe27a65280a SHA512 5aa3f4413ff5acac7a75d0893628302df50fdf7752ac7d4e9f6a7cf83a8f2860a8bff858c1cebbd2ed44e8adf0887b64aec7d2203a5fef9a54d5fe11b64176c9
+DIST lxqt-powermanagement-1.3.0.tar.xz 91852 BLAKE2B 28deb2120974a000333bba6bc5b9922abb40f2fd0efde07d8a8cf32c2c7172e796107f4b0c3a9332ff4f179fb02a2ecd7e856dfd746d85eaf8a627ce897c2e7c SHA512 79891ba791a167c8b4b27acd309908b0badafcf273aca880c4db592b776d8672d240bc8d4a9552cb83195a9a9929e5b1722a6d20be3ea810c3dcb61dc83fd323
diff --git a/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-1.3.0.ebuild b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-1.3.0.ebuild
new file mode 100644
index 000000000000..cf70d933a82a
--- /dev/null
+++ b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-1.3.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 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 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2.1 LGPL-2.1+"
+SLOT="0"
+
+BDEPEND="
+ >=dev-qt/linguist-tools-5.15:5
+ >=dev-util/lxqt-build-tools-0.13.0
+ virtual/pkgconfig
+"
+DEPEND="
+ >=dev-libs/libqtxdg-3.11.0
+ >=dev-qt/qtcore-5.15:5
+ >=dev-qt/qtdbus-5.15:5
+ >=dev-qt/qtgui-5.15:5
+ >=dev-qt/qtsvg-5.15:5
+ >=dev-qt/qtwidgets-5.15:5
+ kde-frameworks/kwindowsystem:5
+ kde-frameworks/kidletime:5
+ kde-frameworks/solid:5
+ =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
+}