summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-21 21:34:48 +0000
committerMike Frysinger <vapier@gentoo.org>2008-12-21 21:34:48 +0000
commitdda3c41a33d18f30abf7de7f3ac62e2f7ed16f7f (patch)
tree2b2f3420f1d75b90dfcfc0a629f00080cd48075d /media-libs
parentold (diff)
downloadgentoo-2-dda3c41a33d18f30abf7de7f3ac62e2f7ed16f7f.tar.gz
gentoo-2-dda3c41a33d18f30abf7de7f3ac62e2f7ed16f7f.tar.bz2
gentoo-2-dda3c41a33d18f30abf7de7f3ac62e2f7ed16f7f.zip
Version bump.
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/libpng-1.2.34.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index a8de3b7d3f13..9f01b7580f0b 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.202 2008/12/01 15:19:12 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.203 2008/12/21 21:34:48 vapier Exp $
+
+*libpng-1.2.34 (21 Dec 2008)
+
+ 21 Dec 2008; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.34.ebuild:
+ Version bump.
01 Dec 2008; Brent Baude <ranger@gentoo.org> libpng-1.2.33.ebuild:
Marking libpng-1.2.33 ppc64 for bug 244808
diff --git a/media-libs/libpng/libpng-1.2.34.ebuild b/media-libs/libpng/libpng-1.2.34.ebuild
new file mode 100644
index 000000000000..1653e3a1f159
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.34.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.34.ebuild,v 1.1 2008/12/21 21:34:48 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
+}