diff options
author | root <root@rshg054.dnsready.net> | 2012-08-14 00:02:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-14 00:02:20 +0000 |
commit | a36c4a33891932acf2ac1cdebbb9caed01d7df6f (patch) | |
tree | 43ba215e412fc3ce04b316dd929467bfac0c8078 /testing/gdk-pixbuf2 | |
parent | 07a52495b8a64f14843878d6116151fbdb6deefb (diff) |
Tue Aug 14 00:02:20 UTC 2012
Diffstat (limited to 'testing/gdk-pixbuf2')
-rw-r--r-- | testing/gdk-pixbuf2/PKGBUILD | 34 | ||||
-rw-r--r-- | testing/gdk-pixbuf2/gdk-pixbuf2.install | 11 |
2 files changed, 45 insertions, 0 deletions
diff --git a/testing/gdk-pixbuf2/PKGBUILD b/testing/gdk-pixbuf2/PKGBUILD new file mode 100644 index 000000000..15840ad30 --- /dev/null +++ b/testing/gdk-pixbuf2/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 165188 2012-08-12 19:25:57Z ibiru $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=gdk-pixbuf2 +pkgver=2.26.2 +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=('3555521050e30e2fa090bfe650910c14649b6ab0acb35a5a7eaf90fe694f1403') + +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/testing/gdk-pixbuf2/gdk-pixbuf2.install b/testing/gdk-pixbuf2/gdk-pixbuf2.install new file mode 100644 index 000000000..f04c0967a --- /dev/null +++ b/testing/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 +} |