summaryrefslogtreecommitdiff
path: root/gnome-unstable/gdk-pixbuf2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
commit718c8e57ef26498cff228de3de92bf5c8a3f6343 (patch)
treebff46acd12c91eafe51a7feebb7f840e9834cc0e /gnome-unstable/gdk-pixbuf2
parent5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff)
Thu Mar 8 00:01:27 UTC 2012
Diffstat (limited to 'gnome-unstable/gdk-pixbuf2')
-rw-r--r--gnome-unstable/gdk-pixbuf2/PKGBUILD34
-rw-r--r--gnome-unstable/gdk-pixbuf2/gdk-pixbuf2.install11
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..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 <ibiru@archlinux.org>
+
+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
+}