1 |
commit: 09f358b3d2785e6d420840b7628c38820f620a42 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 27 18:32:57 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 27 18:33:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f358b3 |
7 |
|
8 |
dev-lang/orc: add USE=gtk-doc, other ebuild touchups |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-lang/orc/orc-0.4.31.ebuild | 16 ++++++++++++---- |
14 |
1 file changed, 12 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-lang/orc/orc-0.4.31.ebuild b/dev-lang/orc/orc-0.4.31.ebuild |
17 |
index 80391fff7cf..024578c7326 100644 |
18 |
--- a/dev-lang/orc/orc-0.4.31.ebuild |
19 |
+++ b/dev-lang/orc/orc-0.4.31.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
@@ -13,20 +13,28 @@ LICENSE="BSD BSD-2" |
27 |
SLOT="0" |
28 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
29 |
RESTRICT="!test? ( test )" |
30 |
-IUSE="static-libs test" |
31 |
+IUSE="gtk-doc static-libs test" |
32 |
|
33 |
DEPEND="" |
34 |
RDEPEND="" |
35 |
+BDEPEND=" |
36 |
+ gtk-doc? ( |
37 |
+ dev-util/gtk-doc |
38 |
+ app-text/docbook-xml-dtd:4.1.2 |
39 |
+ app-text/docbook-xml-dtd:4.3 ) |
40 |
+" |
41 |
|
42 |
multilib_src_configure() { |
43 |
# FIXME: handle backends per arch? What about cross-compiling for the other arches? |
44 |
local emesonargs=( |
45 |
- $(meson_feature test tests) |
46 |
-Ddefault_library=$(usex static-libs both shared) |
47 |
-Dorc-backend=all |
48 |
+ -Dorc-test=enabled # FIXME: always installs static library, bug 645232 |
49 |
-Dbenchmarks=disabled |
50 |
-Dexamples=disabled |
51 |
- -Dgtk_doc=disabled |
52 |
+ $(meson_feature gtk-doc gtk_doc) |
53 |
+ $(meson_feature test tests) |
54 |
+ -Dtools=enabled # requires orc-test |
55 |
) |
56 |
meson_src_configure |
57 |
} |