summaryrefslogtreecommitdiff
path: root/user/librsvg
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 04:49:54 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 04:49:54 -0500
commit71dc5cc648b539241063ee2b6f79ca74849fa528 (patch)
treea553c178d1e59da9bd35048184c4e01d738ab7f1 /user/librsvg
parent283c483f6c1a7443fc44e631365870c943fe7502 (diff)
downloadpackages-71dc5cc648b539241063ee2b6f79ca74849fa528.tar.gz
packages-71dc5cc648b539241063ee2b6f79ca74849fa528.tar.bz2
packages-71dc5cc648b539241063ee2b6f79ca74849fa528.tar.xz
packages-71dc5cc648b539241063ee2b6f79ca74849fa528.zip
user/librsvg: pull in, purposefully don't bump, fix
Diffstat (limited to 'user/librsvg')
-rw-r--r--user/librsvg/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/librsvg/APKBUILD b/user/librsvg/APKBUILD
new file mode 100644
index 000000000..76ca74648
--- /dev/null
+++ b/user/librsvg/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer:
+pkgname=librsvg
+pkgver=2.40.20
+pkgrel=1
+pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
+url="https://wiki.gnome.org/action/show/Projects/LibRsvg"
+arch="all"
+options="!check" # Depends on specific font hinting.
+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"
+
+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"