PKGBUILDs/extra/cairo/PKGBUILD

46 lines
1.1 KiB
Bash
Raw Normal View History

2014-09-19 18:52:05 +00:00
# $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
2017-12-22 13:35:16 +00:00
pkgver=1.15.10
pkgrel=1
2017-09-15 00:53:35 +00:00
pkgdesc="2D graphics library with support for multiple output devices"
url="https://cairographics.org/"
2017-12-22 13:35:16 +00:00
arch=(x86_64)
2014-09-19 18:52:05 +00:00
license=('LGPL' 'MPL')
2017-09-15 00:53:35 +00:00
depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman' 'glib2' 'lzo')
makedepends=('librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'git')
2017-12-22 13:35:16 +00:00
source=(https://cairographics.org/snapshots/cairo-$pkgver.tar.xz)
sha1sums=('de180498ac563249b93ee5e17ba9aa26f90644b3')
2014-09-19 18:52:05 +00:00
2017-09-15 00:53:35 +00:00
prepare() {
2014-09-19 18:52:05 +00:00
cd $pkgname-$pkgver
}
2017-09-15 00:53:35 +00:00
build() {
2014-09-19 18:52:05 +00:00
cd $pkgname-$pkgver
2017-09-15 00:53:35 +00:00
./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
2014-09-19 18:52:05 +00:00
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}