diff options
author | Jason Zaman <perfinion@gentoo.org> | 2024-06-09 10:15:30 -0700 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2024-06-09 10:17:59 -0700 |
commit | e5236f09fb9d75cb4368e1ce24ea8fefb1fcfd9a (patch) | |
tree | c638fa430abd64c445c52dbf833ed5df5e86d4e4 /xfce-base/xfce4-power-manager | |
parent | virtual/perl-Module-CoreList: drop 5.202.405.240, 5.202.406.40 (diff) | |
download | gentoo-e5236f09fb9d75cb4368e1ce24ea8fefb1fcfd9a.tar.gz gentoo-e5236f09fb9d75cb4368e1ce24ea8fefb1fcfd9a.tar.bz2 gentoo-e5236f09fb9d75cb4368e1ce24ea8fefb1fcfd9a.zip |
xfce-base/xfce4-power-manager: add 4.18.4
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'xfce-base/xfce4-power-manager')
-rw-r--r-- | xfce-base/xfce4-power-manager/Manifest | 1 | ||||
-rw-r--r-- | xfce-base/xfce4-power-manager/xfce4-power-manager-4.18.4.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/xfce-base/xfce4-power-manager/Manifest b/xfce-base/xfce4-power-manager/Manifest index 8211f193bc72..a638d97841fb 100644 --- a/xfce-base/xfce4-power-manager/Manifest +++ b/xfce-base/xfce4-power-manager/Manifest @@ -1,3 +1,4 @@ DIST xfce4-power-manager-4.18.3.tar.bz2 1244867 BLAKE2B a028f556f485f51668ab46ac246e07d9e94376aa1609d1c6a08e159df749bc8e37819ecdcfd09e6d2edbcb72441c06a310a4ce2f6ca1f109dd6e5b9da7d9072f SHA512 97f198ed78c3a13c5e64f0551d49533ac2efe0c719f4360eab94736790b225411b347a8524e8a2d7e28b14e546df6133df5273c80d8e0eb5766145782e1412fb +DIST xfce4-power-manager-4.18.4.tar.bz2 1241669 BLAKE2B 7fe0caca8ed87d1178bc2feb6704b7415ba03c2630962798e949e7d6e13956eee26dfd5bdd098d765a28776896e1881d3bf7913f48c6187cf372379300680185 SHA512 829151b99c279a01037544e8a0a2bbe3cb4c1ec90d8943b3159947d819f94e8f73a8e73db255e1151ca59278583a28448b00d6fc002bd1f8a724c1c16c44fb1b DIST xfce4-power-manager-4.19.2.tar.bz2 1506787 BLAKE2B f9ceaabaaad09f236bf7f391f3f84fe614aa2e95468204a64a6d96da580d4c249565486ca4a89be09ee14f8dc849d6393ab731a6ac50d24c689e99e3da6a59ac SHA512 3a1f43df4a980d72022f61252e5c5a1d65a424ecbf7d588fe87d24f364d6a748f4d5f107e6af973654d9a70557d4ccd639d1365c0ae88a6327ac16351c66be50 DIST xfce4-power-manager-4.19.3.tar.bz2 1513388 BLAKE2B dfdad39878e9ee1181053ebbd8248bc7eb9ddccb6bb156d8d6093bcaab657549fc182db5ec766c968dd7a1534c7e3131d468a8cba0876f34b6a61ff8012a6b3e SHA512 984dfc52f4863bf9c9e05e5ae021c4146e5a2f7edff39582d676717073123937980387c1712ce4657c8a4816caf59f73d9e1fd3fa4c54e37ad46c2233f528f23 diff --git a/xfce-base/xfce4-power-manager/xfce4-power-manager-4.18.4.ebuild b/xfce-base/xfce4-power-manager/xfce4-power-manager-4.18.4.ebuild new file mode 100644 index 000000000000..657e51a279b1 --- /dev/null +++ b/xfce-base/xfce4-power-manager/xfce4-power-manager-4.18.4.ebuild @@ -0,0 +1,75 @@ +# 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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="networkmanager +panel-plugin policykit" + +DEPEND=" + >=dev-libs/glib-2.66.0 + >=sys-power/upower-0.99.0 + >=x11-libs/gtk+-3.24.0:3 + >=x11-libs/libnotify-0.7 + x11-libs/libX11 + >=x11-libs/libXrandr-1.2 + x11-libs/libXext + x11-libs/libXtst + >=xfce-base/xfconf-4.12:= + >=xfce-base/libxfce4ui-4.18.4:=[gtk3(+)] + >=xfce-base/libxfce4util-4.12:= + panel-plugin? ( >=xfce-base/xfce4-panel-4.12:= ) + policykit? ( >=sys-auth/polkit-0.112 ) +" +RDEPEND=" + ${DEPEND} + networkmanager? ( net-misc/networkmanager ) +" +DEPEND+=" + x11-base/xorg-proto +" +BDEPEND=" + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + local myconf=( + $(use_enable policykit polkit) + $(use_enable networkmanager network-manager) + $(use_enable panel-plugin xfce4panel) + ) + + 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 +} |