summaryrefslogtreecommitdiff
path: root/xfce-base/xfce4-power-manager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
commitd4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch)
tree180032f5afeb689db6a270d612f3e3364ed8fd2b /xfce-base/xfce4-power-manager
parentc635a4b7ddb6105bfc6fef130b188a087726677b (diff)
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'xfce-base/xfce4-power-manager')
-rw-r--r--xfce-base/xfce4-power-manager/Manifest2
-rw-r--r--xfce-base/xfce4-power-manager/xfce4-power-manager-4.19.5.ebuild85
2 files changed, 87 insertions, 0 deletions
diff --git a/xfce-base/xfce4-power-manager/Manifest b/xfce-base/xfce4-power-manager/Manifest
index c438cc2e8471..8e8bf2fbc35a 100644
--- a/xfce-base/xfce4-power-manager/Manifest
+++ b/xfce-base/xfce4-power-manager/Manifest
@@ -1,7 +1,9 @@
DIST xfce4-power-manager-4.18.4.tar.bz2 1241669 BLAKE2B 7fe0caca8ed87d1178bc2feb6704b7415ba03c2630962798e949e7d6e13956eee26dfd5bdd098d765a28776896e1881d3bf7913f48c6187cf372379300680185 SHA512 829151b99c279a01037544e8a0a2bbe3cb4c1ec90d8943b3159947d819f94e8f73a8e73db255e1151ca59278583a28448b00d6fc002bd1f8a724c1c16c44fb1b
DIST xfce4-power-manager-4.19.3.tar.bz2 1513388 BLAKE2B dfdad39878e9ee1181053ebbd8248bc7eb9ddccb6bb156d8d6093bcaab657549fc182db5ec766c968dd7a1534c7e3131d468a8cba0876f34b6a61ff8012a6b3e SHA512 984dfc52f4863bf9c9e05e5ae021c4146e5a2f7edff39582d676717073123937980387c1712ce4657c8a4816caf59f73d9e1fd3fa4c54e37ad46c2233f528f23
DIST xfce4-power-manager-4.19.4.tar.bz2 1523085 BLAKE2B c12de53fe8048575f30eb93eacf27f1758cab078033ded834d40b3c6fbd2deaceba11628f90e8714ab8f6244f91d1a0b5c8b55c4ad9acef735096f6d210d0a39 SHA512 b82f2892a9ba1b9c21bb27aed655d59a05aeadedeec154c2682e7ab0ffdfbc0bd071d573dba1238e48e6b276e3b45628819fccbf27b38d8e845fa02e703812b0
+DIST xfce4-power-manager-4.19.5.tar.bz2 1524291 BLAKE2B dab545310bf94b8980b769fb0f114d79406dab1d6e6dbd37547c91f06e9e98267601b3b31a9929329fec369cd6589e72083c6f033510b2f2b18a5ee3dc290e23 SHA512 6dac3a2d087f51207211e20c55979cf16a8ab9bfdf662ef67c9b2047d8ad2d76808eb69bc9f1415559e125a8d8ec1616daa670986adc1a7426c4ab8cdd21daa2
EBUILD xfce4-power-manager-4.18.4.ebuild 1610 BLAKE2B f45c8187000ce39b5f5c5547e2a7bfbda9ef4bc602736dec0340fc170147b90f49c428a4fc315499dd2207b116c916e1f2fcc7e52c26ebe5d7d65e1b922bca58 SHA512 2f207145e0e7b699fe7b73a7359472eba6af5e8043724620c95ee4967d9320d146cfe6b50eb9f4e7a1b8db1216f37424e468992f315aba907cb7e09d853c287d
EBUILD xfce4-power-manager-4.19.3.ebuild 1788 BLAKE2B f29196f0595e8e8b8dac9ca662a3fbef6ff101ac307af752a4b078819ef569a9bd3b633d7017e7522ba792853129dfe0559a967b49023723eeb9df34d7141ecf SHA512 121874c0b057a6e285f6746093d88400b91c944b9b8a3e414b9b04b71dd89cafc3166291018996457c1dfdceafbc24d928ecc5d776c888b0e3242d0731ed9367
EBUILD xfce4-power-manager-4.19.4.ebuild 1788 BLAKE2B c746541bb939a35883d6b4e881b989ef7172c83c2cf88d537cfc5868ede4a8885a75cdaf46fe4f072130ad0c6b1e9bf5cd19d7b44632ba1a84557b7457e11409 SHA512 8bf3bb6d58895bee9ec9a771ff48a3aa9742d15fc9dc9863c9aa59c75535209fab79688eb5883e0fe86dded5c8bf3cbbf79e8b8d01acb79e32dec68f508e4aa0
+EBUILD xfce4-power-manager-4.19.5.ebuild 1788 BLAKE2B c746541bb939a35883d6b4e881b989ef7172c83c2cf88d537cfc5868ede4a8885a75cdaf46fe4f072130ad0c6b1e9bf5cd19d7b44632ba1a84557b7457e11409 SHA512 8bf3bb6d58895bee9ec9a771ff48a3aa9742d15fc9dc9863c9aa59c75535209fab79688eb5883e0fe86dded5c8bf3cbbf79e8b8d01acb79e32dec68f508e4aa0
MISC metadata.xml 361 BLAKE2B 0cd2ec9e6643d7379a8c37fc9ae3b3902396c94732182f4a3c7d50bef85e555c9d69b6c8ed13d127167c44e687d356b171f46d071acfa4c26b623835df9d94f6 SHA512 ca556c6a8e5df8b0e897fe64e04fdf23b23518b86db0e29568131d2d17329122f2aa012b2b2a7fb5811bd17a230c1d5a6065ce747532b4eb868cab4eb9d9dcd7
diff --git a/xfce-base/xfce4-power-manager/xfce4-power-manager-4.19.5.ebuild b/xfce-base/xfce4-power-manager/xfce4-power-manager-4.19.5.ebuild
new file mode 100644
index 000000000000..17c4915e7ea1
--- /dev/null
+++ b/xfce-base/xfce4-power-manager/xfce4-power-manager-4.19.5.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="Power manager for the Xfce desktop environment"
+HOMEPAGE="
+ https://docs.xfce.org/xfce/xfce4-power-manager/start
+ https://gitlab.xfce.org/xfce/xfce4-power-manager/
+"
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+panel-plugin policykit wayland X"
+REQUIRED_USE="|| ( wayland X )"
+
+DEPEND="
+ >=dev-libs/glib-2.72.0
+ >=sys-power/upower-0.99.10
+ >=x11-libs/gtk+-3.24.0:3[wayland?,X?]
+ >=x11-libs/libnotify-0.7.0
+ >=xfce-base/xfconf-4.12:=
+ >=xfce-base/libxfce4ui-4.18.4:=[gtk3(+)]
+ >=xfce-base/libxfce4util-4.19.2:=
+ panel-plugin? ( >=xfce-base/xfce4-panel-4.14.0:= )
+ policykit? ( >=sys-auth/polkit-0.102 )
+ wayland? (
+ >=dev-libs/wayland-1.20
+ )
+ X? (
+ >=x11-libs/libX11-1.6.7
+ >=x11-libs/libXrandr-1.5.0
+ >=x11-libs/libXext-1.0.0
+ x11-libs/libXtst
+ )
+"
+RDEPEND="
+ ${DEPEND}
+"
+DEPEND+="
+ x11-base/xorg-proto
+"
+BDEPEND="
+ dev-util/gdbus-codegen
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ wayland? (
+ >=dev-libs/wayland-protocols-1.25
+ >=dev-util/wayland-scanner-1.20
+ )
+"
+
+src_configure() {
+ local myconf=(
+ $(use_enable policykit polkit)
+ $(use_enable panel-plugin xfce4panel)
+ $(use_enable wayland)
+ $(use_enable X x11)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+
+ if ! has_version sys-apps/systemd && ! has_version sys-auth/elogind
+ then
+ elog "Suspend/hibernate support requires a logind provider installed"
+ elog "(sys-apps/systemd or sys-auth/elogind)"
+ fi
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}