aboutsummaryrefslogtreecommitdiffstats
path: root/main/cairo/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-11 13:22:39 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-17 14:13:42 +0000
commit5b358af6c48c78a5b586248ffdeb66bd60b7ca97 (patch)
treef80c28b9db0539ed8f4db2c836dd5ababb35dc82 /main/cairo/APKBUILD
parent2ca943b5d74318edde6f0e7da0065abb5f983f16 (diff)
downloadaports-5b358af6c48c78a5b586248ffdeb66bd60b7ca97.tar.bz2
aports-5b358af6c48c78a5b586248ffdeb66bd60b7ca97.tar.xz
main/cairo: modernise, explicit configure, broken tests
Diffstat (limited to 'main/cairo/APKBUILD')
-rw-r--r--main/cairo/APKBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index 9a2d838250..2291fd42ac 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -1,10 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairo
pkgver=1.14.12
-pkgrel=0
+pkgrel=1
pkgdesc="A vector graphics library"
url="http://cairographics.org/"
arch="all"
+options="!check" # Recursive dependency on gtk+2.0 for check.
license="LGPL-2.0-or-later MPL-1.1"
depends=
depends_dev="fontconfig-dev freetype-dev libxrender-dev pixman-dev
@@ -21,12 +22,12 @@ builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
- default_prepare || return 1
+ default_prepare
# infinality
for j in "$srcdir"/fontconfig-ultimate-$_ultver/$pkgname/*.patch; do
msg "Applying ${j}"
- patch -p1 -i $j || return 1
+ patch -p1 -i $j
done
}
@@ -44,18 +45,21 @@ build() {
--enable-pdf \
--enable-png \
--enable-ps \
+ --enable-svg \
--enable-tee \
+ --enable-x \
--enable-xcb \
+ --enable-xcb-shm \
+ --enable-xlib \
--enable-xlib-xrender \
--disable-xlib-xcb \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
gobject() {
@@ -67,7 +71,7 @@ gobject() {
tools() {
pkgdesc="$pkgdesc (development tools)"
mkdir -p "$subpkgdir"/usr/lib/cairo
- mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ || return 1
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
mv "$pkgdir"/usr/lib/cairo/libcairo-trace.* \
"$subpkgdir"/usr/lib/cairo/
}