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
|
2017-12-21 23:39:35 +01:00
|
|
|
version=1.15.10
|
2017-12-08 22:49:33 +01:00
|
|
|
release=1
|
2017-07-17 14:04:08 +02:00
|
|
|
source=(https://cairographics.org/snapshots/cairo-$version.tar.xz
|
2017-07-17 19:52:16 +02:00
|
|
|
cairo-xlib-endianness.patch
|
|
|
|
cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff
|
|
|
|
0001-image-prevent-invalid-ptr-access-for-4GB-images.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
|
2017-12-21 23:39:35 +01:00
|
|
|
#patch -p1 -i $SRC/0001-image-prevent-invalid-ptr-access-for-4GB-images.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
|
|
|
}
|