Răsfoiți Sursa

build: mount Flatpak audio plugin extensions

(cherry picked from commit a559b5bc817cf948a18caedc64b78e1d7ee001b4)
Mateusz Paluszkiewicz 3 zile în urmă
părinte
comite
192340afcd
1 a modificat fișierele cu 9 adăugiri și 0 ștergeri
  1. 9 0
      resources/linux/com.lynx_share.LYNX.flatpak.yml

+ 9 - 0
resources/linux/com.lynx_share.LYNX.flatpak.yml

@@ -22,6 +22,14 @@ finish-args:
   # the project file chooser is not a portal
   - --filesystem=home
   - --share=network
+add-extensions:
+  org.freedesktop.LinuxAudio.Plugins:
+    directory: extensions/Plugins
+    version: '26.08'
+    subdirectories: true
+    no-autodownload: true
+    add-ld-path: lib
+    merge-dirs: clap;lv2;vst;vst3
 modules:
   - name: lynx
     buildsystem: simple
@@ -32,6 +40,7 @@ modules:
       - type: file
         path: com.lynx_share.LYNX.appdata.xml
     build-commands:
+      - install -d /app/extensions/Plugins
       # src/ui/OnnxRuntime.h loads libonnxruntime.so.<version> from the directory of the executable
       - install -Dm755 -t /app/bin stage/LYNX stage/libonnxruntime.so.*
       - install -Dm644 stage/lynx.desktop /app/share/applications/${FLATPAK_ID}.desktop