SHA256
1
0
forked from pool/vokoscreenNG
vokoscreenNG/add_appstream_metadata.patch

91 lines
3.4 KiB
Diff
Raw Permalink Normal View History

diff -Nur vokoscreenNG-4.1.0/src/applications/INFO new/src/applications/INFO
--- vokoscreenNG-4.1.0/src/applications/INFO 2024-03-26 23:08:34.000000000 +0100
+++ new/src/applications/INFO 2024-04-17 15:50:15.937913807 +0200
@@ -1,2 +1,3 @@
+vokoscreenNG.appdata.xml
vokoscreenNG.desktop
vokoscreenNG.png
diff -Nur vokoscreenNG-4.1.0/src/applications/vokoscreenNG.appdata.xml new/src/applications/vokoscreenNG.appdata.xml
--- vokoscreenNG-4.1.0/src/applications/vokoscreenNG.appdata.xml 1970-01-01 01:00:00.000000000 +0100
+++ new/src/applications/vokoscreenNG.appdata.xml 2024-04-17 15:50:15.937913807 +0200
@@ -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 -Nur vokoscreenNG-4.1.0/src/vokoscreenNG.pro new/src/vokoscreenNG.pro
--- vokoscreenNG-4.1.0/src/vokoscreenNG.pro 2024-03-26 23:08:34.000000000 +0100
+++ new/src/vokoscreenNG.pro 2024-04-17 15:50:15.937913807 +0200
@@ -66,6 +66,31 @@
win32:message($$QMAKE_LRELEASE)
win32:system($$QMAKE_LRELEASE translations.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
+}
+
# Clean target
QMAKE_CLEAN += $$TARGET */*~