mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
50 lines
1.3 KiB
Bash
50 lines
1.3 KiB
Bash
# $Id$
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Brice Carpentier <brice@daknet.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - drop valgrind makedepend
|
|
|
|
pkgname=cairo
|
|
pkgver=1.15.8
|
|
pkgrel=2
|
|
pkgdesc="2D graphics library with support for multiple output devices"
|
|
url="https://cairographics.org/"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL' 'MPL')
|
|
depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman' 'glib2' 'lzo')
|
|
makedepends=('librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'git')
|
|
source=(https://cairographics.org/snapshots/cairo-$pkgver.tar.xz
|
|
color-glyph-source-op.patch)
|
|
sha1sums=('07cc2031b74d758299eeee3ec49ecbfbfb85f1c6'
|
|
'5d8efd47038edcf0debf0a43713bba3025f3cffd')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=102661
|
|
patch -Np1 -i ../color-glyph-source-op.patch
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--disable-lto \
|
|
--disable-gl \
|
|
--enable-tee \
|
|
--enable-svg \
|
|
--enable-ps \
|
|
--enable-pdf \
|
|
--enable-gobject \
|
|
--enable-gtk-doc
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|