summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-power-manager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /xfce-extra/xfce4-power-manager
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'xfce-extra/xfce4-power-manager')
-rw-r--r--xfce-extra/xfce4-power-manager/Manifest6
-rw-r--r--xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6-r1.ebuild (renamed from xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6.ebuild)7
-rw-r--r--xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0-r1.ebuild (renamed from xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0.ebuild)7
-rw-r--r--xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.1.ebuild64
4 files changed, 80 insertions, 4 deletions
diff --git a/xfce-extra/xfce4-power-manager/Manifest b/xfce-extra/xfce4-power-manager/Manifest
index 463ce8608c13..c1057b1a3d59 100644
--- a/xfce-extra/xfce4-power-manager/Manifest
+++ b/xfce-extra/xfce4-power-manager/Manifest
@@ -1,5 +1,7 @@
DIST xfce4-power-manager-1.6.6.tar.bz2 1227814 BLAKE2B c5f9ca3ff1f7bbed8c534cbba43355a62734b6e1553f852740fe332545df910ecba07be249365f9815b2467226d67a41cdb740e99d4f547ee86abf2d014211f6 SHA512 c9377619df9ebab64ed234659e5798f47448e26fae5b19eb15bcbc9416df1afec6b4de32bc272b81531d2643a215ea46892523077017dc6b232bfe802dba6cd9
DIST xfce4-power-manager-1.7.0.tar.bz2 1235629 BLAKE2B bf6bd6c3ebfc86d199362168788b3d9b1ca2cd691a93a2cbab04415d7e68e11a3b1cb36328e8a974e504eb00282e584cc497ea4f7dcddb20e6854d06bef5ec7d SHA512 30c6c37ce278d869b73880bc33d04115086646850c8fc9129e4fbeb71b36d4bb7ce7ee1758ea804b42b3736ec6632f7bcd8e7806a00421e0e24ac8433e34ac24
-EBUILD xfce4-power-manager-1.6.6.ebuild 1399 BLAKE2B f88ea3eaddb102895859ce512eb394597e1728736fa80204a273bee13fa0a6743de02fa322ce5010223d80eef6123d79554c85423933eab4ccf311372c578494 SHA512 09da812510afe6af3f2281334a4906d59d1032c7421b2dff082a09bdc644003f454847b16b0e0f6d21720a366c68cc435831106fd51ef6b9708fe29f015a471c
-EBUILD xfce4-power-manager-1.7.0.ebuild 1404 BLAKE2B f7a9e297c9aa03bb85a0d75ce59417e49b61dee8d5d2c1b0cf81f2ddda06e29df051c6fd61848819520a41a3f7e6a74286870960a57fbaeaa31e68d1eecb8bcf SHA512 b9179e69a7e80dd730cc9039c7e08992a4aa200669b00eb939320ac6b650f76fde531d3ab6a1a5d2f0d01e096b11adeb7dde93f2e4510dce9ce99a836c037eb9
+DIST xfce4-power-manager-1.7.1.tar.bz2 1230284 BLAKE2B 7118f0a864bb50a2a9ed96da91d8196dd28c21f4b3e33a98226a7ad50f85bc81d5522255f454cccf9bf189acf2f3c45f7686580c2d6d397de740b77d277e13b2 SHA512 cc29902ee6f01983ba507c2ab961db4f2ae5e12539e954d58af3f71e85370243e252833cd835830a51d05e104316327ffc7af01fb09a436af2e00f4e06564785
+EBUILD xfce4-power-manager-1.6.6-r1.ebuild 1579 BLAKE2B a5099e14f0e92f9259dea685d0b7bb8bc36a802ad80affb9581245bac71e47891fb9b10646ebffa75cc17215df05005ab3b5477f04be3a63bdb28fd7e3259efd SHA512 8e72c72ad54e73b2a83cee5a95257f6272611b90ad2a1ecd801fdb5f8d9ae4b97ab3d53a7e42e2f44f3e96c7e106fa913d7bad58e728f8ed46d74ef18981b082
+EBUILD xfce4-power-manager-1.7.0-r1.ebuild 1584 BLAKE2B de945f7d84c0f0fdf52b06a6f062ea269d9cbd9b007ad7f4d741f5d547a4a57289806bb18b9dd5c44b10b6f11e102aab436d60c4c1e72f098c3b094b25eba9a9 SHA512 c8d3416d122a44cff9dbfe5cc3ec37c3470189bfffcb3e281045eb8b11a75dd507fd79ff4abcc03909962c24d517abd7938df2fa28e246f62816e417c7dab405
+EBUILD xfce4-power-manager-1.7.1.ebuild 1584 BLAKE2B de945f7d84c0f0fdf52b06a6f062ea269d9cbd9b007ad7f4d741f5d547a4a57289806bb18b9dd5c44b10b6f11e102aab436d60c4c1e72f098c3b094b25eba9a9 SHA512 c8d3416d122a44cff9dbfe5cc3ec37c3470189bfffcb3e281045eb8b11a75dd507fd79ff4abcc03909962c24d517abd7938df2fa28e246f62816e417c7dab405
MISC metadata.xml 360 BLAKE2B 74fb48a2ee62745a873e6c21670385e6f1108b6ae215e7ce6abb0f735a30559ee8cd5214bcdaaeca0a9a6b2372f1551ee7deea9018108a3f11a01c0497ec0f88 SHA512 bca73ff003a0d3845fc354775332c0edd0558ff5bcf27c562cc8c4f96e95210f197698d76b0ea898aa6ff4a12e5e22a589b62d28e196e679d4046e56f66ea744
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6-r1.ebuild
index 4b9aa22bbe90..641b2904d0af 100644
--- a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6.ebuild
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6-r1.ebuild
@@ -15,7 +15,6 @@ IUSE="kernel_linux networkmanager +panel-plugin policykit"
COMMON_DEPEND=">=dev-libs/glib-2.42
>=sys-power/upower-0.99.0
- sys-power/pm-utils
>=x11-libs/gtk+-3.14:3
>=x11-libs/libnotify-0.7
x11-libs/libX11
@@ -52,6 +51,12 @@ src_install() {
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() {
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0-r1.ebuild
index 9df144416fc2..3cc989ee9369 100644
--- a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0.ebuild
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0-r1.ebuild
@@ -15,7 +15,6 @@ IUSE="kernel_linux networkmanager +panel-plugin policykit"
COMMON_DEPEND=">=dev-libs/glib-2.42
>=sys-power/upower-0.99.0
- sys-power/pm-utils
>=x11-libs/gtk+-3.14:3
>=x11-libs/libnotify-0.7
x11-libs/libX11
@@ -52,6 +51,12 @@ src_install() {
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() {
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.1.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.1.ebuild
new file mode 100644
index 000000000000..3cc989ee9369
--- /dev/null
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit xdg-utils
+
+DESCRIPTION="Power manager for the Xfce desktop environment"
+HOMEPAGE="https://goodies.xfce.org/projects/applications/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 ~ppc ~ppc64 ~x86"
+IUSE="kernel_linux networkmanager +panel-plugin policykit"
+
+COMMON_DEPEND=">=dev-libs/glib-2.42
+ >=sys-power/upower-0.99.0
+ >=x11-libs/gtk+-3.14: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.12:=[gtk3(+)]
+ >=xfce-base/libxfce4util-4.12:=
+ panel-plugin? ( >=xfce-base/xfce4-panel-4.12:= )
+ policykit? ( >=sys-auth/polkit-0.112 )"
+RDEPEND="${COMMON_DEPEND}
+ networkmanager? ( net-misc/networkmanager )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+ x11-base/xorg-proto"
+
+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
+}