summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-20 22:40:34 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-20 22:40:34 +0200
commita58b0c2f479b8fc33436db2287ffb15db1cf04a7 (patch)
tree435c63d38f90d568a60aa14ff74cf3518aa0570d /media-libs/libjpeg-turbo
parentmedia-libs/libjpeg-turbo: avoid ancient dev-util/cmake (diff)
downloadgentoo-a58b0c2f479b8fc33436db2287ffb15db1cf04a7.tar.gz
gentoo-a58b0c2f479b8fc33436db2287ffb15db1cf04a7.tar.bz2
gentoo-a58b0c2f479b8fc33436db2287ffb15db1cf04a7.zip
media-libs/libjpeg-turbo: add some EAPI=7 love
Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'media-libs/libjpeg-turbo')
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5-r1.ebuild (renamed from media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild)14
1 files changed, 9 insertions, 5 deletions
diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5-r1.ebuild
index 43ac98639ee..a29f2348ca2 100644
--- a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild
+++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5-r1.ebuild
@@ -18,12 +18,11 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc
IUSE="java static-libs"
ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )"
+
COMMON_DEPEND="!media-libs/jpeg:0
!media-libs/jpeg:62"
-RDEPEND="${COMMON_DEPEND}
- java? ( >=virtual/jre-1.5 )"
-DEPEND="${COMMON_DEPEND}
- >=dev-util/cmake-3.16.5
+
+BDEPEND=">=dev-util/cmake-3.16.5
amd64? ( ${ASM_DEPEND} )
x86? ( ${ASM_DEPEND} )
amd64-fbsd? ( ${ASM_DEPEND} )
@@ -31,9 +30,14 @@ DEPEND="${COMMON_DEPEND}
amd64-linux? ( ${ASM_DEPEND} )
x86-linux? ( ${ASM_DEPEND} )
x64-macos? ( ${ASM_DEPEND} )
- x64-cygwin? ( ${ASM_DEPEND} )
+ x64-cygwin? ( ${ASM_DEPEND} )"
+
+DEPEND="${COMMON_DEPEND}
java? ( >=virtual/jdk-1.5 )"
+RDEPEND="${COMMON_DEPEND}
+ java? ( >=virtual/jre-1.5 )"
+
MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h )
src_prepare() {