~alpine/aports

testing/vym: new aport v1 PROPOSED

Paul Bredbury: 1
 testing/vym: new aport

 2 files changed, 42 insertions(+), 0 deletions(-)
It does look like it works on other arches, according to https://packages.debian.org/sid/kde/vym

However, I only have (and only care about) x86_64.

I do feel that it should be pointed out somewhere, on which arches the package has actually been tested. Should that line be e.g.:

arch="all" # Only tested on x86_64
Why isn't my submission shown at https://patchwork.alpinelinux.org/project/aports/list/ - previous ones have been.
Thanks,
Paul.


On Sun, 2019-07-28 at 11:03 -0300, Leo wrote:
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2877/mbox | git am -3
Learn more about email & git

[PATCH] testing/vym: new aport Export this patch

https://www.insilmaril.de/vym/
Mind-mapping GUI
---
 testing/vym/APKBUILD    | 33 +++++++++++++++++++++++++++++++++
 testing/vym/vym.desktop |  9 +++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 testing/vym/APKBUILD
 create mode 100644 testing/vym/vym.desktop

diff --git a/testing/vym/APKBUILD b/testing/vym/APKBUILD
new file mode 100644
index 0000000000..94f00f7523
--- /dev/null
+++ b/testing/vym/APKBUILD
@@ -0,0 +1,33 @@
# Contributor: Paul Bredbury <brebs@sent.com>
pkgname=vym
# 2.7.0 and 2.7.1 have bug: text is not pasted at the cursor
pkgver=2.6.11
pkgrel=0
pkgdesc="Mind-mapping GUI"
url="https://www.insilmaril.de/vym/"
arch="x86_64" # Unknown whether works on other arches
license="GPL-2.0-only"
# VYM files are zip-compressed
depends="unzip zip"
# Add qt5-qtscript-dev to makedepends, for vym 2.7.0+ to compile
makedepends="qt5-qtsvg-dev qt5-qttools-dev"
source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
	$pkgname.desktop"
options="!check" # No test suite

build() {
	lrelease-qt5 lang/*.ts

	qmake-qt5 PREFIX=/usr DATADIR=/usr/share
	make
}

package() {
	make INSTALL_ROOT="$pkgdir" install

	install -Dm 644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
	install -Dm 644 "icons/vym.png" "$pkgdir/usr/share/icons/$pkgname.png"
}

sha512sums="d6ae8346152ab10e12a68f25b4c13c4d40e1a8471df348ba0df9c05bdbe60f86a97912fcca268ec510246fe655a7dcc2d2e9a9332daee09a2a7dda7d6f880aa1  vym-2.6.11.tar.bz2
07629caeb13b0c92ba049f23fe44c7a8ca796201d90e5d49629cb606be7ebb36daf13fbc821e3d4d549bb1c4b09470d6a6829aa107c17efd3ca130592c51e6b4  vym.desktop"
diff --git a/testing/vym/vym.desktop b/testing/vym/vym.desktop
new file mode 100644
index 0000000000..f3c60a45d3
--- /dev/null
+++ b/testing/vym/vym.desktop
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Exec=vym
Icon=vym
MimeType=application/x-vym;
Categories=Qt;KDE;Office;
Name=vym Mind Map Editor
Comment=Create mind maps
GenericName=Planning Tool
-- 
2.22.0