summaryrefslogtreecommitdiffstats
path: root/cairo/Pkgfile
blob: ea7b7eb92ed7838d4c017634778e2beff6e6765a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Librairie 2D graphique
# URL: http://www.cairographics.org/ 
# Packager: thierryn1 at hispeed dot ch
# Maintainer: NuTyX core team
# Depends on: mesa3d,fontconfig,xorg-libxrender,xorg-libpixman
# Run on: mesa3d,fontconfig,xorg-libpixman

name=cairo
version=1.12.0
release=1
source=( http://cairographics.org/releases/$name-$version.tar.gz
	cairo-1.12.0.patch )

build() {
	cd $name-$version
	patch -Np1 < ../cairo-1.12.0.patch
	./configure --prefix=/usr \
		--enable-ps \
		--enable-pdf \
		--enable-glitz \
		--enable-xcb \
		--enable-gl \
		--enable-egl=yes \
		--enable-glx=yes \
		--enable-tee \
		--disable-gtk-doc
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share
}