x11-libs/libnotify: add back gtk-doc support for devhelp
authorMart Raudsepp <leio@gentoo.org>
Wed, 25 Dec 2019 21:34:44 +0000 (23:34 +0200)
committerMart Raudsepp <leio@gentoo.org>
Wed, 25 Dec 2019 21:34:44 +0000 (23:34 +0200)
Package-Manager: Portage-2.3.79, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
x11-libs/libnotify/libnotify-0.7.8.ebuild

index 1c11ad27b1e5dfda2f59e3c536469d5199225d7d..7f8ce624abc22dad945997d03e8b65d083ff47bb 100644 (file)
@@ -11,20 +11,22 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/libnotify"
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
-IUSE="+introspection test"
+IUSE="gtk-doc +introspection test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
        app-eselect/eselect-notify-send
        >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}]
        x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-       introspection? ( >=dev-libs/gobject-introspection-1.32:= )
+       introspection? ( >=dev-libs/gobject-introspection-1.54:= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
        >=dev-libs/gobject-introspection-common-1.32
        dev-util/glib-utils
        virtual/pkgconfig
+       gtk-doc? ( dev-util/gtk-doc
+               app-text/docbook-xml-dtd:4.1.2 )
        test? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
 "
 PDEPEND="virtual/notification-daemon"
@@ -38,7 +40,7 @@ multilib_src_configure() {
        local emesonargs=(
                -Dtests="$(usex test true false)"
                -Dintrospection="$(multilib_native_usex introspection enabled disabled)"
-               -Dgtk_doc=false
+               -Dgtk_doc=$(multilib_native_usex gtk-doc true false)
                -Ddocbook_docs=disabled
        )
        meson_src_configure