--- app-id: com.bitwig.BitwigStudio command: bitwig-studio runtime-version: "25.08" runtime: org.freedesktop.Platform sdk: org.freedesktop.Sdk finish-args: # We need MIDI, Audio, USB, DRI, and realtime performances - --device=all # Needed to talk with X11, Wayland, pulseaudio and pipewire - --share=ipc - --filesystem=xdg-run/pipewire-0 - --socket=pulseaudio - --socket=x11 # Needed for updating the sound content, checking for online notifications and authentication - --share=network # For desktop notifications - --talk-name=org.freedesktop.Notifications # Give access to the host filesystem # Bitwig Studio is a media application, and many users have files # on removable media and various locations. # As of today it is too complicated to ask the user to run commands in # the terminal to grant more permissions to Bitwig Studio. # Once there is an easy and graphical way to tweak the sandbox permission # we may switch to the home only. - --filesystem=host # Java stuff - --persist=.java - --persist=.BitwigStudio - --persist=Bitwig Studio - --env=ALSA_CONFIG_PATH= - --env=VST_PATH=/app/extensions/Plugins/vst - --env=VST3_PATH=/app/extensions/Plugins/vst3 - --env=CLAP_PATH=/app/extensions/Plugins/clap # For 32 bits plugin host - --allow=multiarch # Minimum required flatpak version. # 1.0.9 on ubuntu 18.04 is known to not setup correctly multi-arch and the plugin host doesn't start. # Maybe we need even higher min version. - --require-version=1.1.0 add-extensions: org.freedesktop.LinuxAudio.Plugins: directory: extensions/Plugins version: '25.08' add-ld-path: lib merge-dirs: vst;vst3;clap subdirectories: true no-autodownload: true org.freedesktop.Platform.Compat.i386: directory: lib/i386-linux-gnu version: '25.08' org.freedesktop.Platform.GL32: directory: lib/i386-linux-gnu/GL version: '1.4' versions: 25.08;1.4 subdirectories: true no-autodownload: true autodelete: false add-ld-path: lib merge-dirs: vulkan/icd.d;glvnd/egl_vendor.d;OpenCL/vendors;lib/dri;lib/d3d;vulkan/explicit_layer.d;vulkan/implicit_layer.d download-if: active-gl-driver enable-if: active-gl-driver autoprune-unless: active-gl-driver modules: - name: "bitwig-studio" buildsystem: simple build-options: strip: false no-debuginfo: true build-commands: - unzip BitwigStudio.zip -d ${FLATPAK_DEST} post-install: - ln -sf ../bitwig-studio ${FLATPAK_DEST}/bin/ # unzip drops a symlink whose target leaves its directory, so the link to the jre that # the launcher execs does not survive the zip the way it does in the debian package. - ln -sf ../lib/jre/bin/java ${FLATPAK_DEST}/bin/BitwigStudio - install -d /app/extensions/Plugins - install -d /app/lib/i386-linux-gnu/GL sources: - type: file url: 'https://downloads.bitwig.com/flathub/BitwigStudio-6.1.7.zip' sha512: 3229b4240b3d8bcea6815b000923c9bb708d321c7328d378388615c8f6112a04d29b8c8bef9b1da238abaea06be86d9ae7a19d5f22369b1d5a946ccdd558d98a dest-filename : BitwigStudio.zip only-arches: - x86_64 # vim: set expandtab tabstop=2 sw=2: