commit: 1a1bcd0dd594eb5234a945e5d024f3993457bd10 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jul 1 07:17:57 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jul 1 07:56:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1bcd0d
xfce-extra/xfce4-power-manager: Bump to 1.6.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> xfce-extra/xfce4-power-manager/Manifest | 1 + .../xfce4-power-manager-1.6.3.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/xfce-extra/xfce4-power-manager/Manifest b/xfce-extra/xfce4-power-manager/Manifest index 1b45e392cb2..7e8334dddfb 100644 --- a/xfce-extra/xfce4-power-manager/Manifest +++ b/xfce-extra/xfce4-power-manager/Manifest @@ -1,2 +1,3 @@ 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 +DIST xfce4-power-manager-1.6.3.tar.bz2 1216971 BLAKE2B 872011a6d18841aa7b9cfee3b9aa91e75b7db95a77dd8ac3484ebdc5d289c375a7c805d8638650e72870b8eaddd71bfac74a5e3f568b8ca1366160c972c61cc4 SHA512 4a3c629bf14b3214d57df9b9a5fc77ec675e02c300c508525634bcaf38d94ab0f6e125ea5ec7bd41c1d0c3d065dfb3ab1937ee7f1006adc0093142f466950c6b diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.3.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.3.ebuild new file mode 100644 index 00000000000..0b53dac061a --- /dev/null +++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 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="~amd64 ~arm ~ppc ~ppc64 ~x86" +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:= + >=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 +} + +pkg_postrm() { + xdg_icon_cache_update +}