aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-28 12:02:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-28 12:02:17 +0000
commitb5ab585eec029d1a78f6d66aab0f03af3770aebd (patch)
tree0d0abb259730932336825313b38c9dc6d5bb2861 /main
parentb0710e94f129607684cfba371a3b63d88b36ee06 (diff)
downloadaports-b5ab585eec029d1a78f6d66aab0f03af3770aebd.tar.bz2
aports-b5ab585eec029d1a78f6d66aab0f03af3770aebd.tar.xz
main/gdk-pixbuf: move pixbuf loaders trigger from gtk+
Diffstat (limited to 'main')
-rw-r--r--main/gdk-pixbuf/APKBUILD7
-rw-r--r--main/gdk-pixbuf/gdk-pixbuf.pre-deinstall3
-rw-r--r--main/gdk-pixbuf/gdk-pixbuf.trigger3
3 files changed, 10 insertions, 3 deletions
diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD
index 1d6cde5bcb..47277f4c6e 100644
--- a/main/gdk-pixbuf/APKBUILD
+++ b/main/gdk-pixbuf/APKBUILD
@@ -1,16 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdk-pixbuf
pkgver=2.22.0
-pkgrel=0
+pkgrel=1
pkgdesc="GDK Pixbuf library"
url="http://www.gtk.org/"
license="LGPL"
depends=
depends_dev=
makedepends="tiff-dev libpng-dev glib-dev jpeg-dev gobject-introspection"
-install=
+install="$pkgname.pre-deinstall"
+triggers="$pkgname.trigger:/usr/lib/gdk-pixbuf-2.0/*/loaders"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.22/gdk-pixbuf-$pkgver.tar.bz2"
+source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
diff --git a/main/gdk-pixbuf/gdk-pixbuf.pre-deinstall b/main/gdk-pixbuf/gdk-pixbuf.pre-deinstall
new file mode 100644
index 0000000000..d7497db4bb
--- /dev/null
+++ b/main/gdk-pixbuf/gdk-pixbuf.pre-deinstall
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
diff --git a/main/gdk-pixbuf/gdk-pixbuf.trigger b/main/gdk-pixbuf/gdk-pixbuf.trigger
new file mode 100644
index 0000000000..b97f005f02
--- /dev/null
+++ b/main/gdk-pixbuf/gdk-pixbuf.trigger
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+gdk-pixbuf-query-loaders --update-cache