commit:     e693630abbb748dc246b83f14eb89edfd3f5284e
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sun May  8 17:44:06 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun May  8 19:02:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e693630a

net-libs/libnice: Add gtk-doc USE and generate API docs, 0.1.19

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25381
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-libs/libnice/libnice-0.1.19.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/net-libs/libnice/libnice-0.1.19.ebuild 
b/net-libs/libnice/libnice-0.1.19.ebuild
index 331cc388a3b3..228a38e0d2ee 100644
--- a/net-libs/libnice/libnice-0.1.19.ebuild
+++ b/net-libs/libnice/libnice-0.1.19.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://nice.freedesktop.org/releases/${P}.tar.gz";
 LICENSE="|| ( MPL-1.1 LGPL-2.1 )"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+gnutls +introspection +upnp"
+IUSE="+gnutls gtk-doc +introspection +upnp"
 
 RDEPEND="
        >=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}]
@@ -25,6 +25,8 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        dev-util/glib-utils
        virtual/pkgconfig
+       gtk-doc? ( dev-util/gtk-doc
+               app-text/docbook-xml-dtd:4.1.2 )
 "
 
 multilib_src_configure() {
@@ -34,13 +36,10 @@ multilib_src_configure() {
                -Dcrypto-library=$(usex gnutls gnutls openssl)
                $(meson_native_use_feature introspection)
                $(meson_feature upnp gupnp)
+               $(meson_native_use_feature gtk-doc gtk_doc)
        )
 
        meson_src_configure
-
-       #if multilib_is_native_abi; then
-       #       ln -s {"${S}"/,}docs/reference/libnice/html || die
-       #fi
 }
 
 multilib_src_install_all() {

Reply via email to