# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=librsvg pkgver=2.46.3 pkgrel=0 pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" url="https://wiki.gnome.org/Projects/LibRsvg" arch="all !s390x" # rust license="LGPL-2.1-or-later" options="!check" # Failing subpackages="$pkgname-dev $pkgname-doc" makedepends="$depends_dev bzip2-dev cairo-dev glib-dev cargo rust vala gobject-introspection-dev gtk+3.0-dev libcroco-dev libgsf-dev" source="https://download.gnome.org/sources/librsvg/${pkgver%.*}/librsvg-$pkgver.tar.xz " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --disable-static \ --enable-vala make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="248900521dc029ed92d72fbe2494230de1678471913698160b07adfdd81ad71cb30732f51c82907376fe79ccb14449567c874248150abb4dc5a36b1f30c43594 librsvg-2.46.3.tar.xz"