summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlks2015-07-30 11:32:02 +0200
committerlks2015-07-30 11:32:02 +0200
commit34d76d5bc0371b78ca5bb00a2b7018008756e908 (patch)
treeb4bc1b6d808f4d23574fa70f2defb52cb0bcf2f8
downloadaur-34d76d5bc0371b78ca5bb00a2b7018008756e908.tar.gz
Initial import
-rw-r--r--.SRCINFO39
-rw-r--r--PKGBUILD62
2 files changed, 101 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..36a05e3b788
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+# Generated by makepkg 4.2.1
+# Sat Mar 21 09:07:18 UTC 2015
+pkgbase = cairo-dfb
+ pkgdesc = Cairo vector graphics library with directfb backend
+ pkgver = 1.14.2
+ pkgrel = 1
+ url = http://cairographics.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ license = MPL
+ makedepends = mesa-libgl
+ makedepends = librsvg
+ makedepends = gtk2
+ makedepends = poppler-glib
+ makedepends = libspectre
+ makedepends = gtk-doc
+ makedepends = valgrind
+ makedepends = git
+ depends = directfb
+ depends = libpng
+ depends = libxrender
+ depends = libxext
+ depends = fontconfig
+ depends = pixman>=0.28.0
+ depends = glib2
+ depends = mesa
+ depends = libgl
+ depends = sh
+ depends = lzo2
+ provides = cairo-xcb
+ provides = cairo=1.14.2
+ conflicts = cairo
+ replaces = cairo-xcb
+ source = http://cairographics.org/releases/cairo-1.14.2.tar.xz
+ sha1sums = c8da68aa66ca0855b5d0ff552766d3e8679e1d24
+
+pkgname = cairo-dfb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5aff56834f4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,62 @@
+# Maintainer: lks <lukas dot graetz et web dot de>
+# based on cairo PKGBUILD by: Jan de Groot <jgc@archlinux.org>
+
+pkgname=cairo-dfb
+_pkgname=cairo
+pkgver=1.14.2
+pkgrel=1
+pkgdesc="Cairo vector graphics library with directfb backend"
+arch=(i686 x86_64)
+license=('LGPL' 'MPL')
+url="http://cairographics.org/"
+depends=('directfb' 'libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'mesa' 'libgl' 'sh' 'lzo2')
+makedepends=('mesa-libgl' 'librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'valgrind' 'git')
+ # for the test suite:
+# 'ttf-dejavu' 'gsfonts' 'xorg-server-xvfb' ) # 'libdrm')
+#optdepends=('xcb-util: for XCB backend') # really needed?
+provides=('cairo-xcb' "cairo=${pkgver}")
+replaces=('cairo-xcb')
+conflicts=('cairo')
+source=(http://cairographics.org/releases/$_pkgname-$pkgver.tar.xz)
+sha1sums=('c8da68aa66ca0855b5d0ff552766d3e8679e1d24')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-lto \
+ --enable-tee \
+ --enable-gl \
+ --enable-egl \
+ --enable-svg \
+ --enable-ps \
+ --enable-pdf \
+ --enable-gobject \
+ --enable-directfb #\
+ # --enable-gtk-doc
+
+ #--disable-xlib-xcb \
+ # --enable-test-surfaces \ takes ages
+ #--enable-drm # breaks build
+
+ make
+}
+
+#check() {
+# cd $_pkgname-$pkgver
+# make -k test || /bin/true
+#
+# # results:
+# # 1.12.8-1 # 162 Passed, 328 Failed [8 crashed, 10 expected], 26 Skipped
+# # 1.12.12-2: # 29 Passed, 464 Failed [460 crashed, 2 expected], 26 Skipped
+# # 1.12.16-1: 144 Passed, 364 Failed [6 crashed, 12 expected], 27 Skipped
+#
+#}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}