summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2012-04-04 16:48:53 +0000
committerTorsten Veller <tove@gentoo.org>2012-04-04 16:48:53 +0000
commit6ac8bf45dcd543a55565d0d7326c7d047122eccd (patch)
tree6a209680fe31ef844ef14d5d9ccee5637d7b6886 /dev-perl/Image-Scale/Image-Scale-0.80.0.ebuild
parentStable for amd64, wrt bug #409403 (diff)
downloadgentoo-2-6ac8bf45dcd543a55565d0d7326c7d047122eccd.tar.gz
gentoo-2-6ac8bf45dcd543a55565d0d7326c7d047122eccd.tar.bz2
gentoo-2-6ac8bf45dcd543a55565d0d7326c7d047122eccd.zip
Initial commit for squeezeboxserver (#389739)
(Portage version: 2.2.0_alpha99/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Image-Scale/Image-Scale-0.80.0.ebuild')
-rw-r--r--dev-perl/Image-Scale/Image-Scale-0.80.0.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-perl/Image-Scale/Image-Scale-0.80.0.ebuild b/dev-perl/Image-Scale/Image-Scale-0.80.0.ebuild
new file mode 100644
index 000000000000..fa1492293e73
--- /dev/null
+++ b/dev-perl/Image-Scale/Image-Scale-0.80.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Image-Scale/Image-Scale-0.80.0.ebuild,v 1.1 2012/04/04 16:48:53 tove Exp $
+
+EAPI=4
+
+MODULE_AUTHOR=AGRUNDMA
+MODULE_VERSION=0.08
+inherit perl-module
+
+DESCRIPTION="Fast, high-quality fixed-point image resizing"
+
+LICENSE="|| ( GPL-2 GPL-3 )" # GPL2+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gif jpeg png test"
+
+REQUIRED_USE="|| ( jpeg png )"
+
+RDEPEND="
+ png? (
+ media-libs/libpng:0
+ )
+ jpeg? (
+ media-libs/libjpeg-turbo
+ )
+ gif? (
+ media-libs/giflib
+ )
+"
+DEPEND="${RDEPEND}
+ test? (
+ dev-perl/Test-NoWarnings
+ )
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+SRC_TEST=do
+PATCHES=(
+ "${FILESDIR}"/libpng-1.5-memcpy.patch
+ "${FILESDIR}"/0.80.0-disable_autodetect.patch
+)
+disable_use() {
+ use $1 || echo "--disable-$useflag"
+}
+src_configure() {
+ for useflag in png jpeg gif; do
+ myconf+=( $(disable_use $useflag ) )
+ done
+ perl-module_src_configure
+}