wok annotate cairo-gl/receipt @ rev 24683

updated jack-audio-connection-kit and jack-audio-connection-kit-dev (0.125.0 -> 1.9.20)
author Hans-G?nter Theisgen
date Sat Mar 12 10:39:47 2022 +0100 (2022-03-12)
parents 2c5c15f050b7
children f01b54fbd046
rev   line source
pankso@16204 1 # SliTaz package receipt.
pankso@16204 2
pankso@16204 3 PACKAGE="cairo-gl"
Hans-G?nter@20760 4 VERSION="1.16.0"
pankso@16204 5 CATEGORY="x-window"
Hans-G?nter@23263 6 SHORT_DESC="2D graphics library with GL support."
pankso@16204 7 MAINTAINER="pankso@slitaz.org"
pankso@16204 8 LICENSE="MPL LGPL2.1"
Hans-G?nter@20760 9 WEB_SITE="https://www.cairographics.org/"
Hans-G?nter@20760 10
pankso@16204 11 SOURCE="cairo"
pankso@16204 12 TARBALL="$SOURCE-$VERSION.tar.xz"
al@19250 13 WGET_URL="${WEB_SITE}releases/$TARBALL"
pankso@16204 14
Hans-G?nter@23263 15 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi
Hans-G?nter@23263 16 libpng libxcb libxml2 mesa libegl-mesa pcre pixman udev xorg-libX11
Hans-G?nter@23263 17 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes
Hans-G?nter@23263 18 xorg-libXrender xorg-libXxf86vm zlib"
Hans-G?nter@23263 19 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev glib-dev libdrm-dev
Hans-G?nter@23263 20 libegl-mesa libpng-dev libxcb-dev libxml2-dev mesa-dev pixman-dev
Hans-G?nter@23263 21 pkg-config udev-dev xcb-util-dev xorg-libX11-dev xorg-libXau-dev
Hans-G?nter@23263 22 xorg-libXdmcp-dev xorg-libXrender-dev xorg-libXxf86vm-dev zlib-dev"
al@19250 23 SPLIT="cairo-gl-tools"
al@19250 24 SIBLINGS="cairo"
pankso@16204 25
pascal@24402 26 # What is the latest version available today?
pascal@24402 27 current_version()
pascal@24402 28 {
pascal@24402 29 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24402 30 sed "/\"$SOURCE-/!d;/5c/d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24402 31 }
pascal@24402 32
pankso@16204 33 # Rules to configure and make the package.
pankso@16204 34 compile_rules()
pankso@16204 35 {
Hans-G?nter@23263 36 sed -i '/index.sgml/d' \
Hans-G?nter@23263 37 doc/public/Makefile*
Hans-G?nter@23263 38
Hans-G?nter@23263 39 ./configure \
Hans-G?nter@23263 40 --prefix=/usr \
Hans-G?nter@23263 41 --enable-xcb \
Hans-G?nter@23263 42 --enable-tee \
Hans-G?nter@23263 43 --enable-gl \
Hans-G?nter@23263 44 --disable-static \
al@19250 45 $CONFIGURE_ARGS &&
pankso@16204 46 make $MAKEFLAGS &&
pankso@16204 47 make DESTDIR=$DESTDIR install
pankso@16204 48 }
pankso@16204 49
pankso@16204 50 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16204 51 genpkg_rules()
pankso@16204 52 {
pankso@16204 53 mkdir -p $fs/usr/lib
Hans-G?nter@23263 54 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16204 55 }