summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-06-19 21:53:11 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-06-19 21:56:02 +0200
commit0ba5a215ddbff545bbdcb73c998e7ae602de52a5 (patch)
tree804d7aa5c8d21220ffb8220ce7cd04e18c57e2ab
parentdev-perl/Image-Sane: Version bump 5 (diff)
downloadgentoo-0ba5a215ddbff545bbdcb73c998e7ae602de52a5.tar.gz
gentoo-0ba5a215ddbff545bbdcb73c998e7ae602de52a5.tar.bz2
gentoo-0ba5a215ddbff545bbdcb73c998e7ae602de52a5.zip
dev-perl/Image-Scale: Version bump 0.14
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--dev-perl/Image-Scale/Image-Scale-0.140.0.ebuild55
-rw-r--r--dev-perl/Image-Scale/Manifest1
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-perl/Image-Scale/Image-Scale-0.140.0.ebuild b/dev-perl/Image-Scale/Image-Scale-0.140.0.ebuild
new file mode 100644
index 000000000000..00f162d14ea5
--- /dev/null
+++ b/dev-perl/Image-Scale/Image-Scale-0.140.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=AGRUNDMA
+DIST_VERSION=0.14
+inherit perl-module
+
+DESCRIPTION="Fast, high-quality fixed-point image resizing"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+gif jpeg +png test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="|| ( jpeg png )"
+
+RDEPEND="
+ png? (
+ media-libs/libpng:0
+ )
+ jpeg? (
+ virtual/jpeg:0
+ )
+ gif? (
+ media-libs/giflib
+ )
+"
+DEPEND="${RDEPEND}
+"
+BDEPEND="${RDEPEND}
+ test? (
+ dev-perl/Test-NoWarnings
+ )
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+# https://rt.cpan.org/Ticket/Display.html?id=112217
+DIST_TEST="do"
+
+PATCHES=(
+ "${FILESDIR}"/0.80.0-disable_autodetect.patch
+)
+
+PERL_RM_FILES=( "t/04critic.t" "t/02pod.t" "t/03podcoverage.t" )
+
+src_configure() {
+ local myconf
+ for useflag in png jpeg gif; do
+ myconf+=( $(usex $useflag "" --disable-${useflag}) )
+ done
+ perl-module_src_configure
+}
diff --git a/dev-perl/Image-Scale/Manifest b/dev-perl/Image-Scale/Manifest
index d5397ba82fd6..77a2a39deeb6 100644
--- a/dev-perl/Image-Scale/Manifest
+++ b/dev-perl/Image-Scale/Manifest
@@ -1 +1,2 @@
DIST Image-Scale-0.13.tar.gz 1012810 BLAKE2B d14de9978dcdd5cc6b5b7ab1686f3e4061853c52cf340515da5dc099b1017decb610ecad6395e9c167eb9a9a2ed6a13ab8e16e612e9f55126c34ad8efc4982b1 SHA512 70c2b812934cbe6b7cd3fbe846ae862081a7ac5b40396a20f4078a3c0b79390b855fb623d836732f9347ee3ede3be29a04677f36fef14bbc83c863352862abbe
+DIST Image-Scale-0.14.tar.gz 1049211 BLAKE2B 1da07380fb3a54a3cd26575d095d621b52e7efff819773f312dd2269f36fa9a342e47ea3cbae121c24d241889a3fd819a86a616c3378868c2a7e8122a5184f33 SHA512 746341a443c08c8f818e2a08f85b4e6d3931053c8685b8700a0a6d7b56c81253bd4f24a8e0ce2456cc879fa1bd82b17f384142c6a84c0b1ca521b7bc42ecec7c