commit:     8d16f752b76fa184ad86d940c941a7801e367aa5
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 17:20:52 2024 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 19:49:28 2024 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=8d16f752

lxqt-base/lxqt-powermanagement: add 2.0.0

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 lxqt-base/lxqt-powermanagement/Manifest            |  1 +
 .../lxqt-powermanagement-2.0.0.ebuild              | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/lxqt-base/lxqt-powermanagement/Manifest 
b/lxqt-base/lxqt-powermanagement/Manifest
new file mode 100644
index 00000000..72d0d687
--- /dev/null
+++ b/lxqt-base/lxqt-powermanagement/Manifest
@@ -0,0 +1 @@
+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 00000000..0bdb377f
--- /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
+}

Reply via email to