From 718c8e57ef26498cff228de3de92bf5c8a3f6343 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Mar 2012 00:01:27 +0000 Subject: Thu Mar 8 00:01:27 UTC 2012 --- gnome-unstable/gdk-pixbuf2/PKGBUILD | 34 ++++++++++++++++++++++++++ gnome-unstable/gdk-pixbuf2/gdk-pixbuf2.install | 11 +++++++++ 2 files changed, 45 insertions(+) create mode 100644 gnome-unstable/gdk-pixbuf2/PKGBUILD create mode 100644 gnome-unstable/gdk-pixbuf2/gdk-pixbuf2.install (limited to 'gnome-unstable/gdk-pixbuf2') diff --git a/gnome-unstable/gdk-pixbuf2/PKGBUILD b/gnome-unstable/gdk-pixbuf2/PKGBUILD new file mode 100644 index 000000000..aa17d1744 --- /dev/null +++ b/gnome-unstable/gdk-pixbuf2/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 152274 2012-03-06 13:10:41Z ibiru $ +# Maintainer: Ionut Biru + +pkgname=gdk-pixbuf2 +pkgver=2.25.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=('e8bc5d7b823b5b8ecdf053225b12a9c26163ab23fcb68f176d3ec36ce96ff931') + +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..9a26e38dc --- /dev/null +++ b/gnome-unstable/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 v1.2.3-54-g00ecf