[arch-commits] CVS update of extra/lib/libpng (PKGBUILD)

Travis Willard travis at archlinux.org
Tue Feb 19 02:09:24 UTC 2008


    Date: Monday, February 18, 2008 @ 21:09:24
  Author: travis
    Path: /home/cvs-extra/extra/lib/libpng

Modified: PKGBUILD (1.33 -> 1.34)

upgpkg: libpng 1.2.24-2
    Added APNG patchset and ChangeLog


----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)


Index: extra/lib/libpng/PKGBUILD
diff -u extra/lib/libpng/PKGBUILD:1.33 extra/lib/libpng/PKGBUILD:1.34
--- extra/lib/libpng/PKGBUILD:1.33	Sun Dec 16 10:51:47 2007
+++ extra/lib/libpng/PKGBUILD	Mon Feb 18 21:09:24 2008
@@ -1,21 +1,27 @@
-# $Id: PKGBUILD,v 1.33 2007/12/16 15:51:47 travis Exp $
+# $Id: PKGBUILD,v 1.34 2008/02/19 02:09:24 travis Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 # Maintainer: Travis Willard <travis at archlinux.org>
 
 pkgname=libpng
 pkgver=1.2.24
-pkgrel=1
+pkgrel=2
 pkgdesc="A collection of routines used to create PNG format graphics files"
 arch=('i686' 'x86_64')
 url="http://www.libpng.org/pub/png/libpng.html"
 license=('custom')
 depends=('zlib')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+        http://littlesvr.ca/apng/diff/${pkgname}-${pkgver}-apng.patch)
+md5sums=('1e676c5cc7dfa4ef78affe8fb8f1011d'
+         'a99293a2899b5ef4d2afb6d4cb4d0e8c')
 options=('!libtool')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
 
+  # Add animated PNG (apng) support
+  patch -Np0 -i $startdir/src/${pkgname}-${pkgver}-apng.patch
+
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=${startdir}/pkg install
@@ -29,4 +35,3 @@
   rm ${startdir}/pkg/usr/lib/libpng.la
 }
 
-md5sums=('1e676c5cc7dfa4ef78affe8fb8f1011d')




More information about the arch-commits mailing list