Flatpak build doesn't follow dependencies
Flatpak extensions set to auto download don't automatically install, unlike outside of gnome builder.
In Flatpak you can define extensions like so:
"add-extensions": {
"org.freedesktop.LinuxAudio.Plugins": {
"directory": "extensions/Plugins",
"version": "20.08",
"add-ld-path": "lib",
"merge-dirs": "lv2",
"subdirectories": true,
"no-autodownload": true
},
"org.freedesktop.LinuxAudio.Plugins.LSP": {
"directory": "extensions/Plugins/LSP",
"version": "20.08",
"add-ld-path": "lib",
"merge-dirs": "lv2",
"autodelete": false,
"subdirectories": true
},
"org.freedesktop.LinuxAudio.Plugins.ZamPlugins": {
"directory": "extensions/Plugins/ZamPlugins",
"version": "20.08",
"add-ld-path": "lib",
"merge-dirs": "lv2",
"autodelete": false,
"subdirectories": true
}
}
At install time, org.freedesktop.LinuxAudio.Plugins.LSP
and org.freedesktop.LinuxAudio.Plugins.ZamPlugins
would be automatically installed along with your actual app.
But this doesn't work when using gnome builder to build the same manifest. The extensions aren't installed, which means the Flatpak app is missing extensions it expected.
Is the Flatpak plugin within gnome builder effectively a different repo from Flathub
, which leads to https://github.com/flatpak/flatpak/issues/3094? Is there any way to workaround by seperately telling gnome builder to install some flatpaks?