summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-03 21:58:47 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-03 21:58:47 +0000
commit3158d2f0473755015887731387c40c5c92e47ab2 (patch)
tree213432959f2287c847c1526a246a8c2b108c522b /media-libs/libpng
parentBackport upstream CVS fix to allow lm-sensors-2.9.0 to play nice with 2.4 ker... (diff)
downloadgentoo-2-3158d2f0473755015887731387c40c5c92e47ab2.tar.gz
gentoo-2-3158d2f0473755015887731387c40c5c92e47ab2.tar.bz2
gentoo-2-3158d2f0473755015887731387c40c5c92e47ab2.zip
Version bump #74456 by Ryan Hill.
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.81
-rw-r--r--media-libs/libpng/libpng-1.2.7-r1.ebuild4
-rw-r--r--media-libs/libpng/libpng-1.2.7.ebuild4
-rw-r--r--media-libs/libpng/libpng-1.2.8.ebuild61
5 files changed, 71 insertions, 6 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index 227899d4252a..9f42415972dd 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libpng
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.58 2004/12/29 00:52:35 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.59 2005/01/03 21:58:47 vapier Exp $
+
+ 03 Jan 2005; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.8.ebuild:
+ Version bump #74456 by Ryan Hill.
29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/media-libs/libpng/files/digest-libpng-1.2.8 b/media-libs/libpng/files/digest-libpng-1.2.8
new file mode 100644
index 000000000000..39a9478b3be0
--- /dev/null
+++ b/media-libs/libpng/files/digest-libpng-1.2.8
@@ -0,0 +1 @@
+MD5 00cea4539bea4bd34cbf8b82ff9589cd libpng-1.2.8.tar.bz2 384970
diff --git a/media-libs/libpng/libpng-1.2.7-r1.ebuild b/media-libs/libpng/libpng-1.2.7-r1.ebuild
index 692ca49e27c2..f768296bf076 100644
--- a/media-libs/libpng/libpng-1.2.7-r1.ebuild
+++ b/media-libs/libpng/libpng-1.2.7-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.7-r1.ebuild,v 1.1 2004/11/20 03:58:17 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.7-r1.ebuild,v 1.2 2005/01/03 21:58:47 vapier Exp $
inherit flag-o-matic eutils gcc
diff --git a/media-libs/libpng/libpng-1.2.7.ebuild b/media-libs/libpng/libpng-1.2.7.ebuild
index f344758f9895..6004c738f682 100644
--- a/media-libs/libpng/libpng-1.2.7.ebuild
+++ b/media-libs/libpng/libpng-1.2.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.7.ebuild,v 1.9 2004/11/13 03:54:21 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.7.ebuild,v 1.10 2005/01/03 21:58:47 vapier Exp $
inherit flag-o-matic eutils gcc
diff --git a/media-libs/libpng/libpng-1.2.8.ebuild b/media-libs/libpng/libpng-1.2.8.ebuild
new file mode 100644
index 000000000000..c626d1836046
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.8.ebuild,v 1.1 2005/01/03 21:58:47 vapier Exp $
+
+inherit flag-o-matic eutils toolchain-funcs
+
+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 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/1.2.7-gentoo.diff
+
+ [[ $(gcc-version) == "3.3" || $(gcc-version) == "3.2" ]] \
+ && replace-cpu-flags k6 k6-2 k6-3 i586
+
+ local makefilein="scripts/makefile.linux"
+ if use ppc-macos ; then
+ epatch "${FILESDIR}"/macos.patch # implements strnlen
+ makefilein="scripts/makefile.darwin"
+ fi
+ sed \
+ -e "/^ZLIBLIB=/s:=.*:=/usr/$(get_libdir):" \
+ -e '/^ZLIBINC=/s:=.*:=/usr/include:' \
+ -e "s:-O3:${CFLAGS}:" \
+ -e '/^prefix=/s:/local::' \
+ -e '/^MANPATH=/s:/man:/share/man:' \
+ -e "/^LIBPATH=/s:/lib:/$(get_libdir):" \
+ -e '/^OBJSDLL =/s:=:= -lz -lm :' \
+ -e 's:mkdir:mkdir -p:' \
+ ${makefilein} > Makefile
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ || die "emake failed"
+}
+
+src_install() {
+ make 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
+}