diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-05-17 15:55:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-05-17 15:55:03 +0200 |
commit | e28d1ef30cff9944631ad53c06722398efc0010d (patch) | |
tree | e499bf97445e6236404200509ed0f719ae03b2c4 /xfce-extra | |
parent | xfce-base/xfce4-panel: Bump to 4.13.5 (diff) | |
download | gentoo-e28d1ef30cff9944631ad53c06722398efc0010d.tar.gz gentoo-e28d1ef30cff9944631ad53c06722398efc0010d.tar.bz2 gentoo-e28d1ef30cff9944631ad53c06722398efc0010d.zip |
xfce-extra/xfce4-power-manager: Bump to 1.6.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r-- | xfce-extra/xfce4-power-manager/Manifest | 1 | ||||
-rw-r--r-- | xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.2.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-power-manager/Manifest b/xfce-extra/xfce4-power-manager/Manifest index b59cebfdcf63..1b45e392cb27 100644 --- a/xfce-extra/xfce4-power-manager/Manifest +++ b/xfce-extra/xfce4-power-manager/Manifest @@ -1 +1,2 @@ DIST xfce4-power-manager-1.6.1.tar.bz2 1180710 BLAKE2B bffb5f00a42a3242a0b9d35b48fe6d9813d3292757844e911a8e71d05cb59f2f91d93ab5a77ac15ae35c90ccfa60ce39db23bc94a0350232538c8621fec4473f SHA512 b81ce1b35892a6cd0b1d4fb590ccc25b906cde6f782de2fffbe78ea89e00df15e51ea1f47576c173b7512cd617f5142868fca8cf81519b6fe165a5ecc67a5478 +DIST xfce4-power-manager-1.6.2.tar.bz2 1212990 BLAKE2B d037c7fa9fae435c508d6d1656d191d763e7369938dc7158c7c8910a161f98fa20926bdd088a3a65c73e20b536150b12db883915ae95059edcd10c307c344037 SHA512 d1c475ad3cf194c19a2ad1decc4c80a9f504d74b64dec71887c14c576cd5a2932799cd0068f6356a15590fa67c6d0434401ad36b7a2fa6a3b62d51290cd7b68c diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.2.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.2.ebuild new file mode 100644 index 000000000000..2307374a5d75 --- /dev/null +++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-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="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="debug 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:= + >=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() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |