wok view cairo-gl/receipt @ rev 17819
Up: blender 2.73a
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Mar 22 08:45:09 2015 +0000 (2015-03-22) |
parents | 5d1b6e61470d |
children | 188a05620c45 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-gl"
4 VERSION="1.12.10"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library with GL support."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 SOURCE="cairo"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://www.cairographics.org/"
12 WGET_URL="http://cairographics.org/releases/$TARBALL"
13 #HOST_ARCH="arm i486"
15 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
16 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb mesa-wayland"
17 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
18 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
19 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev \
20 mesa-wayland-dev wayland-dev udev-dev xorg-libXxf86vm-dev libdrm-dev"
22 # Handle cross compilation
23 case "$ARCH" in
24 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
31 # https://bugs.freedesktop.org/show_bug.cgi?id=50852
32 patch -Np1 -i $stuff/cairo-1.12.2-reduce-broken-stopped-edge-continuation.patch
33 ./configure \
34 --prefix=/usr \
35 --with-html-dir=/usr/share/doc \
36 --enable-xcb \
37 --enable-tee \
38 --enable-gl \
39 --disable-static \
40 $CONFIGURE_ARGS &&
41 make $MAKEFLAGS &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 }