aboutsummaryrefslogtreecommitdiffstats
path: root/main/librsvg/APKBUILD
blob: 00591d421841018e17e6f6954e2ac5f5752b9802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=librsvg
pkgver=2.40.20
pkgrel=0
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="http://live.gnome.org/LibRsvg"
arch="all"
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="gtk+2.0-dev libcroco-dev libgsf-dev"
makedepends="$depends_dev bzip2-dev cairo-dev glib-dev
	gobject-introspection-dev"
install=
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	"
# sporadic testsuite failures
options="!check"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib/$pkgname \
		--disable-static
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR=""$pkgdir"" install
	rm -rf "$pkgdir"/usr/lib/mozilla
}

sha512sums="cdd8224deb4c3786e29f48ed02c32ed9dff5cb15aba574a5ef845801ad3669cfcc3eedb9d359c22213dc7a29de24c363248825adad5877c40abf73b3688ff12f  librsvg-2.40.20.tar.xz"