1 |
commit: e693630abbb748dc246b83f14eb89edfd3f5284e |
2 |
Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 8 17:44:06 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 8 19:02:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e693630a |
7 |
|
8 |
net-libs/libnice: Add gtk-doc USE and generate API docs, 0.1.19 |
9 |
|
10 |
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/25381 |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
net-libs/libnice/libnice-0.1.19.ebuild | 9 ++++----- |
15 |
1 file changed, 4 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/libnice/libnice-0.1.19.ebuild b/net-libs/libnice/libnice-0.1.19.ebuild |
18 |
index 331cc388a3b3..228a38e0d2ee 100644 |
19 |
--- a/net-libs/libnice/libnice-0.1.19.ebuild |
20 |
+++ b/net-libs/libnice/libnice-0.1.19.ebuild |
21 |
@@ -11,7 +11,7 @@ SRC_URI="https://nice.freedesktop.org/releases/${P}.tar.gz" |
22 |
LICENSE="|| ( MPL-1.1 LGPL-2.1 )" |
23 |
SLOT="0" |
24 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
25 |
-IUSE="+gnutls +introspection +upnp" |
26 |
+IUSE="+gnutls gtk-doc +introspection +upnp" |
27 |
|
28 |
RDEPEND=" |
29 |
>=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}] |
30 |
@@ -25,6 +25,8 @@ DEPEND="${RDEPEND}" |
31 |
BDEPEND=" |
32 |
dev-util/glib-utils |
33 |
virtual/pkgconfig |
34 |
+ gtk-doc? ( dev-util/gtk-doc |
35 |
+ app-text/docbook-xml-dtd:4.1.2 ) |
36 |
" |
37 |
|
38 |
multilib_src_configure() { |
39 |
@@ -34,13 +36,10 @@ multilib_src_configure() { |
40 |
-Dcrypto-library=$(usex gnutls gnutls openssl) |
41 |
$(meson_native_use_feature introspection) |
42 |
$(meson_feature upnp gupnp) |
43 |
+ $(meson_native_use_feature gtk-doc gtk_doc) |
44 |
) |
45 |
|
46 |
meson_src_configure |
47 |
- |
48 |
- #if multilib_is_native_abi; then |
49 |
- # ln -s {"${S}"/,}docs/reference/libnice/html || die |
50 |
- #fi |
51 |
} |
52 |
|
53 |
multilib_src_install_all() { |