wok-next annotate cairo/receipt @ rev 21124

Rename florence-gtk2 -> florence05; remove fltk-2.0.x; add codec2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 16 21:52:02 2019 +0200 (2019-01-16)
parents 82b613cfd1e0
children
rev   line source
al@19737 1 # SliTaz package receipt v2.
pankso@22 2
pankso@22 3 PACKAGE="cairo"
al@21071 4 VERSION="1.16.0"
pankso@22 5 CATEGORY="x-window"
al@19250 6 SHORT_DESC="2D graphics library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15022 8 LICENSE="MPL LGPL2.1"
al@19250 9 WEB_SITE="https://www.cairographics.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/cairo.html"
pankso@16083 11
al@19737 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19737 13 WGET_URL="${WEB_SITE}releases/$TARBALL"
al@21105 14 TARBALL_SHA1="00e81842ae5e81bb0343108884eb5205be0eac14"
al@19737 15
al@21105 16 BUILD_DEPENDS="zlib-dev libx11-dev libxext-dev libice-dev libxrender-dev \
al@21105 17 libxcb-dev libpng-dev freetype-dev fontconfig-dev libspectre-dev poppler-dev \
al@21105 18 librsvg-dev gtk2-dev pixman-dev"
al@21105 19 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
al@21105 20
al@21105 21 COPY_libcairo="libcairo.so* libcairo-gobject.so* libcairo-script-interpreter.so*"
al@21105 22
al@21124 23 CAT_libcairo="x-window|shared libraries"
al@21105 24 CAT_std="development|development tools"
pankso@16083 25
al@20542 26 COOKOPTS="skip-log-errors"
pankso@22 27
al@21105 28 DEPENDS_libcairo="fontconfig freetype glib libpng libx11 libxcb pixman zlib"
al@21105 29 DEPENDS_std="lib$PACKAGE glib libbfd libx11 libxcb libxrender pixman zlib"
al@21105 30 DEPENDS_dev="lib$PACKAGE $PACKAGE fontconfig-dev freetype-dev glib-dev \
al@21105 31 libpng-dev libx11-dev libxcb-dev libxext-dev libxrender-dev pixman-dev zlib-dev"
al@21071 32
al@20443 33 compile_rules() {
pankso@1999 34 ./configure \
pankso@5336 35 --enable-xcb \
al@19250 36 --enable-xlib-xcb \
slaxemulator@9383 37 --enable-tee \
slaxemulator@6628 38 --disable-static \
al@21071 39 --disable-gl \
al@20542 40 $CONFIGURE_ARGS &&
al@20443 41 fix libtool &&
slaxemulator@13171 42 make $MAKEFLAGS &&
al@21020 43 make DESTDIR=$install install
pankso@22 44 }