summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-01-27 20:32:57 +0200
committerMart Raudsepp <leio@gentoo.org>2020-01-27 20:33:07 +0200
commit09f358b3d2785e6d420840b7628c38820f620a42 (patch)
treee3ba96eeef42cf179f424763ca905d23219b1a4b
parentkde-misc/latte-dock: Drop 0.9.2 and 0.9.4 (diff)
downloadgentoo-09f358b3d2785e6d420840b7628c38820f620a42.tar.gz
gentoo-09f358b3d2785e6d420840b7628c38820f620a42.tar.bz2
gentoo-09f358b3d2785e6d420840b7628c38820f620a42.zip
dev-lang/orc: add USE=gtk-doc, other ebuild touchups
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
-rw-r--r--dev-lang/orc/orc-0.4.31.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/dev-lang/orc/orc-0.4.31.ebuild b/dev-lang/orc/orc-0.4.31.ebuild
index 80391fff7cf..024578c7326 100644
--- a/dev-lang/orc/orc-0.4.31.ebuild
+++ b/dev-lang/orc/orc-0.4.31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,20 +13,28 @@ LICENSE="BSD BSD-2"
SLOT="0"
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"
RESTRICT="!test? ( test )"
-IUSE="static-libs test"
+IUSE="gtk-doc static-libs test"
DEPEND=""
RDEPEND=""
+BDEPEND="
+ gtk-doc? (
+ dev-util/gtk-doc
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/docbook-xml-dtd:4.3 )
+"
multilib_src_configure() {
# FIXME: handle backends per arch? What about cross-compiling for the other arches?
local emesonargs=(
- $(meson_feature test tests)
-Ddefault_library=$(usex static-libs both shared)
-Dorc-backend=all
+ -Dorc-test=enabled # FIXME: always installs static library, bug 645232
-Dbenchmarks=disabled
-Dexamples=disabled
- -Dgtk_doc=disabled
+ $(meson_feature gtk-doc gtk_doc)
+ $(meson_feature test tests)
+ -Dtools=enabled # requires orc-test
)
meson_src_configure
}