app-emulation/qemu: introduce USE=doc
authorMatthias Maier <tamiko@gentoo.org>
Sun, 19 May 2019 21:45:31 +0000 (16:45 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sun, 19 May 2019 23:42:10 +0000 (18:42 -0500)
Closes: https://bugs.gentoo.org/684792
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/qemu/qemu-4.0.0-r3.ebuild [moved from app-emulation/qemu/qemu-4.0.0-r2.ebuild with 99% similarity]
app-emulation/qemu/qemu-9999.ebuild

similarity index 99%
rename from app-emulation/qemu/qemu-4.0.0-r2.ebuild
rename to app-emulation/qemu/qemu-4.0.0-r3.ebuild
index 338b4117ba2a2e3d08493d6f1ac191ad4664841e..f513f3877479ac9bd1ba1eb17ae17d4ad28d1d39 100644 (file)
@@ -27,7 +27,7 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
 
 LICENSE="GPL-2 LGPL-2 BSD-2"
 SLOT="0"
-IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug
+IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug +doc
        +fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux
        kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
        pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy
@@ -171,9 +171,9 @@ PPC64_FIRMWARE_DEPEND="
 BDEPEND="
        ${PYTHON_DEPS}
        dev-lang/perl
-       dev-python/sphinx
        sys-apps/texinfo
        virtual/pkgconfig
+       doc? ( dev-python/sphinx )
        gtk? ( nls? ( sys-devel/gettext ) )
        test? (
                dev-libs/glib[utils]
@@ -407,7 +407,7 @@ qemu_src_configure() {
                --host-cc="$(tc-getBUILD_CC)"
                $(use_enable debug debug-info)
                $(use_enable debug debug-tcg)
-               --enable-docs
+               $(use_enable doc docs)
                $(use_enable tci tcg-interpreter)
                $(use_enable xattr attr)
        )
index e765af785c68201d180768714d51bf2fced7e8a4..c67b7be03874c15d8a6644264409b25563048025 100644 (file)
@@ -27,7 +27,7 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
 
 LICENSE="GPL-2 LGPL-2 BSD-2"
 SLOT="0"
-IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug
+IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug +doc
        +fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux
        kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
        pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy
@@ -174,6 +174,7 @@ BDEPEND="
        dev-python/sphinx
        sys-apps/texinfo
        virtual/pkgconfig
+       doc? ( dev-python/sphinx )
        gtk? ( nls? ( sys-devel/gettext ) )
        test? (
                dev-libs/glib[utils]
@@ -405,7 +406,7 @@ qemu_src_configure() {
                --host-cc="$(tc-getBUILD_CC)"
                $(use_enable debug debug-info)
                $(use_enable debug debug-tcg)
-               --enable-docs
+               $(use_enable doc docs)
                $(use_enable tci tcg-interpreter)
                $(use_enable xattr attr)
        )