diff options
Diffstat (limited to 'testing/gdk-pixbuf2')
-rw-r--r-- | testing/gdk-pixbuf2/PKGBUILD | 32 | ||||
-rw-r--r-- | testing/gdk-pixbuf2/gdk-pixbuf2.install | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/gdk-pixbuf2/PKGBUILD b/testing/gdk-pixbuf2/PKGBUILD new file mode 100644 index 000000000..032f69e7c --- /dev/null +++ b/testing/gdk-pixbuf2/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 117317 2011-03-31 00:18:19Z ibiru $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +pkgname=gdk-pixbuf2 +pkgver=2.23.3 +pkgrel=1 +pkgdesc="An image loading library for gtk2" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +license=('GPL2') +depends=('glib2>=2.28.1' 'libpng' 'libtiff' 'libjpeg' 'libx11') +makedepends=('gtk-doc' 'gobject-introspection') +options=('!libtool') +install=gdk-pixbuf2.install +source=(http://download.gnome.org/sources/gdk-pixbuf/2.23/gdk-pixbuf-${pkgver}.tar.bz2) +sha256sums=('9faba780151c02e13cb2029d512c975e9c41b98cd72de6d2cc50e4af10a5e76a') + +build() { + cd "${srcdir}/gdk-pixbuf-${pkgver}" + + ./configure --prefix=/usr \ + --without-libjasper \ + --with-included-loaders=png + make +} + +package() { + cd "${srcdir}/gdk-pixbuf-${pkgver}" + + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/gdk-pixbuf2/gdk-pixbuf2.install b/testing/gdk-pixbuf2/gdk-pixbuf2.install new file mode 100644 index 000000000..1b35942cb --- /dev/null +++ b/testing/gdk-pixbuf2/gdk-pixbuf2.install @@ -0,0 +1,11 @@ +post_install() { + usr/bin/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 +} |