forked from ports/compat-32
28 lines
782 B
Plaintext
28 lines
782 B
Plaintext
# Description: A 2D graphics library with support for multiple output devices
|
|
# URL: https://www.cairographics.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: cairo fontconfig-32 glib-32 xorg-libpixman-32 xorg-libxext-32 xorg-libxrender-32 xorg-xcb-util-32
|
|
|
|
name=cairo-32
|
|
version=1.17.6
|
|
release=1
|
|
source=(https://gitlab.freedesktop.org/cairo/cairo/-/archive/$version/cairo-$version.tar.bz2
|
|
fix-cairo-sphinx.patch)
|
|
|
|
build() {
|
|
patch -d cairo-$version -p1 -i $SRC/fix-cairo-sphinx.patch
|
|
|
|
meson setup build ${name%-*}-$version \
|
|
--prefix=/usr \
|
|
--libdir=lib32 \
|
|
--buildtype=plain \
|
|
-D spectre=disabled \
|
|
-D tee=enabled \
|
|
-D tests=disabled
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/{bin,include}
|
|
}
|