wok-6.x rev 23040

rebuild gdk-pixbuf and gdk-pixbuf-dev
author Hans-G?nter Theisgen
date Wed Mar 04 13:39:54 2020 +0100 (2020-03-04)
parents 2147274c2cdf
children d0c61e885e3a
files gdk-pixbuf-dev/receipt gdk-pixbuf/receipt
line diff
     1.1 --- a/gdk-pixbuf-dev/receipt	Wed Mar 04 09:31:52 2020 +0100
     1.2 +++ b/gdk-pixbuf-dev/receipt	Wed Mar 04 13:39:54 2020 +0100
     1.3 @@ -3,25 +3,27 @@
     1.4  PACKAGE="gdk-pixbuf-dev"
     1.5  VERSION="2.31.1"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="devel files for gdk-pixbuf"
     1.8 +SHORT_DESC="Development files for gdk-pixbuf."
     1.9  MAINTAINER="slaxemulator@gmail.com"
    1.10  LICENSE="GPL2"
    1.11  WEB_SITE="https://www.gtk.org/"
    1.12 +
    1.13 +DEPENDS="gdk-pixbuf glib-dev jpeg-dev libpng-dev pkg-config"
    1.14  WANTED="gdk-pixbuf"
    1.15 +
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18 -DEPENDS="gdk-pixbuf glib-dev libpng-dev jpeg-dev pkg-config"
    1.19 -
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders $fs/usr/share
    1.24 -	[ -d "$install/usr/share/gir-1.0" ] && \
    1.25 -		cp -a $install/usr/share/gir-1.0 $fs/usr/share
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.28 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 +	mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.30 +	mkdir -p $fs/usr/share
    1.31 +
    1.32 +	[ -d "$install/usr/share/gir-1.0" ] &&
    1.33 +		cp -a $install/usr/share/gir-1.0	$fs/usr/share
    1.34 +	cp -a $install/usr/include		$fs/usr
    1.35 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.36 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.37  	cp -a $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.*a \
    1.38 -		$fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.39 +						$fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.40  }
    1.41 -
     2.1 --- a/gdk-pixbuf/receipt	Wed Mar 04 09:31:52 2020 +0100
     2.2 +++ b/gdk-pixbuf/receipt	Wed Mar 04 13:39:54 2020 +0100
     2.3 @@ -3,18 +3,20 @@
     2.4  PACKAGE="gdk-pixbuf"
     2.5  VERSION="2.31.1"
     2.6  CATEGORY="x-window"
     2.7 -SHORT_DESC="An image loading library for gtk2"
     2.8 +SHORT_DESC="An image loading library for gtk2."
     2.9  MAINTAINER="slaxemulator@gmail.com"
    2.10  LICENSE="GPL2"
    2.11 +WEB_SITE="https://www.gtk.org/"
    2.12 +
    2.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.14 -WEB_SITE="https://www.gtk.org/"
    2.15  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.16 +
    2.17 +DEPENDS="glib jpeg libgio libpng shared-mime-info tiff xorg-libX11 zlib"
    2.18 +BUILD_DEPENDS="glib-dev jbigkit jpeg-dev libgio-dev libpng-dev 
    2.19 +	shared-mime-info-dev tiff-dev xorg-libX11-dev zlib-dev"
    2.20 +
    2.21  HOST_ARCH="i486 arm"
    2.22  
    2.23 -DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
    2.24 -BUILD_DEPENDS="libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev \
    2.25 -xorg-libX11-dev zlib-dev shared-mime-info-dev"
    2.26 -
    2.27  # Handle cross compilation
    2.28  case "$ARCH" in
    2.29  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
    2.30 @@ -27,24 +29,26 @@
    2.31  	case "$ARCH" in
    2.32  		arm) echo "gio_can_sniff=yes" > arm.cache ;;
    2.33  	esac
    2.34 -	./configure \
    2.35 -		--disable-glibtest \
    2.36 -		--without-libjasper \
    2.37 -		--with-x11 \
    2.38 +	./configure			\
    2.39 +		--disable-glibtest	\
    2.40 +		--without-libjasper	\
    2.41 +		--with-x11		\
    2.42  		$CONFIGURE_ARGS $ARCH_ARGS &&
    2.43 -	make && make install
    2.44 +	make &&
    2.45 +	make install
    2.46  }
    2.47  
    2.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.49  genpkg_rules()
    2.50  {
    2.51  	mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    2.52 -	cp -a $install/usr/bin $fs/usr
    2.53 +
    2.54 +	cp -a $install/usr/bin		$fs/usr
    2.55  	cp -a $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
    2.56 -		$fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    2.57 -	[ -d "$install/usr/lib/girepository-1.0" ] && \
    2.58 -		cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    2.59 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.60 +					$fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    2.61 +	[ -d "$install/usr/lib/girepository-1.0" ] &&
    2.62 +		cp -a $install/usr/lib/girepository-1.0	$fs/usr/lib
    2.63 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.64  	touch $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
    2.65  }
    2.66