summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-07-27 09:58:40 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-08-08 12:04:04 +0300
commit6313bdad058b1afedd73ce8cf137eb4876c43fb0 (patch)
tree5961f6f8e8d29b0c5a494953d8d9428e71b9fc75 /dev-libs/json-c/json-c-9999.ebuild
parentdev-libs/json-c: bump to 0.15 (diff)
downloadgentoo-6313bdad058b1afedd73ce8cf137eb4876c43fb0.tar.gz
gentoo-6313bdad058b1afedd73ce8cf137eb4876c43fb0.tar.bz2
gentoo-6313bdad058b1afedd73ce8cf137eb4876c43fb0.zip
dev-libs/json-c: update live ebuild
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/16848 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/json-c/json-c-9999.ebuild')
-rw-r--r--dev-libs/json-c/json-c-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/json-c/json-c-9999.ebuild b/dev-libs/json-c/json-c-9999.ebuild
index b39b8ba779c5..effac5b4d6ca 100644
--- a/dev-libs/json-c/json-c-9999.ebuild
+++ b/dev-libs/json-c/json-c-9999.ebuild
@@ -14,6 +14,8 @@ LICENSE="MIT"
SLOT="0/5"
IUSE="cpu_flags_x86_rdrand doc static-libs threads"
+BDEPEND="doc? ( >=app-doc/doxygen-1.8.13 )"
+
MULTILIB_WRAPPED_HEADERS=(
/usr/include/json-c/config.h
)
@@ -24,7 +26,6 @@ src_prepare() {
multilib_src_configure() {
local mycmakeargs=(
- -DBUILD_DOCUMENTATION=$(multilib_native_usex doc)
-DDISABLE_WERROR=ON
-DENABLE_THREADING=$(usex threads)
-DENABLE_RDRAND=$(usex cpu_flags_x86_rdrand)
@@ -36,6 +37,7 @@ multilib_src_configure() {
multilib_src_compile() {
cmake_src_compile
+ use doc && doxygen doc/Doxyfile
}
multilib_src_test() {
@@ -43,6 +45,6 @@ multilib_src_test() {
}
multilib_src_install_all() {
- use doc && HTML_DOCS=( "${S}"/doc/html/. )
+ use doc && HTML_DOCS=( "${BUILD_DIR}-abi_x86_64.amd64"/doc/html/. )
einstalldocs
}