app-office/orage: Replace XFCE_PLUGINS with a local flag
authorMichał Górny <mgorny@gentoo.org>
Sat, 1 Jul 2017 07:39:42 +0000 (09:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Jul 2017 21:41:18 +0000 (23:41 +0200)
app-office/orage/metadata.xml
app-office/orage/orage-4.12.1-r1.ebuild

index 359901b31db49298a74c801cf70f8a4560fe84ca..71878d4da925080d32965994463bf52a5810838a 100644 (file)
@@ -5,4 +5,8 @@
     <email>xfce@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>
index 85276d99385fee6d0858285abef559c1dcb0ee6b..e9b09f692ec29b905f944421075d77af69bcba07 100644 (file)
@@ -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)