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", "runtime-version": "43",
"sdk": "org.gnome.Sdk", "sdk": "org.gnome.Sdk",
"command": "vimix", "command": "vimix",
"rename-desktop-file": "vimix.desktop",
"rename-icon": "vimix",
"finish-args": [ "finish-args": [
"--socket=wayland", "--socket=wayland",
"--socket=fallback-x11", "--socket=fallback-x11",
@@ -22,7 +24,10 @@
"/share/gdb", "/share/gdb",
"/share/info", "/share/info",
"/share/man", "/share/man",
"/lib/debug" "/share/doc",
"/lib/pkgconfig",
"/lib/debug",
"*.a"
], ],
"modules": [ "modules": [
{ {
@@ -143,12 +148,10 @@
], ],
"sources": [ "sources": [
{ {
"type": "git", "type":"dir",
"url": "https://github.com/brunoherbelin/vimix.git", "path": "/home/bhbn/Development/vimix"
"tag": "0.7.3"
} }
] ]
} }
], ]
"_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"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022 Bruno Herbelin --> <!-- Copyright 2022 Bruno Herbelin -->
<component type="desktop"> <component type="desktop-application">
<id>io.github.brunoherbelin.Vimix</id> <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> <name>vimix</name>
<summary>Video live mixer</summary> <summary>Video live mixer</summary>
<description> <description>

View File

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