From 0a3784095ecca582f7eb09551ceb34c309d83637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Mon, 6 Jul 2020 15:14:26 +0200 Subject: [PATCH] Add better integration for Linux Add AppStream metadata, add installation target. --- src/applications/INFO | 1 + src/applications/vokoscreenNG.appdata.xml | 45 +++++++++++++++++++++++ src/vokoscreenNG.pro | 25 +++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 src/applications/vokoscreenNG.appdata.xml diff --git a/src/applications/INFO b/src/applications/INFO index 4195de8f..1c1bd870 100644 --- a/src/applications/INFO +++ b/src/applications/INFO @@ -1,2 +1,3 @@ +vokoscreenNG.appdata.xml vokoscreenNG.desktop vokoscreenNG.png diff --git a/src/applications/vokoscreenNG.appdata.xml b/src/applications/vokoscreenNG.appdata.xml new file mode 100644 index 00000000..883f4ae2 --- /dev/null +++ b/src/applications/vokoscreenNG.appdata.xml @@ -0,0 +1,45 @@ + + + vokoscreenNG.desktop + CC0-1.0 + GPL-2.0 + vokoscreenNG + Easy to use desktop recorder + +

vokoscreenNG is an easy to use screencast creator to record educational videos, + live recordings of browser, installation, videoconferences, etc.

+
+ + + https://vokoscreen.volkoh.de/3.0/picture/screencast-0.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-1.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-2.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-3.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-4.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-5.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-6.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-7.png + + + https://vokoscreen.volkoh.de/3.0/picture/screencast-8.png + + + https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html + https://github.com/vkohaupt/vokoscreenNG/issues + https://linuxecke.volkoh.de/vokoscreen/vokoscreen-donate.html + Volker Kohaupt +
diff --git a/src/vokoscreenNG.pro b/src/vokoscreenNG.pro index 69bc5a33..fdf7fd07 100644 --- a/src/vokoscreenNG.pro +++ b/src/vokoscreenNG.pro @@ -65,6 +65,30 @@ TRANSLATIONS = $$files(language/*.ts) } else: message(No translation files in project) +unix:!macx { + isEmpty(PREFIX) { + PREFIX = /usr/local + } + isEmpty(BINDIR) { + BINDIR = $$PREFIX/bin + } + isEmpty(DATADIR) { + DATADIR = $$PREFIX/share + } + + target.path = $$BINDIR + + icon.files = applications/vokoscreenNG.png + icon.path = $$DATADIR/icons/hicolor/256x256/apps/ + + desktop.files = applications/vokoscreenNG.desktop + desktop.path = $$DATADIR/applications/ + + appdata.files = applications/vokoscreenNG.appdata.xml + appdata.path = $$DATADIR/metainfo/ + + INSTALLS += target icon desktop appdata +} # Clean target QMAKE_CLEAN += $$TARGET */*~