wok-6.x annotate cairo-gl/receipt @ rev 18450

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