2006-02-23 17:10:28 +00:00
|
|
|
# Description: A 2D graphics library with support for multiple output devices
|
|
|
|
# URL: http://www.cairographics.org/
|
2012-06-14 02:10:22 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
2017-10-31 17:26:49 +01:59
|
|
|
# Depends on: fontconfig, xorg-libxext, xorg-libxrender, xorg-libpixman, xorg-xcb-util, glib
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
name=cairo
|
2018-10-20 19:03:54 +02:00
|
|
|
version=1.16.0
|
2018-12-07 19:05:39 +01:00
|
|
|
release=2
|
2018-10-20 19:03:54 +02:00
|
|
|
source=(https://cairographics.org/releases/cairo-$version.tar.xz
|
2017-07-17 19:52:16 +02:00
|
|
|
cairo-xlib-endianness.patch
|
2018-12-07 19:05:39 +01:00
|
|
|
cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff \
|
|
|
|
CVE-2018-19876.patch)
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
build() {
|
2012-06-14 02:10:22 +02:00
|
|
|
cd $name-$version
|
2017-07-17 14:04:08 +02:00
|
|
|
patch -p1 -i $SRC/cairo-xlib-endianness.patch
|
|
|
|
patch -p1 -i $SRC/cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff
|
2018-12-07 19:05:39 +01:00
|
|
|
patch -p1 -i $SRC/CVE-2018-19876.patch
|
2017-07-17 14:04:08 +02:00
|
|
|
|
2012-06-14 02:10:22 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-xcb=yes \
|
|
|
|
--enable-ps \
|
|
|
|
--enable-pdf \
|
2013-06-25 18:30:50 +02:00
|
|
|
--disable-gtk-doc \
|
|
|
|
--enable-tee=yes
|
2012-06-14 02:10:22 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share
|
2006-02-23 17:10:28 +00:00
|
|
|
}
|