32 lines
868 B
Plaintext
32 lines
868 B
Plaintext
# Description: A 2D graphics library with support for multiple output devices
|
|
# URL: http://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.16.0
|
|
release=1
|
|
source=(https://cairographics.org/releases/${name%-*}-$version.tar.xz
|
|
cairo-xlib-endianness.patch
|
|
cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
patch -p1 -i $SRC/cairo-xlib-endianness.patch
|
|
patch -p1 -i $SRC/cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff
|
|
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--enable-xcb=yes \
|
|
--enable-ps \
|
|
--enable-pdf \
|
|
--disable-gtk-doc \
|
|
--enable-tee=yes
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,include,share}
|
|
}
|