summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-10-05 03:09:38 +0000
committerMike Frysinger <vapier@gentoo.org>2007-10-05 03:09:38 +0000
commitf320058b796ec112bb2aae76fdb505b01480e6ba (patch)
treed051f285f3c3467ad3e20268953728f325880ada /media-libs/libpng
parentVersion bump and removed old versions. (diff)
downloadgentoo-2-f320058b796ec112bb2aae76fdb505b01480e6ba.tar.gz
gentoo-2-f320058b796ec112bb2aae76fdb505b01480e6ba.tar.bz2
gentoo-2-f320058b796ec112bb2aae76fdb505b01480e6ba.zip
Version bump.
(Portage version: 2.1.3.11)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.216
-rw-r--r--media-libs/libpng/libpng-1.2.21.ebuild40
3 files changed, 52 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index 1f24b0a75276..9ca21c472281 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.150 2007/09/20 05:34:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.151 2007/10/05 03:09:38 vapier Exp $
+
+*libpng-1.2.21 (05 Oct 2007)
+
+ 05 Oct 2007; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.21.ebuild:
+ Version bump.
*libpng-1.2.20 (20 Sep 2007)
diff --git a/media-libs/libpng/files/digest-libpng-1.2.21 b/media-libs/libpng/files/digest-libpng-1.2.21
new file mode 100644
index 000000000000..5ef3058d09bf
--- /dev/null
+++ b/media-libs/libpng/files/digest-libpng-1.2.21
@@ -0,0 +1,6 @@
+MD5 b0cda5e10e8165e5f151e674e1a67983 libpng-1.2.21.tar.bz2 614352
+RMD160 2738cb7cebe19184a0ffefe31c49e570b0791049 libpng-1.2.21.tar.bz2 614352
+SHA256 3b4f186e5dd1e683178d58d45db16f4fd9203f6518037ff28b4505ec35246953 libpng-1.2.21.tar.bz2 614352
+MD5 1518ec4b873f2c61a7d32ad867b67b17 libpng-manual.txt 128284
+RMD160 f019974f931327e6d9d332d306e07dce71ff031b libpng-manual.txt 128284
+SHA256 0cc3a25643024807672e5df255332cb63c902cea333246f4a5ab48c682c3297a libpng-manual.txt 128284
diff --git a/media-libs/libpng/libpng-1.2.21.ebuild b/media-libs/libpng/libpng-1.2.21.ebuild
new file mode 100644
index 000000000000..22a19212a8a2
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.21.ebuild
@@ -0,0 +1,40 @@
+# 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.21.ebuild,v 1.1 2007/10/05 03:09:38 vapier Exp $
+
+inherit libtool multilib eutils flag-o-matic
+
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2
+ doc? ( http://www.libpng.org/pub/png/libpng-manual.txt )"
+
+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="doc"
+
+DEPEND="sys-libs/zlib"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use doc && cp "${WORKDIR}"/${PN}-manual.txt .
+ 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
+ use doc && dodoc libpng-manual.txt
+}
+
+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
+}