wok-next view gdk-pixbuf/receipt @ rev 20899

fuse3: up (3.2.4); galculator: up (2.1.4); gcr: up (3.28.0); gdk-pixbuf: up (2.36.12)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 21 13:39:12 2018 +0300 (2018-07-21)
parents 342b30daff76
children 241675069a75
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.36.12"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for GTK+2"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gtk.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/gdk-pixbuf.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS_arm="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
16 xorg-libX11-dev gtk-doc"
17 BUILD_DEPENDS="glib-dev perl gettext tiff-dev libjpeg-turbo-dev libpng16-dev \
18 shared-mime-info-dev xorg-libX11-dev gobject-introspection-dev"
20 SPLIT="gdk-pixbuf-dev"
22 compile_rules() {
23 case "$ARCH" in
24 arm)
25 ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache"
26 echo "gio_can_sniff=yes" > arm.cache
27 ;;
28 esac
30 ./configure \
31 --with-x11 \
32 $CONFIGURE_ARGS $ARCH_ARGS &&
33 fix libtool &&
34 make &&
35 make install || return 1
37 mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0
38 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 gdk-pixbuf)
44 copy @std
45 DEPENDS="glib libjpeg-turbo libpng16 tiff xorg-libX11"
46 ;;
47 *-dev)
48 copy @dev
49 DEPENDS="gdk-pixbuf glib-dev libpng16-dev"
50 ;;
51 esac
52 }
54 # Updating gdk pixbuf loaders cache file...
55 post_install_gdk_pixbuf() {
56 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
57 }