libpng: update to 1.6.3; drop apng patch, firefox uses its own internal copy.

This commit is contained in:
Juan RP 2013-07-19 08:34:31 +02:00
parent 58df1933a1
commit 0101e917d4
3 changed files with 14 additions and 6 deletions

1
srcpkgs/libpng-progs Symbolic link
View file

@ -0,0 +1 @@
libpng

View file

@ -1,8 +1,7 @@
# Template build file for 'libpng'.
pkgname=libpng
version=1.6.2
revision=3
patch_args="-Np1"
version=1.6.3
revision=1
build_style=gnu-configure
makedepends="zlib-devel"
short_desc="Library for manipulating PNG images"
@ -10,7 +9,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libpng.org/pub/png/libpng.html"
license="zlib"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=1c97a90bc22107e50f04f77a0115f4ec890d5c6a373ac4c560e8fb87259e92de
checksum=c5ecc0d38663b944a828145ed59cf15dfbad2217512875bc05ecf9b92afa0f45
post_install() {
rm -f ${DESTDIR}/usr/lib/*.la
@ -19,16 +18,24 @@ post_install() {
libpng-devel_package() {
depends="zlib-devel libpng>=$version"
short_desc+=" -- development files"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove "usr/bin/libpng*-config"
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
libpng-progs_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
}
}
libpng_package() {
pkg_install() {
vmove usr