commit:     d5c682512ef83ed90f9c5465d2d15cd1c266db79
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  1 07:39:42 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  9 21:41:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c68251

app-office/orage: Replace XFCE_PLUGINS with a local flag

 app-office/orage/metadata.xml           | 4 ++++
 app-office/orage/orage-4.12.1-r1.ebuild | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-office/orage/metadata.xml b/app-office/orage/metadata.xml
index 359901b31db..71878d4da92 100644
--- a/app-office/orage/metadata.xml
+++ b/app-office/orage/metadata.xml
@@ -5,4 +5,8 @@
     <email>x...@gentoo.org</email>
     <name>XFCE Team</name>
   </maintainer>
+  <use>
+    <flag name='clock-panel-plugin'>Build the clock plugin for the XFCE
+      panel</flag>
+  </use>
 </pkgmetadata>

diff --git a/app-office/orage/orage-4.12.1-r1.ebuild 
b/app-office/orage/orage-4.12.1-r1.ebuild
index 85276d99385..e9b09f692ec 100644
--- a/app-office/orage/orage-4.12.1-r1.ebuild
+++ b/app-office/orage/orage-4.12.1-r1.ebuild
@@ -12,15 +12,15 @@ SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="berkdb dbus libnotify +xfce_plugins_clock"
+IUSE="berkdb +clock-panel-plugin dbus libnotify"
 
 RDEPEND=">=dev-libs/libical-0.48:=
        dev-libs/popt:=
        >=x11-libs/gtk+-2.10:2=
        berkdb? ( >=sys-libs/db-4:= )
+       clock-panel-plugin? ( >=xfce-base/xfce4-panel-4.10:= )
        dbus? ( >=dev-libs/dbus-glib-0.100:= )
-       libnotify? ( >=x11-libs/libnotify-0.7:= )
-       xfce_plugins_clock? ( >=xfce-base/xfce4-panel-4.10:= )"
+       libnotify? ( >=x11-libs/libnotify-0.7:= )"
 DEPEND="${RDEPEND}
        dev-util/intltool
        sys-devel/gettext
@@ -31,7 +31,7 @@ src_configure() {
        local myconf=(
                --libexecdir="${EPREFIX}/usr/$(get_libdir)"
                --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
-               $(use_enable xfce_plugins_clock libxfce4panel)
+               $(use_enable clock-panel-plugin libxfce4panel)
                $(use_enable dbus)
                $(use_enable libnotify)
                $(use_with berkdb bdb4)

Reply via email to