From ab2bf439ab66e334fb8db266f555e6bc97db9286 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Mon, 15 Nov 2010 22:19:09 +0000 Subject: gdk-pixbuf2: recompile for libx11 --- abs/core/gdk-pixbuf2/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ abs/core/gdk-pixbuf2/gdk-pixbuf2.install | 11 +++++++++++ 2 files changed, 43 insertions(+) create mode 100644 abs/core/gdk-pixbuf2/PKGBUILD create mode 100644 abs/core/gdk-pixbuf2/gdk-pixbuf2.install diff --git a/abs/core/gdk-pixbuf2/PKGBUILD b/abs/core/gdk-pixbuf2/PKGBUILD new file mode 100644 index 0000000..91c74af --- /dev/null +++ b/abs/core/gdk-pixbuf2/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 98279 2010-11-06 11:00:15Z ibiru $ +# Maintainer: Ionut Biru +pkgname=gdk-pixbuf2 +pkgver=2.22.1 +pkgrel=2 +pkgdesc="An image loading library for gtk2" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +license=('GPL2') +depends=('glib2>=2.26.0' 'libpng>=1.4.3' 'libtiff>=3.9.4' 'libjpeg>=8.0.2' 'libx11') +makedepends=('gtk-doc' 'gobject-introspection') +options=('!libtool') +install=gdk-pixbuf2.install +source=(http://download.gnome.org/sources/gdk-pixbuf/2.22/gdk-pixbuf-${pkgver}.tar.bz2) +sha256sums=('6ce87eda24af9362307b2593c154d0b660f4e26d0abf2e71d46d0ddd55fd953d') + +build() { + cd "${srcdir}/gdk-pixbuf-${pkgver}" + + ./configure --prefix=/usr \ + --without-libjasper \ + --with-included-loaders=png + make || return 1 +} + +package() { + cd "${srcdir}/gdk-pixbuf-${pkgver}" + + make DESTDIR="${pkgdir}" install || return 1 +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/core/gdk-pixbuf2/gdk-pixbuf2.install b/abs/core/gdk-pixbuf2/gdk-pixbuf2.install new file mode 100644 index 0000000..1b35942 --- /dev/null +++ b/abs/core/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 +} -- cgit v0.12