diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
commit | 43793fab84041cfc5c60c0151d1591b8a69fb24a (patch) | |
tree | 6208a7f4fc744684fce0f55acbb47511acace498 /media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild | |
parent | 28e3d252dc8ac8a5635206dfefe1cfe05058d1db (diff) |
gentoo resync : 25.08.2018
Diffstat (limited to 'media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild')
-rw-r--r-- | media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild b/media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild index 0f2a1158f9a5..3c43e9ed3c21 100644 --- a/media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild +++ b/media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit multilib cmake-multilib +EAPI=6 + +inherit cmake-multilib DESCRIPTION="An open-source JPEG 2000 library" HOMEPAGE="http://www.openjpeg.org" @@ -13,7 +14,8 @@ SLOT="0/5" # based on SONAME KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc static-libs test" -RDEPEND="media-libs/lcms:2= +RDEPEND=" + media-libs/lcms:2= media-libs/libpng:0= media-libs/tiff:0= sys-libs/zlib:=" @@ -22,7 +24,7 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS CHANGES NEWS README THANKS ) -RESTRICT="test" #409263 +RESTRICT="test" # bug 409263 src_prepare() { cmake-utils_src_prepare @@ -33,20 +35,20 @@ src_prepare() { multilib_src_configure() { local mycmakeargs=( -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)" - $(cmake-utils_use_build test TESTING) + -DBUILD_TESTING=$(usex test) -DBUILD_DOC=$(multilib_native_usex doc ON OFF) -DBUILD_CODEC=$(multilib_is_native_abi && echo ON || echo OFF) - ) + ) cmake-utils_src_configure if use static-libs; then mycmakeargs=( -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)" - $(cmake-utils_use_build test TESTING) + -DBUILD_TESTING=$(usex test) -DBUILD_SHARED_LIBS=OFF -DBUILD_CODEC=OFF - ) + ) BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_configure fi } |