From 9713386c8440562e44d80a6d9f691b05cb727919 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Wed, 15 Aug 2018 13:15:47 +0000 Subject: testing/libvisio2svg: new aport Library for converting MS Visio stencils to SVG --- testing/libvisio2svg/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/libvisio2svg/APKBUILD (limited to 'testing/libvisio2svg/APKBUILD') 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 +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" -- cgit v1.2.3