wok diff cairo/receipt @ rev 14831

Up: xfconf* (4.10.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:54:50 2013 +0200 (2013-07-17)
parents ab4e237c956b
children 5286a067ac76
line diff
     1.1 --- a/cairo/receipt	Fri Apr 27 15:37:36 2012 +0200
     1.2 +++ b/cairo/receipt	Wed Jul 17 13:54:50 2013 +0200
     1.3 @@ -1,24 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cairo"
     1.7 -VERSION="1.10.2"
     1.8 +VERSION="1.12.2"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="2D graphics library."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
    1.14 +xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
    1.15 +BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
    1.16 +freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
    1.17 +xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19  WEB_SITE="http://www.cairographics.org/"
    1.20  WGET_URL="http://cairographics.org/releases/$TARBALL"
    1.21  
    1.22 -DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
    1.23 -xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
    1.24 -BUILD_DEPENDS="pkg-config expat-dev libpng-dev libgio-dev glib-dev libxcb-dev \
    1.25 -pixman-dev"
    1.26 -
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30  	cd $src
    1.31  	patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
    1.32 +	# https://bugs.freedesktop.org/show_bug.cgi?id=50852
    1.33 +	patch -Np1 -i $stuff/cairo-1.12.2-reduce-broken-stopped-edge-continuation.patch
    1.34  	./configure \
    1.35  		--prefix=/usr \
    1.36   		--mandir=/usr/share/man \
    1.37 @@ -27,7 +29,8 @@
    1.38  		--enable-tee \
    1.39  		--disable-static \
    1.40   		$CONFIGURE_ARGS &&
    1.41 -	make $MAKEFLAGS && make install
    1.42 +	make $MAKEFLAGS &&
    1.43 +	make DESTDIR=$DESTDIR install
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.