summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarcus Behrendt2016-02-16 19:13:56 +0100
committerMarcus Behrendt2016-02-16 19:13:56 +0100
commite4088bb3bee27a2dc8dcc42ed0308cb5a45c7e57 (patch)
tree71e18c8e20292c32d98f75afa1cd78fc039bfc1c /PKGBUILD
parent28c7c7bd0a923d922b2ebbc331e6dcf5a2ed6c48 (diff)
downloadaur-e4088bb3bee27a2dc8dcc42ed0308cb5a45c7e57.tar.gz
use bohoomil's git repo in order to update pkg
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD96
1 files changed, 54 insertions, 42 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e35de3d93e1..c672d8f8a25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,68 +1,80 @@
-# $Id: PKGBUILD 233413 2015-03-12 21:33:59Z andyrtr $
+# Maintainer (ib-bundle): bohoomil <@zoho.com>
# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Maintainer: Maarten de Boer <maarten@ikfixjewebstek.nl>
# Contributor: Brice Carpentier <brice@daknet.org>
pkgname=cairo-infinality
-pkgver=1.14.2
+_name=cairo
+pkgver=1.14.4
pkgrel=1
-pkgdesc="Cairo vector graphics library patched with infinality patches"
-arch=(i686 x86_64)
+pkgdesc="Cairo vector graphics library"
+arch=('armv7h' 'i686' 'x86_64')
license=('LGPL' 'MPL')
+changelog=CHANGELOG
url="http://cairographics.org/"
-depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'mesa' 'libgl' 'lzo')
-makedepends=('libgl' 'librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'valgrind' 'git')
+depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0'
+ 'glib2' 'mesa' 'libgl' 'lzo')
+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=$pkgver"
- "cairo=$pkgver")
-conflicts=("cairo")
+groups=('infinality-bundle')
+provides=("cairo=$pkgver" 'cairo-ubuntu' 'cairo-xcb')
replaces=('cairo-xcb')
-source=(
- "http://cairographics.org/releases/cairo-$pkgver.tar.xz"
- "cairo-respect-fontconfig_pb.patch"
- "cairo-server-side-gradients.patch"
- "cairo-webkit-html5-fix.patch")
-sha1sums=('c8da68aa66ca0855b5d0ff552766d3e8679e1d24'
+conflicts=('cairo' 'cairo-cleartype' 'cairo-git' 'cairo-gl-git' 'cairo-glitz'
+ 'cairo-ocaml-git' 'cairo-small' 'cairo-ubuntu')
+source=(http://cairographics.org/releases/cairo-$pkgver.tar.xz
+ cairo-respect-fontconfig_pb.patch
+ cairo-server-side-gradients.patch
+ cairo-webkit-html5-fix.patch)
+sha1sums=('5b44471e7c328f96de6830baf8ea65030de797f9'
'd8ffcb4c4745f7e61671109362a80a872ac989d3'
'72ecf2dda8462e1588512de257ccbe18642d507f'
'5bff494f52a16114f4cf6d04bfb0b9d7c4e9da23')
+prepare(){
+ cd $_name-$pkgver
+
+ patch -Np1 -i "${srcdir}"/cairo-respect-fontconfig_pb.patch
+ patch -Np1 -i "${srcdir}"/cairo-server-side-gradients.patch
+ patch -Np1 -i "${srcdir}"/cairo-webkit-html5-fix.patch
+}
+
build() {
- cd "$srcdir/cairo-$pkgver"
+ cd $_name-$pkgver
- patch -Np1 -i ../cairo-respect-fontconfig_pb.patch
- patch -Np1 -i ../cairo-server-side-gradients.patch
- patch -Np1 -i ../cairo-webkit-html5-fix.patch
+ ./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-gtk-doc
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --enable-tee \
- --enable-gl \
- --enable-egl \
- --enable-svg \
- --enable-ps \
- --enable-pdf \
- --enable-gobject \
- --enable-gtk-doc
-
- #--disable-xlib-xcb \
- #--enable-test-surfaces \ takes ages
- #--enable-drm # breaks build
+ #--disable-xlib-xcb \
+ #--enable-test-surfaces \ takes ages
+ #--enable-drm # breaks build
- make
+ make
}
check() {
- cd "$srcdir/cairo-$pkgver"
- #make -j1 -k test || /bin/true
+ cd $_name-$pkgver
+ #make -j1 -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 "$srcdir/cairo-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd $_name-$pkgver
+ make DESTDIR="$pkgdir" install
}