summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-26 17:32:40 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-26 17:32:40 +0000
commitf3ca17ee0a127b08b9e577fe92f16f136b10cd37 (patch)
tree5212a5ea0efdd094df5b5430ade008390c2452b1 /media-libs/libpng
parentRevision bump with three fixes from upstream, added trash folder feature patc... (diff)
downloadgentoo-2-f3ca17ee0a127b08b9e577fe92f16f136b10cd37.tar.gz
gentoo-2-f3ca17ee0a127b08b9e577fe92f16f136b10cd37.tar.bz2
gentoo-2-f3ca17ee0a127b08b9e577fe92f16f136b10cd37.zip
Add USE=apng support #183370 by Radoslaw Szkodzinski.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog6
-rw-r--r--media-libs/libpng/libpng-1.4.7.ebuild8
-rw-r--r--media-libs/libpng/libpng-1.5.2.ebuild9
-rw-r--r--media-libs/libpng/metadata.xml3
4 files changed, 18 insertions, 8 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index 37e5693c48a4..1142f92653d7 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libpng
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.283 2011/04/23 19:06:55 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.284 2011/04/26 17:32:40 vapier Exp $
+
+ 26 Apr 2011; Mike Frysinger <vapier@gentoo.org> libpng-1.4.7.ebuild,
+ libpng-1.5.2.ebuild, metadata.xml:
+ Add USE=apng support #183370 by Radoslaw Szkodzinski.
*libpng-1.5.2 (23 Apr 2011)
*libpng-1.4.7 (23 Apr 2011)
diff --git a/media-libs/libpng/libpng-1.4.7.ebuild b/media-libs/libpng/libpng-1.4.7.ebuild
index 539218c8e3bb..74786b26e315 100644
--- a/media-libs/libpng/libpng-1.4.7.ebuild
+++ b/media-libs/libpng/libpng-1.4.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.7.ebuild,v 1.1 2011/04/23 19:06:55 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.7.ebuild,v 1.2 2011/04/26 17:32:40 vapier Exp $
EAPI="3"
@@ -8,18 +8,20 @@ inherit eutils libtool multilib
DESCRIPTION="Portable Network Graphics library"
HOMEPAGE="http://www.libpng.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
+ apng? ( mirror://sourceforge/${PN}-apng/${PN}-master/${PV}/${P}-apng.patch.gz )"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="static-libs"
+IUSE="apng static-libs"
RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}
app-arch/xz-utils"
src_prepare() {
+ use apng && epatch "${WORKDIR}"/${P}-apng.patch
elibtoolize
}
diff --git a/media-libs/libpng/libpng-1.5.2.ebuild b/media-libs/libpng/libpng-1.5.2.ebuild
index 5608b511e1a3..89ff8afbfec1 100644
--- a/media-libs/libpng/libpng-1.5.2.ebuild
+++ b/media-libs/libpng/libpng-1.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.5.2.ebuild,v 1.1 2011/04/23 19:06:55 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.5.2.ebuild,v 1.2 2011/04/26 17:32:40 vapier Exp $
EAPI="3"
@@ -8,19 +8,20 @@ inherit eutils libtool multilib
DESCRIPTION="Portable Network Graphics library"
HOMEPAGE="http://www.libpng.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
+ apng? ( mirror://sourceforge/${PN}-apng/${PN}-devel/${PV}/${P}-apng.patch.gz )"
LICENSE="as-is"
SLOT="0"
-KEYWORDS=""
#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="static-libs"
+IUSE="apng static-libs"
RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}
app-arch/xz-utils"
src_prepare() {
+ use apng && epatch "${WORKDIR}"/${P}-apng.patch
elibtoolize
}
diff --git a/media-libs/libpng/metadata.xml b/media-libs/libpng/metadata.xml
index 96a2d586367d..14900c8a73d0 100644
--- a/media-libs/libpng/metadata.xml
+++ b/media-libs/libpng/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
+<use>
+ <flag name="apng">support unofficial APNG (Animated PNG) spec</flag>
+</use>
</pkgmetadata>