wok-next view cairo/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents 4d9f82dabdbb
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo"
4 VERSION="1.16.0"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="https://www.cairographics.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/cairo.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}releases/$TARBALL"
15 BUILD_DEPENDS="zlib-dev libx11-dev libxext-dev libice-dev \
16 libxrender-dev libxcb-dev libpng-dev freetype-dev fontconfig-dev \
17 libspectre-dev poppler-dev librsvg-dev gtk2-dev pixman-dev"
18 SPLIT="$PACKAGE-tools $PACKAGE-dev"
20 COOKOPTS="skip-log-errors"
22 COPY_std="libcairo.so* libcairo-gobject.so* libcairo-script-interpreter.so*"
23 COPY_tools="bin/ cairo-fdr.so* cairo-sphinx.so* libcairo-trace.so*"
25 CAT_tools="development|development tools"
27 DEPENDS_std="fontconfig freetype glib libpng libx11 libxcb \
28 pixman zlib"
29 DEPENDS_tools="cairo glib libx11 libxrender libxcb pixman \
30 zlib"
31 DEPENDS_dev="cairo cairo-tools \
32 fontconfig-dev freetype-dev glib-dev libpng-dev libx11-dev \
33 libxext-dev libxrender-dev libxcb-dev pixman-dev zlib-dev"
35 compile_rules() {
36 ./configure \
37 --enable-xcb \
38 --enable-xlib-xcb \
39 --enable-tee \
40 --disable-static \
41 --disable-gl \
42 $CONFIGURE_ARGS &&
43 fix libtool &&
44 make $MAKEFLAGS &&
45 make DESTDIR=$install install
46 }