Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

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

0 comments on commit 4661ddd

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