x11-libs/gtk+: add USE=gtk-doc for full gtk-doc rebuild choice
authorMart Raudsepp <leio@gentoo.org>
Sun, 6 Jan 2019 11:24:32 +0000 (13:24 +0200)
committerMart Raudsepp <leio@gentoo.org>
Sun, 6 Jan 2019 12:41:54 +0000 (14:41 +0200)
The pregenerated gtk-doc somehow always fails to have pages for
the "Index of new symbols in 3.xx" chapters in gtk+, even
though the sections are generated for table of contents..

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
x11-libs/gtk+/gtk+-3.24.1.ebuild

index 1128a17bdeb953200a4ef92be5a07905537f0a76..9de6a53bb29c4dbde8a64109abf97d888ee6f4a2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.gtk.org/"
 
 LICENSE="LGPL-2+"
 SLOT="3"
-IUSE="aqua broadway cloudprint colord cups examples +introspection test vim-syntax wayland +X xinerama"
+IUSE="aqua broadway cloudprint colord cups examples gtk-doc +introspection test vim-syntax wayland +X xinerama"
 REQUIRED_USE="
        || ( aqua wayland X )
        xinerama? ( X )
@@ -70,6 +70,7 @@ DEPEND="${COMMON_DEPEND}
        >=dev-util/gdbus-codegen-2.48
        dev-util/glib-utils
        >=dev-util/gtk-doc-am-1.20
+       gtk-doc? ( >=dev-util/gtk-doc-1.20 )
        >=sys-devel/gettext-0.19.7[${MULTILIB_USEDEP}]
        virtual/pkgconfig[${MULTILIB_USEDEP}]
        X? ( x11-base/xorg-proto )
@@ -140,6 +141,7 @@ multilib_src_configure() {
                $(use_enable cloudprint) \
                $(use_enable colord) \
                $(use_enable cups cups auto) \
+               $(multilib_native_use_enable gtk-doc) \
                $(multilib_native_use_enable introspection) \
                $(use_enable wayland wayland-backend) \
                $(use_enable X x11-backend) \