wok diff librsvg/receipt @ rev 23367

updated perl-math-round (0.06 -> 0.07)
author Hans-G?nter Theisgen
date Tue Mar 31 13:15:04 2020 +0100 (2020-03-31)
parents 6863f40dbeaa
children 557de358e9d4
line diff
     1.1 --- a/librsvg/receipt	Mon May 23 16:51:33 2016 +0300
     1.2 +++ b/librsvg/receipt	Tue Mar 31 13:15:04 2020 +0100
     1.3 @@ -1,25 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="librsvg"
     1.7 -VERSION="2.34.2"
     1.8 +VERSION="2.40.16"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="SVG Rendering Library"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://librsvg.sourceforge.net/"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 +WEB_SITE="https://wiki.gnome.org/LibRsvg"
    1.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    1.18  HOST_ARCH="i486 arm"
    1.19  
    1.20 -DEPENDS="cairo freetype libxml2 pango fontconfig libcroco xcb-util libgsf \
    1.21 -libgio gdk-pixbuf xorg-libXinerama xorg-libXcursor xorg-libXcomposite \
    1.22 -xorg-libXext xorg-libXdamage"
    1.23 +DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base harfbuzz \
    1.24 +libcroco libffi libgio libpng libxcb libxml2 pango pcre pixman xorg-libX11 \
    1.25 +xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
    1.26  BUILD_DEPENDS="libffi-dev cairo-dev freetype-dev libxml2-dev pango-dev \
    1.27  fontconfig-dev gdk-pixbuf-dev libcroco-dev glib-dev libpng-dev expat-dev"
    1.28  
    1.29  # Handle cross compilation
    1.30  case "$ARCH" in
    1.31 -	i?86) BUILD_DEPENDS="gtk+-dev perl libgsf" ;;
    1.32 +	i?86) BUILD_DEPENDS="gtk-doc perl libgsf libcroco-dev \
    1.33 +	gobject-introspection-dev gtk+3-dev" ;;
    1.34  esac
    1.35  
    1.36  # Rules to configure and make the package.
    1.37 @@ -27,23 +28,15 @@
    1.38  {
    1.39  	./configure \
    1.40  		--disable-static \
    1.41 -		$CONFIGURE_ARGS LIBCROCO_CFLAGS="-I/cross/$ARCH/sysroot/usr/include" &&
    1.42 +		LIBCROCO_CFLAGS="-I/cross/$ARCH/sysroot/usr/include" \
    1.43 +		$CONFIGURE_ARGS &&
    1.44  	make && make install
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50 -	mkdir -p $fs/usr/lib
    1.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.52 -	[ -d "$install/usr/lib/gtk-2.0" ] && \
    1.53 -		cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
    1.54 -	cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
    1.55 -
    1.56 -	# remove *.*a files
    1.57 -	[ -d "$install/usr/lib/gtk-2.0" ] && \
    1.58 -		find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \;
    1.59 -	find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.*a" -exec rm -f {} \;
    1.60 +	cook_copy_files *.so*
    1.61  }
    1.62  
    1.63  # Pre and post install commands for Tazpkg.