net-misc/spice-gtk: remove USE=doc and follow general gtk-docs policy
authorMatthias Maier <tamiko@gentoo.org>
Tue, 2 Aug 2016 03:01:35 +0000 (22:01 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Tue, 2 Aug 2016 03:01:35 +0000 (22:01 -0500)
aka unconditionally install the html documentation

Package-Manager: portage-2.2.28

net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild [moved from net-misc/spice-gtk/spice-gtk-0.32.ebuild with 88% similarity]

similarity index 88%
rename from net-misc/spice-gtk/spice-gtk-0.32.ebuild
rename to net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild
index 19402ba514ec7bc5a645b852ec094f3173e0e783..2321487041083dfde52e64ce6a8a8c6c8418aafa 100644 (file)
@@ -17,7 +17,7 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="dbus doc gstreamer gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl"
+IUSE="dbus gstreamer gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl"
 
 REQUIRED_USE="
        ?? ( pulseaudio gstreamer )
@@ -116,16 +116,6 @@ src_configure() {
                --disable-werror \
                --enable-pie"
 
-       if use gtk3; then
-               myconf+=" \
-                       $(use_enable doc gtk-doc) \
-                       $(use_enable doc gtk-doc-html)"
-       else
-               myconf+=" \
-                       --disable-gtk-doc \
-                       --disable-gtk-doc-html"
-       fi
-
        econf ${myconf}
 }
 
@@ -138,8 +128,5 @@ src_install() {
        # Remove .la files if they're not needed
        use static-libs || prune_libtool_files
 
-       # Make sure no gtk-doc bits are installed for -doc
-       use doc || rm -rf "${ED}usr/share/gtk-doc"
-
        make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
 }