wok rev 13171

Up: cairo to 1.12.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jul 30 04:38:03 2012 +0000 (2012-07-30)
parents fd292e30db28
children d8228805d4f0
files cairo-dev/receipt cairo/receipt
line diff
     1.1 --- a/cairo-dev/receipt	Mon Jul 30 04:26:01 2012 +0000
     1.2 +++ b/cairo-dev/receipt	Mon Jul 30 04:38:03 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cairo-dev"
     1.7 -VERSION="1.10.2"
     1.8 +VERSION="1.12.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="2D graphics library devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -13,7 +13,7 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/lib
    1.16 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.17 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.18 -	cp -a $_pkg/usr/include $fs/usr
    1.19 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.20 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.21 +	cp -a $install/usr/include $fs/usr
    1.22  }
     2.1 --- a/cairo/receipt	Mon Jul 30 04:26:01 2012 +0000
     2.2 +++ b/cairo/receipt	Mon Jul 30 04:38:03 2012 +0000
     2.3 @@ -1,24 +1,26 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="cairo"
     2.7 -VERSION="1.10.2"
     2.8 +VERSION="1.12.2"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="2D graphics library."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
    2.14 +xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
    2.15 +BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
    2.16 +freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
    2.17 +xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev"
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.19  WEB_SITE="http://www.cairographics.org/"
    2.20  WGET_URL="http://cairographics.org/releases/$TARBALL"
    2.21  
    2.22 -DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
    2.23 -xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
    2.24 -BUILD_DEPENDS="pkg-config expat-dev libpng-dev libgio-dev glib-dev libxcb-dev \
    2.25 -pixman-dev"
    2.26 -
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30  	cd $src
    2.31  	patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
    2.32 +	# https://bugs.freedesktop.org/show_bug.cgi?id=50852
    2.33 +	patch -Np1 -i $stuff/cairo-1.12.2-reduce-broken-stopped-edge-continuation.patch
    2.34  	./configure \
    2.35  		--prefix=/usr \
    2.36   		--mandir=/usr/share/man \
    2.37 @@ -27,7 +29,8 @@
    2.38  		--enable-tee \
    2.39  		--disable-static \
    2.40   		$CONFIGURE_ARGS &&
    2.41 -	make $MAKEFLAGS && make install
    2.42 +	make $MAKEFLAGS &&
    2.43 +	make DESTDIR=$DESTDIR install
    2.44  }
    2.45  
    2.46  # Rules to gen a SliTaz package suitable for Tazpkg.