Fixup Flatpak for Flathub install

NB: the Vimix.json flatpak for Flathub is in the dedicated Flathub branch for submission to repo. The local flatpak/.Vimix.json is for testing locally building flatpak with latest code.
This commit is contained in:
Bruno Herbelin
2022-12-10 14:38:30 +01:00
parent 2a573cbab3
commit cde0e74a2e
8 changed files with 260 additions and 71 deletions

View File

@@ -79,3 +79,8 @@ for packaging
}
]
}
** Declare flatpak on flathub :
https://github.com/brunoherbelin/flathub

View File

@@ -1,8 +0,0 @@
[Desktop Entry]
Type=Application
Name=vimix
Comment=Live video mixing.
Categories=AudioVideo;Video;Graphics;Utility;
Icon=io.github.brunoherbelin.Vimix.svg
Exec=vimix
Terminal=false

View File

@@ -4,6 +4,8 @@
"runtime-version": "43",
"sdk": "org.gnome.Sdk",
"command": "vimix",
"rename-desktop-file": "vimix.desktop",
"rename-icon": "vimix",
"finish-args": [
"--socket=wayland",
"--socket=fallback-x11",
@@ -22,7 +24,10 @@
"/share/gdb",
"/share/info",
"/share/man",
"/lib/debug"
"/share/doc",
"/lib/pkgconfig",
"/lib/debug",
"*.a"
],
"modules": [
{
@@ -143,12 +148,10 @@
],
"sources": [
{
"type": "git",
"url": "https://github.com/brunoherbelin/vimix.git",
"tag": "0.7.3"
"type":"dir",
"path": "/home/bhbn/Development/vimix"
}
]
}
],
"_comment": "run 'git config --global --add protocol.file.allow always' before build"
]
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 322 KiB

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=vimix
GenericName=Video mixer
Comment=Live video mixing
Categories=AudioVideo;Video;Graphics;
Icon=vimix.svg
Exec=vimix
MimeType=application/mix+xml
Terminal=false

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 324 KiB

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022 Bruno Herbelin -->
<component type="desktop">
<component type="desktop-application">
<id>io.github.brunoherbelin.Vimix</id>
<launchable type="desktop-id">io.github.brunoherbelin.Vimix.desktop</launchable>
<launchable type="desktop-id">vimix.desktop</launchable>
<name>vimix</name>
<summary>Video live mixer</summary>
<description>

View File

@@ -266,6 +266,8 @@ IF(APPLE)
ELSE(APPLE)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/share DESTINATION ${CMAKE_INSTALL_PREFIX})
install(TARGETS ${VMIX_BINARY}
CONFIGURATIONS Release RelWithDebInfo
RUNTIME DESTINATION bin COMPONENT Runtime