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

Update homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 12:53:17 2018 +0300 (2018-08-10)
parents 241675069a75
children 24a54f99ff54
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="https://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 libxslt \
19 docbook-xsl"
21 SPLIT="gdk-pixbuf-dev"
23 compile_rules() {
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 # build man pages instead of dummy files
32 rm docs/reference/gdk-pixbuf/*.1
34 ./configure \
35 --with-x11 \
36 --enable-man \
37 $CONFIGURE_ARGS $ARCH_ARGS &&
38 fix libtool &&
39 make &&
40 make install || return 1
42 mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0
43 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
44 }
46 genpkg_rules() {
47 case $PACKAGE in
48 gdk-pixbuf)
49 copy @std
50 DEPENDS="glib libjpeg-turbo libpng16 tiff xorg-libX11"
51 ;;
52 *-dev)
53 copy @dev
54 DEPENDS="gdk-pixbuf glib-dev libpng16-dev"
55 ;;
56 esac
57 }
59 # Updating gdk pixbuf loaders cache file...
60 post_install_gdk_pixbuf() {
61 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
62 }