You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
3.7 KiB

  1. The original patch was from an ArchLinux package
  2. https://github.com/archlinux/svntogit-community/blob/packages/vokoscreen/trunk/0001-Add-better-integration-for-Linux.patch
  3. I got this one from https://github.com/City-busz/vokoscreenNG branch 'linux-support', and modified it to work with 3.1.0
  4. commit 0a378409 (HEAD -> linux-support, origin/linux-support)
  5. Author: Balló György <ballogyor@gmail.com>
  6. Date: 2020-07-06 07:14:26 -0600
  7. Add better integration for Linux
  8. Add AppStream metadata, add installation target.
  9. ---
  10. diff --git a/src/applications/INFO b/src/applications/INFO
  11. index 4195de8..1c1bd87 100644
  12. --- a/src/applications/INFO
  13. +++ b/src/applications/INFO
  14. @@ -1,2 +1,3 @@
  15. +vokoscreenNG.appdata.xml
  16. vokoscreenNG.desktop
  17. vokoscreenNG.png
  18. diff --git a/src/applications/vokoscreenNG.appdata.xml b/src/applications/vokoscreenNG.appdata.xml
  19. new file mode 100644
  20. index 0000000..883f4ae
  21. --- /dev/null
  22. +++ b/src/applications/vokoscreenNG.appdata.xml
  23. @@ -0,0 +1,48 @@
  24. +<?xml version="1.0" encoding="UTF-8"?>
  25. +<component type="desktop">
  26. + <id>vokoscreenNG.desktop</id>
  27. + <metadata_license>CC0-1.0</metadata_license>
  28. + <project_license>GPL-2.0</project_license>
  29. + <name>vokoscreenNG</name>
  30. + <summary>Easy to use desktop recorder</summary>
  31. + <description>
  32. + <p>vokoscreenNG is an easy to use screencast creator to record educational videos,
  33. + live recordings of browser, installation, videoconferences, etc.</p>
  34. + </description>
  35. + <screenshots>
  36. + <screenshot type="default">
  37. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-0.png</image>
  38. + </screenshot>
  39. + <screenshot>
  40. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-1.png</image>
  41. + </screenshot>
  42. + <screenshot>
  43. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-2.png</image>
  44. + </screenshot>
  45. + <screenshot>
  46. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-3.png</image>
  47. + </screenshot>
  48. + <screenshot>
  49. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-4.png</image>
  50. + </screenshot>
  51. + <screenshot>
  52. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-5.png</image>
  53. + </screenshot>
  54. + <screenshot>
  55. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-6.png</image>
  56. + </screenshot>
  57. + <screenshot>
  58. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-7.png</image>
  59. + </screenshot>
  60. + <screenshot>
  61. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-8.png</image>
  62. + </screenshot>
  63. + <screenshot>
  64. + <image>https://vokoscreen.volkoh.de/3.0/picture/vokoscreenNG-9.png</image>
  65. + </screenshot>
  66. + </screenshots>
  67. + <url type="homepage">https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html</url>
  68. + <url type="bugtracker">https://github.com/vkohaupt/vokoscreenNG/issues</url>
  69. + <url type="donation">https://linuxecke.volkoh.de/vokoscreen/vokoscreen-donate.html</url>
  70. + <developer_name>Volker Kohaupt</developer_name>
  71. +</component>
  72. --- a/src/vokoscreenNG.pro 2025-03-24 02:28:38.000000000 -0600
  73. +++ b/src/vokoscreenNG.pro 2025-06-24 21:29:38.433946556 -0600
  74. @@ -220,3 +220,28 @@
  75. # spezialProgressBarAudio
  76. include(spezialProgressBarAudio/spezialProgressBarAudio.pri)
  77. +
  78. +unix:!macx {
  79. + isEmpty(PREFIX) {
  80. + PREFIX = /usr/local
  81. + }
  82. + isEmpty(BINDIR) {
  83. + BINDIR = $$PREFIX/bin
  84. + }
  85. + isEmpty(DATADIR) {
  86. + DATADIR = $$PREFIX/share
  87. + }
  88. +
  89. + target.path = $$BINDIR
  90. +
  91. + icon.files = applications/vokoscreenNG.png
  92. + icon.path = $$DATADIR/icons/hicolor/256x256/apps/
  93. +
  94. + desktop.files = applications/vokoscreenNG.desktop
  95. + desktop.path = $$DATADIR/applications/
  96. +
  97. + appdata.files = applications/vokoscreenNG.appdata.xml
  98. + appdata.path = $$DATADIR/metainfo/
  99. +
  100. + INSTALLS += target icon desktop appdata
  101. +}