# 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.4 release=1 source=(https://cairographics.org/snapshots/${name%-*}-$version.tar.xz xlib-xcb.diff fix-library-versioning.diff) build() { patch -p1 -d ${name%-*}-$version -i $SRC/fix-library-versioning.diff patch -p1 -d ${name%-*}-$version -i $SRC/xlib-xcb.diff 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} }