summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-05-08 20:44:06 +0300
committerMatt Turner <mattst88@gentoo.org>2022-05-08 15:02:03 -0400
commite693630abbb748dc246b83f14eb89edfd3f5284e (patch)
tree6c7c290a11cc3155001f9b463473c52cc2054069 /net-libs/libnice
parentnet-libs/libnice: bump to 0.1.19 (diff)
downloadgentoo-e693630abbb748dc246b83f14eb89edfd3f5284e.tar.gz
gentoo-e693630abbb748dc246b83f14eb89edfd3f5284e.tar.bz2
gentoo-e693630abbb748dc246b83f14eb89edfd3f5284e.zip
net-libs/libnice: Add gtk-doc USE and generate API docs, 0.1.19
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25381 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-libs/libnice')
-rw-r--r--net-libs/libnice/libnice-0.1.19.ebuild9
1 files 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() {