summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-01 08:38:35 +0000
committerSam James <sam@gentoo.org>2024-12-01 08:38:35 +0000
commit8b803b34cc1cfadb3d19c19ecbea3170b717f166 (patch)
tree2cd807cc52b36a8b76c1ea956a8c84f616798444
parentdev-perl/Tk-JPEG-Lite: Build fix for modern C compilers (diff)
downloadgentoo-8b803b34cc1cfadb3d19c19ecbea3170b717f166.tar.gz
gentoo-8b803b34cc1cfadb3d19c19ecbea3170b717f166.tar.bz2
gentoo-8b803b34cc1cfadb3d19c19ecbea3170b717f166.zip
dev-perl/Tk-JPEG-Lite: use libjpeg-turbo, style tweaks
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.15.0-r2.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.15.0-r2.ebuild b/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.15.0-r2.ebuild
index 0ab807a6d020..22f31911b991 100644
--- a/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.15.0-r2.ebuild
+++ b/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.15.0-r2.ebuild
@@ -12,16 +12,19 @@ DESCRIPTION="lite JPEG loader for Tk::Photo"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
-RDEPEND="virtual/jpeg:0
- >=dev-perl/Tk-800.15.0"
-BDEPEND="${RDEPEND}
+RDEPEND="
+ media-libs/libjpeg-turbo:=
+ >=dev-perl/Tk-800.15.0
+"
+BDEPEND="
+ ${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.580.0
dev-perl/Devel-CheckLib
"
PATCHES=(
"${FILESDIR}/${P}-Modernize-C.patch"
- )
+)
src_test() {
virtx perl-module_src_test