diff options
Diffstat (limited to 'main/gdk-pixbuf/APKBUILD')
-rw-r--r-- | main/gdk-pixbuf/APKBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD index 36ec7adeac..bebcecf5ec 100644 --- a/main/gdk-pixbuf/APKBUILD +++ b/main/gdk-pixbuf/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gdk-pixbuf pkgver=2.22.1 -pkgrel=0 +pkgrel=1 pkgdesc="GDK Pixbuf library" url="http://www.gtk.org/" arch="all" @@ -12,13 +12,19 @@ makedepends="tiff-dev libpng-dev glib-dev jpeg-dev gobject-introspection" install="$pkgname.pre-deinstall" triggers="$pkgname.trigger:/usr/lib/gdk-pixbuf-2.0/*/loaders" subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.bz2" +source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.bz2 + gdk-pixbuf-libpng15.patch" replaces="gtk+" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build() { @@ -33,6 +39,7 @@ build() { package() { cd "$_builddir" make DESTDIR="$pkgdir" install + rm -f "$pkgdir"/usr/lib/*.la } doc() { @@ -45,4 +52,5 @@ dev() { default_dev } -md5sums="716c4593ead3f9c8cca63b8b1907a561 gdk-pixbuf-2.22.1.tar.bz2" +md5sums="716c4593ead3f9c8cca63b8b1907a561 gdk-pixbuf-2.22.1.tar.bz2 +7153731aba3204b4e7173581360ddf37 gdk-pixbuf-libpng15.patch" |