wok-next annotate gdk-pixbuf/receipt @ rev 19884
libxklavier: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 07 14:53:11 2017 +0200 (2017-10-07) |
parents | 402a4118d0fc |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19775 | 1 # SliTaz package receipt v2. |
slaxemulator@6630 | 2 |
slaxemulator@6630 | 3 PACKAGE="gdk-pixbuf" |
al@19775 | 4 VERSION="2.36.5" |
slaxemulator@6630 | 5 CATEGORY="x-window" |
al@19775 | 6 SHORT_DESC="An image loading library for GTK+2" |
slaxemulator@6630 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@6630 | 9 WEB_SITE="http://www.gtk.org/" |
pankso@16131 | 10 HOST_ARCH="i486 arm" |
pankso@10350 | 11 |
al@19679 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19679 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@19679 | 14 |
al@19775 | 15 BUILD_DEPENDS="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \ |
al@19775 | 16 xorg-libX11-dev gobject-introspection-dev gtk-doc util-linux-mount-dev" |
al@19775 | 17 BUILD_DEPENDS_arm="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \ |
al@19679 | 18 xorg-libX11-dev gtk-doc" |
al@19775 | 19 SPLIT="gdk-pixbuf-dev" |
slaxemulator@6630 | 20 |
slaxemulator@6630 | 21 # Rules to configure and make the package. |
slaxemulator@6630 | 22 compile_rules() |
slaxemulator@6630 | 23 { |
pankso@16131 | 24 case "$ARCH" in |
al@19775 | 25 arm) |
al@19775 | 26 ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache" |
al@19775 | 27 echo "gio_can_sniff=yes" > arm.cache |
al@19775 | 28 ;; |
pankso@16131 | 29 esac |
al@19679 | 30 |
slaxemulator@6630 | 31 ./configure \ |
slaxemulator@13158 | 32 --with-x11 \ |
pankso@16131 | 33 $CONFIGURE_ARGS $ARCH_ARGS && |
al@19775 | 34 make && make install && |
al@19775 | 35 |
al@19775 | 36 mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0 && |
al@19775 | 37 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache |
slaxemulator@6630 | 38 } |
slaxemulator@6630 | 39 |
slaxemulator@6630 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6630 | 41 genpkg_rules() |
slaxemulator@6630 | 42 { |
al@19775 | 43 case $PACKAGE in |
al@19775 | 44 gdk-pixbuf) |
al@19775 | 45 copy @std |
al@19779 | 46 DEPENDS="glib libffi libjpeg-turbo libpng16 libxcb pcre \ |
al@19775 | 47 tiff util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ |
al@19775 | 48 xorg-libXau xorg-libXdmcp zlib" |
al@19775 | 49 ;; |
al@19775 | 50 *-dev) |
al@19775 | 51 copy @dev |
al@19775 | 52 DEPENDS="gdk-pixbuf glib-dev libjpeg-turbo-dev libffi-dev \ |
al@19779 | 53 libpng16-dev libxcb-dev pcre-dev tiff-dev \ |
al@19775 | 54 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@19775 | 55 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev" |
al@19775 | 56 ;; |
al@19775 | 57 esac |
slaxemulator@6630 | 58 } |
slaxemulator@6630 | 59 |
al@19775 | 60 # Updating gdk pixbuf loaders cache file... |
al@19775 | 61 post_install_gdk_pixbuf() { |
al@18663 | 62 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache |
slaxemulator@6630 | 63 } |