commit: e28d1ef30cff9944631ad53c06722398efc0010d Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri May 17 13:55:03 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri May 17 13:55:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28d1ef3
xfce-extra/xfce4-power-manager: Bump to 1.6.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> xfce-extra/xfce4-power-manager/Manifest | 1 + .../xfce4-power-manager-1.6.2.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/xfce-extra/xfce4-power-manager/Manifest b/xfce-extra/xfce4-power-manager/Manifest index b59cebfdcf6..1b45e392cb2 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 00000000000..2307374a5d7 --- /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 +}