aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libvisio2svg/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-08-15 13:15:47 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-08-15 13:16:15 +0000
commit9713386c8440562e44d80a6d9f691b05cb727919 (patch)
tree265c0660856523df79708e5cb66809d12797e3c8 /testing/libvisio2svg/APKBUILD
parent9315be389a005334dfb7f2f03f95526e329780b5 (diff)
downloadaports-9713386c8440562e44d80a6d9f691b05cb727919.tar.bz2
aports-9713386c8440562e44d80a6d9f691b05cb727919.tar.xz
testing/libvisio2svg: new aport
Library for converting MS Visio stencils to SVG
Diffstat (limited to 'testing/libvisio2svg/APKBUILD')
-rw-r--r--testing/libvisio2svg/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/libvisio2svg/APKBUILD b/testing/libvisio2svg/APKBUILD
new file mode 100644
index 0000000000..1affe619a9
--- /dev/null
+++ b/testing/libvisio2svg/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=libvisio2svg
+pkgver=0.5.5
+pkgrel=0
+pkgdesc="Library/Utilities to convert Microsoft (MS) Visio Documents and Stencils (VSS and VSD) to SVG"
+url="https://github.com/kakwa/libvisio2svg"
+arch="all"
+license="GPL-2.0-only"
+makedepends="libxml2-dev freetype-dev libwmf-dev librevenge-dev libvisio-dev
+ libemf2svg argp-standalone"
+subpackages="$pkgname-dev $pkgname-utils"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kakwa/libvisio2svg/archive/$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr/ -DEXTERNAL_ARGP=argp
+ make
+}
+
+check() {
+ # FIXME
+ cd "$builddir"
+ ./vsd2svg-conv -V
+ ./vss2svg-conv -V
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+utils() {
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin
+}
+
+sha512sums="42b0a66f839885aa46022a6fb9dda40143586a14a0a880eb8af71a749de312f8b6ed00f1c4e2f9e438814dcabb638672a2f2b2d5c85be015ce6ee4dc59ae8765 libvisio2svg-0.5.5.tar.gz"