From 2d88b1489ebd5e95c917e2a8d5cb47696d1c5a09 Mon Sep 17 00:00:00 2001 From: Rmys Date: Sat, 28 May 2022 15:40:28 +0300 Subject: [PATCH] vokoscreenNG-3.2.0 --- .../videoplayer/vokoscreenNG/actions.py | 10 +- ...001-Add-better-integration-for-Linux.patch | 105 ++++++++++++++++++ multimedia/videoplayer/vokoscreenNG/pspec.xml | 14 ++- 3 files changed, 124 insertions(+), 5 deletions(-) create mode 100644 multimedia/videoplayer/vokoscreenNG/files/0001-Add-better-integration-for-Linux.patch diff --git a/multimedia/videoplayer/vokoscreenNG/actions.py b/multimedia/videoplayer/vokoscreenNG/actions.py index 5d5047ed74..6dc0656785 100644 --- a/multimedia/videoplayer/vokoscreenNG/actions.py +++ b/multimedia/videoplayer/vokoscreenNG/actions.py @@ -6,6 +6,7 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools from pisi.actionsapi import qt5 from pisi.actionsapi import get @@ -16,12 +17,13 @@ def setup(): qt5.configure("src/vokoscreenNG.pro") def build(): - qt5.make() + qt5.make("PREFIX=/usr") def install(): - pisitools.dobin("vokoscreenNG") - pisitools.insinto("/usr/share/applications", "src/applications/vokoscreenNG.desktop", "vokoscreenNG.desktop") - pisitools.insinto("/usr/share/pixmaps", "src/applications/vokoscreenNG.png", "vokoscreenNG.png") + qt5.install("INSTALL_ROOT=%s" % get.installDIR()) + #pisitools.dobin("vokoscreenNG") + #pisitools.insinto("/usr/share/applications", "src/applications/vokoscreenNG.desktop", "vokoscreenNG.desktop") + #pisitools.insinto("/usr/share/pixmaps", "src/applications/vokoscreenNG.png", "vokoscreenNG.png") pisitools.dodoc("COPYING", "README.md") diff --git a/multimedia/videoplayer/vokoscreenNG/files/0001-Add-better-integration-for-Linux.patch b/multimedia/videoplayer/vokoscreenNG/files/0001-Add-better-integration-for-Linux.patch new file mode 100644 index 0000000000..936a180d0c --- /dev/null +++ b/multimedia/videoplayer/vokoscreenNG/files/0001-Add-better-integration-for-Linux.patch @@ -0,0 +1,105 @@ +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 -Nuar a/src/vokoscreenNG.pro b/src/vokoscreenNG.pro +--- a/src/vokoscreenNG.pro 2022-03-29 18:33:34.000000000 +0300 ++++ b/src/vokoscreenNG.pro 2022-05-28 11:52:42.714632174 +0300 +@@ -190,3 +190,29 @@ + # Virtual Maschine + include(virtual/virtual.pri) + ++ ++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 ++} ++ diff --git a/multimedia/videoplayer/vokoscreenNG/pspec.xml b/multimedia/videoplayer/vokoscreenNG/pspec.xml index f8de510a4b..d09478f941 100644 --- a/multimedia/videoplayer/vokoscreenNG/pspec.xml +++ b/multimedia/videoplayer/vokoscreenNG/pspec.xml @@ -12,7 +12,7 @@ app:gui New desktop recording program. VokscreenNG is a user friendly Open Source screencaster for Linux and Windows. The new name is now vokoscreenNG and has been rewritten from scratch. - https://github.com/vkohaupt/vokoscreenNG/archive/refs/tags/3.0.9.tar.gz + https://github.com/vkohaupt/vokoscreenNG/archive/refs/tags/3.2.0.tar.gz libX11-devel qt5-linguist @@ -24,6 +24,9 @@ qt5-x11extras-devel qt5-multimedia-devel + + 0001-Add-better-integration-for-Linux.patch + @@ -51,11 +54,20 @@ /usr/bin/vokoscreenNG /usr/share/applications/vokoscreenNG.desktop /usr/share/pixmaps/vokoscreenNG.png + /usr/share/metainfo/vokoscreenNG.appdata.xml + /usr/share/icons/hicolor/256x256/apps/vokoscreenNG.png /usr/share/doc + + 2022-05-28 + 3.2.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-05-31 3.0.9