blob: b6922c336b59054d502ea8e61f2e53c0a66dc22e (
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
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=librsvg
pkgver=2.37.0
pkgrel=0
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="http://librsvg.sourceforge.net/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev
gobject-introspection-dev"
install=
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--with-croco \
--disable-static \
--disable-mozilla-plugin \
--with-svgz \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR=""$pkgdir"" install || return 1
rm -rf "$pkgdir"/usr/lib/mozilla || return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="3de91824870bf6758f37ab54bae2ac40 librsvg-2.37.0.tar.xz"
sha256sums="06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835 librsvg-2.37.0.tar.xz"
sha512sums="ba7207258503467cd8ffa041b216800bd558ad57c0868ff03309a1d6fd58757e9e28d9cd29106cb1f9fb3b349c58335cdf40a923a0856df870f1c3a279080265 librsvg-2.37.0.tar.xz"
|