gnome-base/gvfs: add "google" USE flag that makes the libgdata dep optional
authorPatrick McLean <chutzpah@gentoo.org>
Fri, 20 Nov 2015 18:07:27 +0000 (10:07 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Fri, 20 Nov 2015 18:07:49 +0000 (10:07 -0800)
This fixes bug 566294

Package-Manager: portage-2.2.24

gnome-base/gvfs/gvfs-1.26.2.ebuild
gnome-base/gvfs/metadata.xml

index edab684f779e6ee3b3b6e08b07a55709038626cc..b0dcce115568a1b374328a02f42d0b5ce30926d2 100644 (file)
@@ -14,7 +14,7 @@ HOMEPAGE="https://git.gnome.org/browse/gvfs"
 LICENSE="LGPL-2+"
 SLOT="0"
 
-IUSE="afp archive bluray cdda fuse gnome-keyring gnome-online-accounts gphoto2 gtk +http ios mtp nfs samba systemd test +udev udisks zeroconf"
+IUSE="afp archive bluray cdda fuse +google gnome-keyring gnome-online-accounts gphoto2 gtk +http ios mtp nfs samba systemd test +udev udisks zeroconf"
 REQUIRED_USE="
        cdda? ( udev )
        mtp? ( udev )
@@ -29,7 +29,6 @@ RDEPEND="
        >=dev-libs/glib-2.45.7:2
        sys-apps/dbus
        dev-libs/libxml2:2
-       >=dev-libs/libgdata-0.17.3:=[gnome]
        net-misc/openssh
        afp? ( >=dev-libs/libgcrypt-1.2.2:0= )
        archive? ( app-arch/libarchive:= )
@@ -37,6 +36,7 @@ RDEPEND="
        fuse? ( >=sys-fs/fuse-2.8.0 )
        gnome-keyring? ( app-crypt/libsecret )
        gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1 )
+       google? ( >=dev-libs/libgdata-0.17.3:=[gnome] )
        gphoto2? ( >=media-libs/libgphoto2-2.4.7:= )
        gtk? ( >=x11-libs/gtk+-3.0:3 )
        http? ( >=net-libs/libsoup-2.42:2.4 )
@@ -109,6 +109,7 @@ src_configure() {
                $(use_enable fuse) \
                $(use_enable gnome-keyring keyring) \
                $(use_enable gnome-online-accounts goa) \
+               $(use_enable google) \
                $(use_enable gphoto2) \
                $(use_enable gtk) \
                $(use_enable ios afc) \
index 93e236daeec9960dbe4d3091f8a3abf38aa14e2a..89339791ff3eb76303261dd5d8c17ba95afb4e20 100644 (file)
@@ -15,6 +15,7 @@ applications not using gio to access the gvfs filesystems.
        <flag name='bluray'>Enable playback of Blu-ray filesystems using <pkg>media-libs/libbluray</pkg></flag>
        <flag name='fuse'>Enables fuse mount points in $HOME/.gvfs for legacy application access</flag>
        <flag name='gnome-online-accounts'>Enable configuration panel for <pkg>net-libs/gnome-online-accounts</pkg> accounts</flag>
+       <flag name='google'>Enables support for accessing Google accounts via <pkg>dev-libs/libgdata</pkg></flag>
        <flag name='http'>Enable the HTTP/DAV backend using <pkg>net-libs/libsoup-gnome</pkg></flag>
        <flag name='libsecret'>Enable <pkg>app-crypt/libsecret</pkg> support to store login credentials.</flag>
        <flag name="nfs">Enable NFS client support via <pkg>net-fs/libnfs</pkg>.</flag>