diff options
Diffstat (limited to 'gnome-unstable/gdk-pixbuf2')
-rw-r--r-- | gnome-unstable/gdk-pixbuf2/PKGBUILD | 34 | ||||
-rw-r--r-- | gnome-unstable/gdk-pixbuf2/gdk-pixbuf2.install | 11 |
2 files changed, 45 insertions, 0 deletions
diff --git a/gnome-unstable/gdk-pixbuf2/PKGBUILD b/gnome-unstable/gdk-pixbuf2/PKGBUILD new file mode 100644 index 000000000..514681b1e --- /dev/null +++ b/gnome-unstable/gdk-pixbuf2/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 167531 2012-10-02 10:18:16Z jgc $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=gdk-pixbuf2 +pkgver=2.26.4 +pkgrel=1 +pkgdesc="An image loading library" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +license=('GPL2') +depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11') +makedepends=('gtk-doc' 'gobject-introspection') +options=('!libtool') +install=gdk-pixbuf2.install +source=(http://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.xz) +sha256sums=('a91458645f078debf204fef8bb06b30f356fcb5d48f65395132a5dba2b3510be') + +build() { + cd gdk-pixbuf-$pkgver + + ./configure --prefix=/usr \ + --without-libjasper \ + --with-x11 \ + --with-included-loaders=png + make +} + +package() { + cd gdk-pixbuf-$pkgver + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/gnome-unstable/gdk-pixbuf2/gdk-pixbuf2.install b/gnome-unstable/gdk-pixbuf2/gdk-pixbuf2.install new file mode 100644 index 000000000..f04c0967a --- /dev/null +++ b/gnome-unstable/gdk-pixbuf2/gdk-pixbuf2.install @@ -0,0 +1,11 @@ +post_install() { + gdk-pixbuf-query-loaders --update-cache +} + +post_upgrade() { + post_install +} + +pre_remove() { + rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/loaders.cache +} |