diff options
author | David Seifert <soap@gentoo.org> | 2016-12-10 11:27:22 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-12-10 11:28:20 +0100 |
commit | f18edb2a313dfbf9b1bb083fecae0edb40612a60 (patch) | |
tree | d12dfed5848f704250d62f568cc48ce161f4112e /media-libs/jasper | |
parent | net-misc/remmina: Drop live ebuild (#602134) and unused patch. (diff) | |
download | gentoo-f18edb2a313dfbf9b1bb083fecae0edb40612a60.tar.gz gentoo-f18edb2a313dfbf9b1bb083fecae0edb40612a60.tar.bz2 gentoo-f18edb2a313dfbf9b1bb083fecae0edb40612a60.zip |
media-libs/jasper: Fix automagic logic
Gentoo-bug: 602186
Package-Manager: portage-2.3.3
Diffstat (limited to 'media-libs/jasper')
-rw-r--r-- | media-libs/jasper/jasper-2.0.5.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/media-libs/jasper/jasper-2.0.5.ebuild b/media-libs/jasper/jasper-2.0.5.ebuild index 0582d9cda28f..5eb318c69bc0 100644 --- a/media-libs/jasper/jasper-2.0.5.ebuild +++ b/media-libs/jasper/jasper-2.0.5.ebuild @@ -41,18 +41,25 @@ DEPEND="${RDEPEND} multilib_src_configure() { local mycmakeargs=( - -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF -DALLOW_IN_SOURCE_BUILD=OFF -DBASH_PROGRAM="${EPREFIX}"/bin/bash -DJAS_ENABLE_ASAN=OFF - -DJAS_ENABLE_LIBJPEG=$(usex jpeg) -DJAS_ENABLE_LSAN=OFF -DJAS_ENABLE_MSAN=OFF - -DJAS_ENABLE_OPENGL=$(usex opengl) -DJAS_ENABLE_SHARED=ON -DJAS_ENABLE_STRICT=ON -DJAS_ENABLE_USAN=OFF -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + + # JPEG + -DJAS_ENABLE_LIBJPEG=$(usex jpeg) + -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) + + # OpenGL + -DJAS_ENABLE_OPENGL=$(usex opengl) + -DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=$(usex !opengl) + + # Doxygen -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(multilib_native_usex doc OFF ON) ) cmake-utils_src_configure |