diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-17 11:41:19 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-10-24 18:56:33 +0000 |
commit | 6932a4c2360d5124de002eb70d0a2963c5e711e0 (patch) | |
tree | 61bb6c22d43124c5d1a458c76751a8e1fbb53960 /community/librsvg | |
parent | 12b6a6b8f9633e59ead8ab5f2ce9011de6bd07de (diff) | |
download | aports-6932a4c2360d5124de002eb70d0a2963c5e711e0.tar.bz2 aports-6932a4c2360d5124de002eb70d0a2963c5e711e0.tar.xz |
community/librsvg: move from main
Closes !509
Diffstat (limited to 'community/librsvg')
-rw-r--r-- | community/librsvg/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/librsvg/APKBUILD b/community/librsvg/APKBUILD new file mode 100644 index 0000000000..00591d4218 --- /dev/null +++ b/community/librsvg/APKBUILD @@ -0,0 +1,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" |