1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Brice Carpentier <brice@daknet.org>
8 pkgdesc="2D graphics library with support for multiple output devices"
9 url="https://cairographics.org/"
12 depends=(lzo zlib libpng fontconfig freetype2 libx11 libxext libxrender libxcb
14 makedepends=(valgrind git meson gtk-doc)
16 _commit=b43e7c6f3cf7855e16170a06d3a9c7234c60ca94 # tags/1.17.6^0
17 source=("git+https://gitlab.freedesktop.org/cairo/cairo.git#commit=$_commit"
18 0001-Fix-type1-subset-indexing.patch)
20 '296be3c73638314bea08fa51b5f1650ea0a2aab2a037ea55e41c319d64ca4c3c')
24 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 patch -Np1 -i ../0001-Fix-type1-subset-indexing.patch
35 arch-meson cairo build \
39 -D symbol-lookup=disabled \
41 meson compile -C build
45 meson install -C build --destdir "$pkgdir"