2012-11-21 11:12:43 -06:00
|
|
|
# Description: A 2D graphics library with support for multiple output devices
|
2020-06-17 19:38:34 -05:00
|
|
|
# URL: https://www.cairographics.org/
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2017-11-01 22:41:39 +11:00
|
|
|
# Depends on: cairo fontconfig-32 glib-32 xorg-libpixman-32 xorg-libxext-32 xorg-libxrender-32 xorg-xcb-util-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=cairo-32
|
2023-09-23 20:29:53 +02:00
|
|
|
version=1.18.0
|
2013-09-21 10:23:54 +10:00
|
|
|
release=1
|
2023-02-02 23:05:42 +01:00
|
|
|
source=(https://gitlab.freedesktop.org/cairo/cairo/-/archive/$version/cairo-$version.tar.bz2)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2021-01-19 20:22:41 +11:00
|
|
|
meson setup build ${name%-*}-$version \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=lib32 \
|
|
|
|
--buildtype=plain \
|
2023-02-02 23:05:42 +01:00
|
|
|
-D dwrite=disabled \
|
2021-01-19 20:22:41 +11:00
|
|
|
-D spectre=disabled \
|
2023-02-02 23:05:42 +01:00
|
|
|
-D symbol-lookup=disabled \
|
2021-01-19 20:22:41 +11:00
|
|
|
-D tests=disabled
|
2018-10-07 14:54:02 +11:00
|
|
|
|
2021-01-19 20:22:41 +11:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2014-10-27 22:36:45 +11:00
|
|
|
|
2021-01-19 20:22:41 +11:00
|
|
|
rm -r $PKG/usr/{bin,include}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|