summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-10-13 19:03:56 +0000
committerMike Frysinger <vapier@gentoo.org>2007-10-13 19:03:56 +0000
commit5a9ab8fcd7e6e301670b1d1ddb82108dc1e80244 (patch)
tree4f189a77932cc5ce1a5b9fbded43d34cf73bc62a /media-libs/libpng
parentAdd ~amd64 keyword. (diff)
downloadgentoo-2-5a9ab8fcd7e6e301670b1d1ddb82108dc1e80244.tar.gz
gentoo-2-5a9ab8fcd7e6e301670b1d1ddb82108dc1e80244.tar.bz2
gentoo-2-5a9ab8fcd7e6e301670b1d1ddb82108dc1e80244.zip
Version bump.
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.223
-rw-r--r--media-libs/libpng/libpng-1.2.22.ebuild36
3 files changed, 45 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index 726c246f0c84..46251194cfb4 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libpng
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.162 2007/10/12 14:50:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.163 2007/10/13 19:03:55 vapier Exp $
+
+*libpng-1.2.22 (13 Oct 2007)
+
+ 13 Oct 2007; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.22.ebuild:
+ Version bump.
12 Oct 2007; Mike Frysinger <vapier@gentoo.org> libpng-1.2.18-r1.ebuild,
libpng-1.2.20.ebuild, libpng-1.2.21-r2.ebuild, libpng-1.2.21-r3.ebuild:
diff --git a/media-libs/libpng/files/digest-libpng-1.2.22 b/media-libs/libpng/files/digest-libpng-1.2.22
new file mode 100644
index 000000000000..04c98ab2d5a2
--- /dev/null
+++ b/media-libs/libpng/files/digest-libpng-1.2.22
@@ -0,0 +1,3 @@
+MD5 e50208ad684a5822c74b8a260962a4d4 libpng-1.2.22.tar.bz2 614414
+RMD160 382e0edce39f65765d8f348c1ef03f5922f4a85f libpng-1.2.22.tar.bz2 614414
+SHA256 03b8104975dcc4edf97d1f9d0dfccb8ff9f6eec9d2a2f271a3ff8a7c7cd53d54 libpng-1.2.22.tar.bz2 614414
diff --git a/media-libs/libpng/libpng-1.2.22.ebuild b/media-libs/libpng/libpng-1.2.22.ebuild
new file mode 100644
index 000000000000..a90b58cc7803
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.22.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.22.ebuild,v 1.1 2007/10/13 19:03:55 vapier Exp $
+
+inherit libtool multilib eutils
+
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="1.2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="sys-libs/zlib"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/1.2.7-gentoo.diff
+ # So we get sane .so versioning on FreeBSD
+ elibtoolize
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO
+}
+
+pkg_postinst() {
+ # the libpng authors really screwed around between 1.2.1 and 1.2.3
+ if [[ -f ${ROOT}/usr/$(get_libdir)/libpng.so.3.1.2.1 ]] ; then
+ rm -f "${ROOT}"/usr/$(get_libdir)/libpng.so.3.1.2.1
+ fi
+}