summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-16 01:07:16 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-16 01:07:16 +0000
commit5a7c3ab35da974cd818ca8f01b111d3a686e7d48 (patch)
tree13c9527e2d22bd62f081d96fde6fb0d3d82c2c6e /media-libs/libpng
parentold (diff)
downloadgentoo-2-5a7c3ab35da974cd818ca8f01b111d3a686e7d48.tar.gz
gentoo-2-5a7c3ab35da974cd818ca8f01b111d3a686e7d48.tar.bz2
gentoo-2-5a7c3ab35da974cd818ca8f01b111d3a686e7d48.zip
Version bump.
(Portage version: 2.2_rc6/cvs/Linux 2.6.26.1 x86_64)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/libpng-1.2.30.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index cdd5ece894be..ef47090d6e9e 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.191 2008/04/30 23:59:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.192 2008/08/16 01:07:16 vapier Exp $
+
+*libpng-1.2.30 (16 Aug 2008)
+
+ 16 Aug 2008; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.30.ebuild:
+ Version bump.
*libpng-1.2.27 (30 Apr 2008)
diff --git a/media-libs/libpng/libpng-1.2.30.ebuild b/media-libs/libpng/libpng-1.2.30.ebuild
new file mode 100644
index 000000000000..b5a0e9e7a9ba
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.30.ebuild
@@ -0,0 +1,39 @@
+# 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.30.ebuild,v 1.1 2008/08/16 01:07:16 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
+
+ # 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
+}