From e37fbbfe94df6e030a906b1fcba785f198d57031 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 1 Jul 2017 09:57:03 +0200 Subject: xfce-extra/xfce4-power-manager: Replace XFCE_PLUGINS with a local flag Closes: https://github.com/gentoo/gentoo/pull/5017 --- xfce-extra/xfce4-power-manager/metadata.xml | 4 ++++ .../xfce4-power-manager/xfce4-power-manager-1.6.0-r1.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'xfce-extra') diff --git a/xfce-extra/xfce4-power-manager/metadata.xml b/xfce-extra/xfce4-power-manager/metadata.xml index 359901b31db4..468e985aae47 100644 --- a/xfce-extra/xfce4-power-manager/metadata.xml +++ b/xfce-extra/xfce4-power-manager/metadata.xml @@ -5,4 +5,8 @@ xfce@gentoo.org XFCE Team + + Build the power management plugin for + the XFCE panel + diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.0-r1.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.0-r1.ebuild index 57dab16b09f2..31a2ef1fd5be 100644 --- a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.0-r1.ebuild +++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="debug kernel_linux networkmanager policykit systemd +xfce_plugins_power" +IUSE="debug kernel_linux networkmanager +panel-plugin policykit systemd" COMMON_DEPEND=">=dev-libs/glib-2.42:= >=sys-power/upower-0.99.0 @@ -26,11 +26,11 @@ COMMON_DEPEND=">=dev-libs/glib-2.42:= >=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 !systemd? ( sys-auth/consolekit ) - ) - xfce_plugins_power? ( >=xfce-base/xfce4-panel-4.12:= )" + )" RDEPEND="${COMMON_DEPEND} networkmanager? ( net-misc/networkmanager )" DEPEND="${COMMON_DEPEND} @@ -50,7 +50,7 @@ src_configure() { local myconf=( $(use_enable policykit polkit) $(use_enable networkmanager network-manager) - $(use_enable xfce_plugins_power xfce4panel) + $(use_enable panel-plugin xfce4panel) ) econf "${myconf[@]}" -- cgit v1.2.3-65-gdbad