aboutsummaryrefslogtreecommitdiffstats
path: root/main/cairo/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-10 14:00:35 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-10 14:00:35 +0200
commitafa736510c11fc8ddb885a28810b364e618da4ba (patch)
treeb359d63d552e187b7c391b5001ae686fc9e39e2d /main/cairo/APKBUILD
parent6bb6914f01ebd46a62a73fcb0d5141eb068ad904 (diff)
downloadaports-afa736510c11fc8ddb885a28810b364e618da4ba.tar.bz2
aports-afa736510c11fc8ddb885a28810b364e618da4ba.tar.xz
main/cairo: add infinality support
Diffstat (limited to 'main/cairo/APKBUILD')
-rw-r--r--main/cairo/APKBUILD25
1 files changed, 19 insertions, 6 deletions
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index 2f03d51ba0..4ca241e8c5 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairo
pkgver=1.14.2
-pkgrel=0
+pkgrel=1
pkgdesc="A vector graphics library"
url="http://cairographics.org/"
arch="all"
@@ -9,17 +9,27 @@ license="LGPL2+ MPL 1.1"
depends=
depends_dev="fontconfig-dev freetype-dev libpng-dev libxrender-dev pixman-dev
xcb-util-dev glib-dev libxext-dev"
-makedepends="$depends_dev zlib-dev expat-dev"
+makedepends="$depends_dev zlib-dev expat-dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-gobject $pkgname-tools"
-source="http://cairographics.org/releases/$pkgname-$pkgver.tar.xz"
+# fontconfig-ultimate https://github.com/bohoomil/fontconfig-ultimate
+_ultver="2015-06-09"
+source="http://cairographics.org/releases/$pkgname-$pkgver.tar.xz
+ fontconfig-ultimate-$_ultver.tar.gz::https://github.com/bohoomil/fontconfig-ultimate/archive/$_ultver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
cd "$_builddir"
+ # infinality
+ for j in "$srcdir"/fontconfig-ultimate-$_ultver/$pkgname/*.patch; do
+ msg "Applying ${j}"
+ patch -p1 -i $j || return 1
+ done
}
build() {
cd "$_builddir"
+ autoreconf -vif
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -60,6 +70,9 @@ tools() {
"$subpkgdir"/usr/lib/cairo/
}
-md5sums="e1cdfaf1c6c995c4d4c54e07215b0118 cairo-1.14.2.tar.xz"
-sha256sums="c919d999ddb1bbbecd4bbe65299ca2abd2079c7e13d224577895afa7005ecceb cairo-1.14.2.tar.xz"
-sha512sums="74d30f3f879f097b2c3408ef9698da8f337301f971c3eba7f336d02d6b2812d2ca0bd8bbc0cc7ee11127d3574910b1b77fde3b065cfd504436b62e17c2acb200 cairo-1.14.2.tar.xz"
+md5sums="e1cdfaf1c6c995c4d4c54e07215b0118 cairo-1.14.2.tar.xz
+70a971a34af0974bb61201925aab6929 fontconfig-ultimate-2015-06-09.tar.gz"
+sha256sums="c919d999ddb1bbbecd4bbe65299ca2abd2079c7e13d224577895afa7005ecceb cairo-1.14.2.tar.xz
+0195e8bff84ab973c001f04b9f5e9d59711444bfeebbed57ef76518975c91394 fontconfig-ultimate-2015-06-09.tar.gz"
+sha512sums="74d30f3f879f097b2c3408ef9698da8f337301f971c3eba7f336d02d6b2812d2ca0bd8bbc0cc7ee11127d3574910b1b77fde3b065cfd504436b62e17c2acb200 cairo-1.14.2.tar.xz
+766562cb90651936edb43c206b30653a50fc401c2b9affe7cad73d69adfba3aaa6362830153eda6631dc3b8f5d0fd9b02934326ff1c4a68d136555bd6a48db86 fontconfig-ultimate-2015-06-09.tar.gz"