summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-19 01:57:12 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-19 01:57:12 +0000
commit509b136d30030ddb9c841f49b216e6590bbbabc8 (patch)
tree55c58fadd8ab7091b77b5956d7bc86b1a96e1315
parentold (diff)
downloadgentoo-2-509b136d30030ddb9c841f49b216e6590bbbabc8.tar.gz
gentoo-2-509b136d30030ddb9c841f49b216e6590bbbabc8.tar.bz2
gentoo-2-509b136d30030ddb9c841f49b216e6590bbbabc8.zip
Version bump.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/libpng-1.2.35.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index ce08e5285149..f3e248cbed36 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libpng
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.210 2009/02/02 19:25:39 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.211 2009/02/19 01:57:12 vapier Exp $
+
+*libpng-1.2.35 (19 Feb 2009)
+
+ 19 Feb 2009; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.35.ebuild:
+ Version bump.
02 Feb 2009; Raúl Porcel <armin76@gentoo.org> libpng-1.2.34.ebuild:
ia64 stable wrt #255231
diff --git a/media-libs/libpng/libpng-1.2.35.ebuild b/media-libs/libpng/libpng-1.2.35.ebuild
new file mode 100644
index 000000000000..90581678678c
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.35.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.35.ebuild,v 1.1 2009/02/19 01:57:12 vapier Exp $
+
+inherit libtool multilib eutils
+
+MY_PV=${PV/_}
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="mirror://sourceforge/libpng/${PN}-${MY_PV}.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"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+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
+}