wok view gdk-pixbuf/receipt @ rev 20645

updated hostapd (2.6 -> 2.7)
author Hans-G?nter Theisgen
date Fri Jan 11 16:39:21 2019 +0100 (20 months ago)
parents a755a8e0a6e5
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.31.1"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for gtk2"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gtk.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
15 BUILD_DEPENDS="libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev \
16 xorg-libX11-dev zlib-dev shared-mime-info-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
21 arm) ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 case "$ARCH" in
28 arm) echo "gio_can_sniff=yes" > arm.cache ;;
29 esac
30 ./configure \
31 --disable-glibtest \
32 --without-libjasper \
33 --with-x11 \
34 $CONFIGURE_ARGS $ARCH_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
44 $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
45 [ -d "$install/usr/lib/girepository-1.0" ] && \
46 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 touch $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
49 }
51 # Pre and post install commands for Tazpkg.
52 post_install()
53 {
54 # Updating gdk pixbuf loaders cache file...
55 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
56 }