2006-02-23 17:10:28 +00:00
|
|
|
# Description: A 2D graphics library with support for multiple output devices
|
2021-01-03 13:04:53 +01:00
|
|
|
# URL: https://www.cairographics.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: fontconfig, xorg-libxext, xorg-libxrender, xorg-libpixman, xorg-xcb-util, glib
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
name=cairo
|
2021-01-03 13:04:53 +01:00
|
|
|
version=1.17.4
|
|
|
|
release=1
|
|
|
|
source=(https://cairographics.org/snapshots/$name-$version.tar.xz
|
|
|
|
xlib-xcb.diff fix-library-versioning.diff)
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
build() {
|
2021-01-03 13:04:53 +01:00
|
|
|
patch -p1 -d $name-$version -i $SRC/fix-library-versioning.diff
|
|
|
|
patch -p1 -d $name-$version -i $SRC/xlib-xcb.diff
|
2017-07-17 14:04:08 +02:00
|
|
|
|
2021-01-03 13:04:53 +01:00
|
|
|
meson setup build $name-$version \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
-D spectre=disabled \
|
|
|
|
-D tee=enabled \
|
|
|
|
-D tests=disabled
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
|
|
|
|
chmod +x $PKG/usr/bin/cairo-trace
|
2006-02-23 17:10:28 +00:00
|
|
|
}
|