wok-next view gdk-pixbuf/receipt @ rev 20769
cookutils: up (1071); python-alabaster, python-turbogears, python-webob: use pip; add python-crank, python-repoze.lru
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 17:36:07 2018 +0300 (2018-06-06) |
parents | a5d7827e08cf |
children | 551851c90944 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.36.5"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS_arm="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
15 xorg-libX11-dev gtk-doc"
16 BUILD_DEPENDS="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
17 xorg-libX11-dev gobject-introspection-dev gtk-doc util-linux-mount-dev"
18 SPLIT="gdk-pixbuf-dev"
20 compile_rules() {
21 case "$ARCH" in
22 arm)
23 ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache"
24 echo "gio_can_sniff=yes" > arm.cache
25 ;;
26 esac
28 ./configure \
29 --with-x11 \
30 $CONFIGURE_ARGS $ARCH_ARGS &&
31 fix libtool &&
32 make &&
33 make install || return 1
35 mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0
36 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 gdk-pixbuf)
42 copy @std
43 DEPENDS="glib libjpeg-turbo libpng16 tiff xorg-libX11"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="gdk-pixbuf glib-dev libpng16-dev"
48 ;;
49 esac
50 }
52 # Updating gdk pixbuf loaders cache file...
53 post_install_gdk_pixbuf() {
54 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
55 }