Skip to content

Commit

Permalink
media-libs/jasper: Fix automagic logic
Browse files Browse the repository at this point in the history
Gentoo-bug: 602186

Package-Manager: portage-2.3.3
  • Loading branch information
SoapGentoo committed Dec 10, 2016
1 parent d60a319 commit f18edb2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions media-libs/jasper/jasper-2.0.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f18edb2

Please sign in to comment.