blob: 764da24db5b737cd08ef50877c4e4a7a2c7b7213 (
plain)
1 # Description: A 2D graphics library with support for multiple output devices
2 # URL: http://www.cairographics.org/
3 # Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
4 # Depends on: fontconfig, xorg-libxext, xorg-libxrender, xorg-libpixman, xorg-xcb-util, glib
5
6 name=cairo
7 version=1.16.0
8 release=2
9 source=(https://cairographics.org/releases/cairo-$version.tar.xz
10 cairo-xlib-endianness.patch
11 cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff \
12 CVE-2018-19876.patch)
13
14 build() {
15 cd $name-$version
16 patch -p1 -i $SRC/cairo-xlib-endianness.patch
17 patch -p1 -i $SRC/cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff
18 patch -p1 -i $SRC/CVE-2018-19876.patch
19
20 ./configure --prefix=/usr \
21 --enable-xcb=yes \
22 --enable-ps \
23 --enable-pdf \
24 --disable-gtk-doc \
25 --enable-tee=yes
26 make
27 make DESTDIR=$PKG install
28 rm -rf $PKG/usr/share
29 }
|