diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-18 16:26:39 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-18 16:34:06 +0200 |
commit | c70bcdff453a57f03a9fabbdd63616e91c4fe456 (patch) | |
tree | a6000d7ab1a530ef2d22e8e9fc71cb791619175f /media-libs/openjpeg | |
parent | sys-kernel/vanilla-sources: Automated version bump to {4.4.150,4.9.122,4.14.6... (diff) | |
download | gentoo-c70bcdff453a57f03a9fabbdd63616e91c4fe456.tar.gz gentoo-c70bcdff453a57f03a9fabbdd63616e91c4fe456.tar.bz2 gentoo-c70bcdff453a57f03a9fabbdd63616e91c4fe456.zip |
media-libs/openjpeg: EAPI-6 bump
Package-Manager: Portage-2.3.47, Repoman-2.3.10
Diffstat (limited to 'media-libs/openjpeg')
-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 } |