vokoscreenNG-3.2.0

This commit is contained in:
Rmys
2022-05-28 15:40:28 +03:00
committed by GitHub
parent d045a789fc
commit 2d88b1489e
3 changed files with 124 additions and 5 deletions
@@ -6,6 +6,7 @@
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import qt5 from pisi.actionsapi import qt5
from pisi.actionsapi import get from pisi.actionsapi import get
@@ -16,12 +17,13 @@ def setup():
qt5.configure("src/vokoscreenNG.pro") qt5.configure("src/vokoscreenNG.pro")
def build(): def build():
qt5.make() qt5.make("PREFIX=/usr")
def install(): def install():
pisitools.dobin("vokoscreenNG") qt5.install("INSTALL_ROOT=%s" % get.installDIR())
pisitools.insinto("/usr/share/applications", "src/applications/vokoscreenNG.desktop", "vokoscreenNG.desktop") #pisitools.dobin("vokoscreenNG")
pisitools.insinto("/usr/share/pixmaps", "src/applications/vokoscreenNG.png", "vokoscreenNG.png") #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") pisitools.dodoc("COPYING", "README.md")
@@ -0,0 +1,105 @@
From 0a3784095ecca582f7eb09551ceb34c309d83637 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>vokoscreenNG.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0</project_license>
+ <name>vokoscreenNG</name>
+ <summary>Easy to use desktop recorder</summary>
+ <description>
+ <p>vokoscreenNG is an easy to use screencast creator to record educational videos,
+ live recordings of browser, installation, videoconferences, etc.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-0.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-1.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-2.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-3.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-4.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-5.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-6.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-7.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://vokoscreen.volkoh.de/3.0/picture/screencast-8.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html</url>
+ <url type="bugtracker">https://github.com/vkohaupt/vokoscreenNG/issues</url>
+ <url type="donation">https://linuxecke.volkoh.de/vokoscreen/vokoscreen-donate.html</url>
+ <developer_name>Volker Kohaupt</developer_name>
+</component>
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
+}
+
+13 -1
View File
@@ -12,7 +12,7 @@
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<Summary>New desktop recording program.</Summary> <Summary>New desktop recording program.</Summary>
<Description>VokscreenNG is a user friendly Open Source screencaster for Linux and Windows. The new name is now vokoscreenNG and has been rewritten from scratch.</Description> <Description>VokscreenNG is a user friendly Open Source screencaster for Linux and Windows. The new name is now vokoscreenNG and has been rewritten from scratch.</Description>
<Archive sha1sum="3fe4db513e6bc61a3c61dce1aa0e7508edfc4c0b" type="targz">https://github.com/vkohaupt/vokoscreenNG/archive/refs/tags/3.0.9.tar.gz</Archive> <Archive sha1sum="ee16765697b3917992ee4121641d947ea986012d" type="targz">https://github.com/vkohaupt/vokoscreenNG/archive/refs/tags/3.2.0.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>libX11-devel</Dependency> <Dependency>libX11-devel</Dependency>
<Dependency>qt5-linguist</Dependency> <Dependency>qt5-linguist</Dependency>
@@ -24,6 +24,9 @@
<Dependency>qt5-x11extras-devel</Dependency> <Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-multimedia-devel</Dependency> <Dependency>qt5-multimedia-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches>
<Patch level="1">0001-Add-better-integration-for-Linux.patch</Patch>
</Patches>
</Source> </Source>
<Package> <Package>
@@ -51,11 +54,20 @@
<Path fileType="executable">/usr/bin/vokoscreenNG</Path> <Path fileType="executable">/usr/bin/vokoscreenNG</Path>
<Path fileType="data">/usr/share/applications/vokoscreenNG.desktop</Path> <Path fileType="data">/usr/share/applications/vokoscreenNG.desktop</Path>
<Path fileType="data">/usr/share/pixmaps/vokoscreenNG.png</Path> <Path fileType="data">/usr/share/pixmaps/vokoscreenNG.png</Path>
<Path fileType="data">/usr/share/metainfo/vokoscreenNG.appdata.xml</Path>
<Path fileType="data">/usr/share/icons/hicolor/256x256/apps/vokoscreenNG.png</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="7">
<Date>2022-05-28</Date>
<Version>3.2.0</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="6"> <Update release="6">
<Date>2021-05-31</Date> <Date>2021-05-31</Date>
<Version>3.0.9</Version> <Version>3.0.9</Version>