wok-current view gdk-pixbuf/receipt @ rev 7769
Changed gdk-pixbuf post_install to --update-cache instead of creating a file in /etc/gtk-2.0. The file will now be in /usr/lib/gdk-pixbuf-2.0/2.10.0/ folder. This should fix problems with programs using .gif and .svg image files.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 22 19:10:02 2010 +0000 (2010-12-22) |
parents | 4ed72f460cde |
children | 2a405464f5b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.22.1"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for gtk2"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
9 BUILD_DEPENDS="$DEPENDS libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev zlib-dev pkg-config gobject-introspection-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gtk.org/"
12 WGET_URL="http://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --without-libjasper \
23 --with-included-loaders=png,xpm,jpeg \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }
37 # Pre and post install commands for Tazpkg.
38 post_install()
39 {
40 echo "Updating /usr/lib/gdk-pixbuf/2.10.0/loaders.cache file..."
41 chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache
42 }