xfce-base/thunar: Replace XFCE_PLUGINS with a local flag
authorMichał Górny <mgorny@gentoo.org>
Sat, 1 Jul 2017 07:14:14 +0000 (09:14 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Jul 2017 21:41:17 +0000 (23:41 +0200)
xfce-base/thunar/metadata.xml
xfce-base/thunar/thunar-1.6.12.ebuild

index 359901b31db49298a74c801cf70f8a4560fe84ca..d844c26059c60eeae88b39cb8c3df2d1fab5c64c 100644 (file)
@@ -5,4 +5,8 @@
     <email>xfce@gentoo.org</email>
     <name>XFCE Team</name>
   </maintainer>
+  <use>
+    <flag name='trash-panel-plugin'>Build the trash status indicator plugin for
+      the XFCE panel</flag>
+  </use>
 </pkgmetadata>
index d3c8bd2df7b19bf159ab8d33e8cb8b02843a5bae..1081996ccfd5208a8a44b4ee337a462ec5e7cf1e 100644 (file)
@@ -13,7 +13,7 @@ SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${MY_P}.tar.bz2"
 LICENSE="GPL-2 LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="+dbus exif libnotify pcre test udisks +xfce_plugins_trash"
+IUSE="+dbus exif libnotify pcre test +trash-panel-plugin udisks"
 
 GVFS_DEPEND=">=gnome-base/gvfs-1.18.3"
 COMMON_DEPEND=">=dev-lang/perl-5.6
@@ -28,22 +28,22 @@ COMMON_DEPEND=">=dev-lang/perl-5.6
        exif? ( >=media-libs/libexif-0.6.19:= )
        libnotify? ( >=x11-libs/libnotify-0.7:= )
        pcre? ( >=dev-libs/libpcre-6:= )
-       udisks? ( virtual/libgudev:= )
-       xfce_plugins_trash? ( >=xfce-base/xfce4-panel-4.10:= )"
+       trash-panel-plugin? ( >=xfce-base/xfce4-panel-4.10:= )
+       udisks? ( virtual/libgudev:= )"
 RDEPEND="${COMMON_DEPEND}
        >=dev-util/desktop-file-utils-0.20-r1
        x11-misc/shared-mime-info
        dbus? ( ${GVFS_DEPEND} )
+       trash-panel-plugin? ( ${GVFS_DEPEND} )
        udisks? (
                virtual/udev
                ${GVFS_DEPEND}[udisks,udev]
-               )
-       xfce_plugins_trash? ( ${GVFS_DEPEND} )"
+               )"
 DEPEND="${COMMON_DEPEND}
        dev-util/intltool
        sys-devel/gettext
        virtual/pkgconfig"
-REQUIRED_USE="xfce_plugins_trash? ( dbus )"
+REQUIRED_USE="trash-panel-plugin? ( dbus )"
 
 S=${WORKDIR}/${MY_P}
 
@@ -56,7 +56,7 @@ src_configure() {
                $(use_enable libnotify notifications)
                $(use_enable exif)
                $(use_enable pcre)
-               $(use_enable xfce_plugins_trash tpa-plugin)
+               $(use_enable trash-panel-plugin tpa-plugin)
        )
 
        econf "${myconf[@]}"