wok-4.x view gdk-pixbuf/receipt @ rev 11730

tintin: don't use extension in desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Tue Feb 21 09:02:38 2012 -0800 (2012-02-21)
parents 8093141fda66
children 004b13a5d231 37d744940e6c
line source
1 # SliTaz package receipt.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.24.0"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for gtk2"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gtk.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
11 CROSS="bug: can not run test program"
13 DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
14 BUILD_DEPENDS="libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev \
15 xorg-libX11-dev zlib-dev pkg-config gobject-introspection-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --disable-glibtest \
23 --without-libjasper \
24 --with-included-loaders=bmp,gif,jpeg,pcx,png,xpm \
25 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
35 $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
36 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 }
40 # Pre and post install commands for Tazpkg.
41 post_install()
42 {
43 echo "Creating /etc/gtk-2.0/gdk-pixbuf.loaders..."
44 if [ ! -d $1/etc/gtk-2.0 ]; then
45 mkdir -p $1/etc/gtk-2.0
46 fi
47 chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders
48 }