wok diff gdk-pixbuf/receipt @ rev 23648

updated slib (3b5 -> 3b6)
author Hans-G?nter Theisgen
date Mon Apr 20 14:28:42 2020 +0100 (2020-04-20)
parents a78610b2eb47
children 5d79829fa876
line diff
     1.1 --- a/gdk-pixbuf/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/gdk-pixbuf/receipt	Mon Apr 20 14:28:42 2020 +0100
     1.3 @@ -3,18 +3,20 @@
     1.4  PACKAGE="gdk-pixbuf"
     1.5  VERSION="2.31.1"
     1.6  CATEGORY="x-window"
     1.7 -SHORT_DESC="An image loading library for gtk2"
     1.8 +SHORT_DESC="An image loading library for gtk2."
     1.9  MAINTAINER="slaxemulator@gmail.com"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="https://www.gtk.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 -WEB_SITE="https://www.gtk.org/"
    1.15  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +DEPENDS="glib jpeg libgio libpng shared-mime-info tiff xorg-libX11 zlib"
    1.18 +BUILD_DEPENDS="glib-dev jbigkit jpeg-dev libgio-dev libpng-dev 
    1.19 +	shared-mime-info-dev tiff-dev xorg-libX11-dev zlib-dev"
    1.20 +
    1.21  HOST_ARCH="i486 arm"
    1.22  
    1.23 -DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
    1.24 -BUILD_DEPENDS="libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev \
    1.25 -xorg-libX11-dev zlib-dev shared-mime-info-dev"
    1.26 -
    1.27  # Handle cross compilation
    1.28  case "$ARCH" in
    1.29  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
    1.30 @@ -27,24 +29,26 @@
    1.31  	case "$ARCH" in
    1.32  		arm) echo "gio_can_sniff=yes" > arm.cache ;;
    1.33  	esac
    1.34 -	./configure \
    1.35 -		--disable-glibtest \
    1.36 -		--without-libjasper \
    1.37 -		--with-x11 \
    1.38 +	./configure			\
    1.39 +		--disable-glibtest	\
    1.40 +		--without-libjasper	\
    1.41 +		--with-x11		\
    1.42  		$CONFIGURE_ARGS $ARCH_ARGS &&
    1.43 -	make && make install
    1.44 +	make &&
    1.45 +	make install
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51  	mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 +
    1.54 +	cp -a $install/usr/bin		$fs/usr
    1.55  	cp -a $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
    1.56 -		$fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.57 -	[ -d "$install/usr/lib/girepository-1.0" ] && \
    1.58 -		cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.59 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.60 +					$fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.61 +	[ -d "$install/usr/lib/girepository-1.0" ] &&
    1.62 +		cp -a $install/usr/lib/girepository-1.0	$fs/usr/lib
    1.63 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.64  	touch $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
    1.65  }
    1.66