summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-30 23:59:37 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-30 23:59:37 +0000
commit9ae8df026072632ac190f37e52762d75df857b13 (patch)
treec625208f0101c914920f95ee47fe5d31ba9e94df /media-libs/libpng
parentarm/s390/sh stable (diff)
downloadgentoo-2-9ae8df026072632ac190f37e52762d75df857b13.tar.gz
gentoo-2-9ae8df026072632ac190f37e52762d75df857b13.tar.bz2
gentoo-2-9ae8df026072632ac190f37e52762d75df857b13.zip
Version bump.
(Portage version: 2.2_pre5)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/libpng-1.2.27.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index e9bfcedb37ae..cdd5ece894be 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libpng
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.190 2008/04/15 01:19:05 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.191 2008/04/30 23:59:37 vapier Exp $
+
+*libpng-1.2.27 (30 Apr 2008)
+
+ 30 Apr 2008; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.27.ebuild:
+ Version bump.
15 Apr 2008; Robert Buchholz <rbu@gentoo.org> libpng-1.2.26-r1.ebuild:
Stable for "alpha amd64 hppa ia64 ppc ppc64 sparc x86" (bug #217047)
diff --git a/media-libs/libpng/libpng-1.2.27.ebuild b/media-libs/libpng/libpng-1.2.27.ebuild
new file mode 100644
index 000000000000..134adaf2bef6
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.27.ebuild
@@ -0,0 +1,42 @@
+# 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.27.ebuild,v 1.1 2008/04/30 23:59:37 vapier Exp $
+
+inherit autotools libtool multilib eutils
+
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="mirror://sourceforge/libpng/${P}.tar.lzma"
+
+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=""
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-arch/lzma-utils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.2.24-pngconf-setjmp.patch
+
+ # bundled autotools are busted
+ sed -i 's:$(ECHO):echo:' Makefile.am || die
+ eautoreconf
+ # 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
+}