commit:     6577e1d2bf56e0954eb0058e51e0b93a878d3323
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun May 19 21:45:31 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun May 19 23:42:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6577e1d2

app-emulation/qemu: introduce USE=doc

Closes: https://bugs.gentoo.org/684792
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 app-emulation/qemu/{qemu-4.0.0-r2.ebuild => qemu-4.0.0-r3.ebuild} | 6 +++---
 app-emulation/qemu/qemu-9999.ebuild                               | 5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/app-emulation/qemu/qemu-4.0.0-r2.ebuild 
b/app-emulation/qemu/qemu-4.0.0-r3.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 338b4117ba2..f513f387747 100644
--- a/app-emulation/qemu/qemu-4.0.0-r2.ebuild
+++ b/app-emulation/qemu/qemu-4.0.0-r3.ebuild
@@ -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)
        )

diff --git a/app-emulation/qemu/qemu-9999.ebuild 
b/app-emulation/qemu/qemu-9999.ebuild
index e765af785c6..c67b7be0387 100644
--- a/app-emulation/qemu/qemu-9999.ebuild
+++ b/app-emulation/qemu/qemu-9999.ebuild
@@ -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)
        )

Reply via email to