diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-28 12:02:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-28 12:02:17 +0000 |
commit | b5ab585eec029d1a78f6d66aab0f03af3770aebd (patch) | |
tree | 0d0abb259730932336825313b38c9dc6d5bb2861 /main/gdk-pixbuf | |
parent | b0710e94f129607684cfba371a3b63d88b36ee06 (diff) | |
download | aports-b5ab585eec029d1a78f6d66aab0f03af3770aebd.tar.bz2 aports-b5ab585eec029d1a78f6d66aab0f03af3770aebd.tar.xz |
main/gdk-pixbuf: move pixbuf loaders trigger from gtk+
Diffstat (limited to 'main/gdk-pixbuf')
-rw-r--r-- | main/gdk-pixbuf/APKBUILD | 7 | ||||
-rw-r--r-- | main/gdk-pixbuf/gdk-pixbuf.pre-deinstall | 3 | ||||
-rw-r--r-- | main/gdk-pixbuf/gdk-pixbuf.trigger | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD index 1d6cde5bc..47277f4c6 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 000000000..d7497db4b --- /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 000000000..b97f005f0 --- /dev/null +++ b/main/gdk-pixbuf/gdk-pixbuf.trigger @@ -0,0 +1,3 @@ +#!/bin/sh + +gdk-pixbuf-query-loaders --update-cache |