|
|
@@ -96,6 +96,23 @@ on or off later, and LYNX SHARE updates the entry when the AppImage file moves.
|
|
|
|
|
|
## Flatpak
|
|
|
|
|
|
+`resources/linux/com.lynx_share.LYNX.flatpak.yml` (by TheAifam5, PR #382) packs a released
|
|
|
+`LYNX-<version>-linux-x86_64.tar.gz` into a Flatpak; nothing is compiled. It is not on Flathub, and the release
|
|
|
+workflow does not build it. To build and install it for your user:
|
|
|
+
|
|
|
+```
|
|
|
+mkdir lynx-flatpak && cd lynx-flatpak
|
|
|
+cp /path/to/LYNX-SHARE/resources/linux/com.lynx_share.LYNX.flatpak.yml .
|
|
|
+mkdir stage && tar -xzf LYNX-<version>-linux-x86_64.tar.gz -C stage --strip-components=1
|
|
|
+sed -e "s/@VERSION@/<version>/" -e "s/@DATE@/$(date +%F)/" \
|
|
|
+ /path/to/LYNX-SHARE/resources/linux/com.lynx_share.LYNX.appdata.xml > com.lynx_share.LYNX.appdata.xml
|
|
|
+flatpak install --user flathub org.freedesktop.Platform//26.08 org.freedesktop.Sdk//26.08
|
|
|
+flatpak-builder --user --install --force-clean build com.lynx_share.LYNX.flatpak.yml
|
|
|
+flatpak run com.lynx_share.LYNX
|
|
|
+```
|
|
|
+
|
|
|
+To update, build it again from the new release's tarball.
|
|
|
+
|
|
|
The Flatpak uses X11, including XWayland on Wayland desktops. In *Options › Audio settings*, use the native PipeWire
|
|
|
driver or the JACK driver through PipeWire's JACK compatibility layer. The Flatpak runtime supplies PipeWire's JACK
|
|
|
client, not a standalone JACK client. To connect to `jackd`, use the AppImage or tarball build with your host's
|
|
|
@@ -110,6 +127,11 @@ to audio playback and recording.
|
|
|
Use the plugin directories in your home folder, such as `~/.vst3`, `~/.clap` and `~/.lv2`, for plugins compatible
|
|
|
with the Flatpak runtime. The sandbox's `/usr` belongs to the runtime, so plugins installed by your distribution
|
|
|
in the host's `/usr/lib` are not picked up from those paths.
|
|
|
+Flatpak reserves `/usr` (with `/usr/local`), so a `--filesystem=/usr/lib/vst3:ro` grant has no effect. To try them
|
|
|
+anyway, give the app read-only access to the host system with
|
|
|
+`flatpak override --user --filesystem=host-os:ro com.lynx_share.LYNX`, then add `/run/host/usr/lib/vst3` (or
|
|
|
+`.../clap`, `.../lv2`, `/run/host/usr/local/lib/...`) in *Options › Plugins*. Plugins built by a distribution use its
|
|
|
+libraries, and the runtime may lack some of them, so not every one of those plugins loads.
|
|
|
|
|
|
## Building from source
|
|
|
|