summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-19 01:00:39 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-19 01:00:39 +0000
commitc5914d20f4a5739de78ecb8e413eb2995d1dbfaa (patch)
tree28235f079bbb2c80d5ed79d4c6edbfdd5c0c78c6 /media-libs/libpng
parentReorganize depends; bug #210510 (diff)
downloadgentoo-2-c5914d20f4a5739de78ecb8e413eb2995d1dbfaa.tar.gz
gentoo-2-c5914d20f4a5739de78ecb8e413eb2995d1dbfaa.tar.bz2
gentoo-2-c5914d20f4a5739de78ecb8e413eb2995d1dbfaa.zip
Version bump.
(Portage version: 2.2_pre2)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog9
-rw-r--r--media-libs/libpng/libpng-1.2.25.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index a61bf763aac1..0087d6f5fe76 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.173 2007/12/14 18:50:06 vapier Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.174 2008/02/19 01:00:39 vapier Exp $
+
+*libpng-1.2.25 (19 Feb 2008)
+
+ 19 Feb 2008; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.25.ebuild:
+ Version bump.
*libpng-1.2.24 (14 Dec 2007)
diff --git a/media-libs/libpng/libpng-1.2.25.ebuild b/media-libs/libpng/libpng-1.2.25.ebuild
new file mode 100644
index 000000000000..2d133c01a113
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.25.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.25.ebuild,v 1.1 2008/02/19 01:00:39 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}"/${PN}-1.2.24-pngconf-setjmp.patch
+ # 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
+}