wok-next view gdk-pixbuf/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 402a4118d0fc |
children | 0e7893ac206d |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
16 xorg-libX11-dev gobject-introspection-dev gtk-doc util-linux-mount-dev"
17 BUILD_DEPENDS_arm="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
18 xorg-libX11-dev gtk-doc"
19 SPLIT="gdk-pixbuf-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 case "$ARCH" in
25 arm)
26 ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache"
27 echo "gio_can_sniff=yes" > arm.cache
28 ;;
29 esac
31 ./configure \
32 --with-x11 \
33 $CONFIGURE_ARGS $ARCH_ARGS &&
34 make && make install &&
36 mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0 &&
37 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 gdk-pixbuf)
45 copy @std
46 DEPENDS="glib libffi libjpeg-turbo libpng16 libxcb pcre \
47 tiff util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
48 xorg-libXau xorg-libXdmcp zlib"
49 ;;
50 *-dev)
51 copy @dev
52 DEPENDS="gdk-pixbuf glib-dev libjpeg-turbo-dev libffi-dev \
53 libpng16-dev libxcb-dev pcre-dev tiff-dev \
54 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
55 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev"
56 ;;
57 esac
58 }
60 # Updating gdk pixbuf loaders cache file...
61 post_install_gdk_pixbuf() {
62 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
63 }