Skip to content
Browse files

new dev-perl/Image-Scale (for gentoo bug #389739)

  • Loading branch information...
1 parent 5469917 commit 4661ddd412806bb967e571a483e559297b826539 @danielrobbins danielrobbins committed Jan 22, 2012
View
23 dev-perl/Image-Scale/Image-Scale-0.06.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2012 Funtoo Technologies
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MODULE_AUTHOR=AGRUNDMA
+MODULE_VERSION=0.08
+inherit perl-module
+
+DESCRIPTION="Fast, high-quality fixed-point image resizing"
+
+SLOT="0"
+KEYWORDS="*"
+IUSE="gif"
+
+RDEPEND="media-libs/libjpeg-turbo >=media-libs/libpng-1.4 gif? ( media-libs/giflib )"
+DEPEND="${RDEPEND} >=virtual/perl-Module-Build-0.28"
+
+src_prepare() {
+ cd $S
+ cat ${FILESDIR}/libpng-1.5-memcpy.patch | patch -p0 || die
+ perl-module_src_prepare
+}
View
23 dev-perl/Image-Scale/Image-Scale-0.08.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2012 Funtoo Technologies
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MODULE_AUTHOR=AGRUNDMA
+MODULE_VERSION=0.08
+inherit perl-module
+
+DESCRIPTION="Fast, high-quality fixed-point image resizing"
+
+SLOT="0"
+KEYWORDS="*"
+IUSE="gif"
+
+RDEPEND="media-libs/libjpeg-turbo >=media-libs/libpng-1.4 gif? ( media-libs/giflib )"
+DEPEND="${RDEPEND} >=virtual/perl-Module-Build-0.28"
+
+src_prepare() {
+ cd $S
+ cat ${FILESDIR}/libpng-1.5-memcpy.patch | patch -p0 || die
+ perl-module_src_prepare
+}
View
1 dev-perl/Image-Scale/Manifest
@@ -0,0 +1 @@
+DIST Image-Scale-0.08.tar.gz 1009824 RMD160 78f641a67f2ba4713b4c9f3da26c91c4c18b62ca SHA1 ca149276f5ffcde120ea8893bb43957c6ce25552 SHA256 e2dcc90b9954a43dafc7f61bc6dc472382eb719b1046247da5a93cfdd7c3b3e0
View
11 dev-perl/Image-Scale/files/libpng-1.5-memcpy.patch
@@ -0,0 +1,11 @@
+--- src/png.c.orig 2011-10-31 20:32:24.000000000 -0700
++++ src/png.c 2011-10-31 20:32:30.000000000 -0700
+@@ -40,7 +40,7 @@
+ }
+ }
+
+- png_memcpy(data, buffer_ptr(im->buf), len);
++ memcpy(data, buffer_ptr(im->buf), len);
+ buffer_consume(im->buf, len);
+
+ goto ok;
View
9 dev-perl/Image-Scale/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>funtoo</herd>
+ <upstream>
+ <remote-id type="cpan">Image-Scale</remote-id>
+ </upstream>
+ <maintainer><email>drobbins@funtoo.org</email></maintainer>
+</pkgmetadata>

0 comments on commit 4661ddd

Please sign in to comment.
Something went wrong with that request. Please try again.