Diff json-c-0.16-r1 with a json-c-0.17
/usr/portage/dev-libs/json-c/json-c-0.17.ebuild 2023-10-09 14:52:29.504368350 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="MIT" |
13 | 13 |
SLOT="0/5" |
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
15 |
IUSE="cpu_flags_x86_rdrand doc static-libs threads" |
|
16 | ||
17 |
BDEPEND="doc? ( >=app-doc/doxygen-1.8.13 )" |
|
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
15 |
IUSE="cpu_flags_x86_rdrand static-libs threads" |
|
18 | 16 | |
19 | 17 |
MULTILIB_WRAPPED_HEADERS=( |
20 | 18 |
/usr/include/json-c/config.h |
... | ... | |
22 | 20 | |
23 | 21 |
multilib_src_configure() { |
24 | 22 |
local mycmakeargs=( |
23 |
# apps are not installed, so disable unconditionally. |
|
24 |
# https://github.com/json-c/json-c/blob/json-c-0.17-20230812/apps/CMakeLists.txt#L119...L121 |
|
25 |
-DBUILD_APPS=OFF |
|
25 | 26 |
-DBUILD_STATIC_LIBS=$(usex static-libs) |
26 | 27 |
-DDISABLE_EXTRA_LIBS=ON |
27 | 28 |
-DDISABLE_WERROR=ON |
... | ... | |
37 | 38 |
} |
38 | 39 | |
39 | 40 |
multilib_src_install_all() { |
40 |
use doc && HTML_DOCS=( "${S}"/doc/html/. ) |
|
41 |
HTML_DOCS=( "${S}"/doc/html/. ) |
|
41 | 42 |
einstalldocs |
42 | 43 |
} |