Add flatpak to flathub
So far this seems to be fine.
Manifest
{
"command": "subtitlecomposer",
"finish-args": [
"--share=ipc",
"--device=dri",
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio"
],
"id": "org.kde.subtitlecomposer",
"runtime": "org.kde.Platform",
"runtime-version": "5.15",
"sdk": "org.kde.Sdk",
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/pkgconfig",
"/share/aclocal",
"/man",
"/share/man"
],
"branch": "stable",
"modules": [
{
"buildsystem": "autotools",
"name": "SphinxBase",
"config-opts": [
"--without-python"
],
"sources": [
{
"type": "git",
"url": "https://github.com/cmusphinx/sphinxbase.git"
}
]
},
{
"buildsystem": "autotools",
"name": "PocketSphinx",
"config-opts": [
"--without-python"
],
"sources": [
{
"type": "git",
"url": "https://github.com/cmusphinx/pocketsphinx.git"
}
]
},
{
"buildsystem": "cmake-ninja",
"name": "kross",
"sources": [
{
"branch": "v5.75.0",
"type": "git",
"url": "https://invent.kde.org/frameworks/kross.git"
}
]
},
{
"buildsystem": "cmake-ninja",
"name": "subtitlecomposer",
"config-opts": [
"-DBUILD_TESTING=OFF"
],
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/multimedia/subtitlecomposer.git",
"tag": "v0.7.0"
}
]
}
]
}
Test with:
sudo flatpak-builder build --install --force-clean --ccache --install-deps-from=flathub org.kde.subtitlecomposer.json
What do you think? Doesn't seem to need much modification and there's not much that can be done about Sphynx being downloaded from master since it doesn't have any releases.
Also: perhaps wait until 0.7.1? Or maybe wait for porting away from Kross?