{
 "app_id": "io.ossia.score",
 "source_url": "https://raw.githubusercontent.com/flathub/io.ossia.score/master/io.ossia.score.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=all",
  "--filesystem=xdg-run/pipewire-0",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--allow=bluetooth",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--system-talk-name=org.bluez"
 ],
 "module_count": 17,
 "fetched_at": "2026-09-20T12:18:08.571262+00:00",
 "manifest": {
  "id": "io.ossia.score",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "build-options": {
   "env": {
    "CC": "/usr/lib/sdk/llvm20/bin/clang",
    "CXX": "/usr/lib/sdk/llvm20/bin/clang++"
   }
  },
  "command": "ossia-score",
  "rename-desktop-file": "ossia-score.desktop",
  "rename-icon": "ossia-score",
  "rename-appdata-file": "ossia-score.appdata.xml",
  "finish-args": [
   "--allow=bluetooth",
   "--system-talk-name=org.bluez",
   "--filesystem=host",
   "--device=all",
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0",
   "--talk-name=org.freedesktop.ScreenSaver"
  ],
  "add-extensions": {
   "org.freedesktop.LinuxAudio.Plugins": {
    "directory": "extensions/Plugins",
    "version": "25.08",
    "add-ld-path": "lib",
    "merge-dirs": "vst;vst3;lv2;clap",
    "subdirectories": true,
    "no-autodownload": true
   }
  },
  "cleanup": [
   "/bin/avahi*",
   "*.a",
   "*.la",
   "*.java",
   "*.d",
   "*.cs",
   "/share/faust/*.cpp",
   "/share/faust/*.h",
   "/share/faust/api",
   "/share/faust/AU",
   "/share/faust/audiokit",
   "/share/faust/autodiff",
   "/share/faust/android",
   "/share/faust/chaos-stratus",
   "/share/faust/cmajor",
   "/share/faust/daisy",
   "/share/faust/esp32",
   "/share/faust/examples",
   "/share/faust/iOS",
   "/share/faust/juce",
   "/share/faust/julia",
   "/share/faust/max-msp",
   "/share/faust/nodejs",
   "/share/faust/osclib",
   "/share/faust/sam",
   "/share/faust/smartKeyboard",
   "/share/faust/juce",
   "/share/faust/svgplot",
   "/share/faust/teensy",
   "/share/faust/unity",
   "/share/faust/rust",
   "/share/faust/vcvrack",
   "/share/faust/webaudio",
   "/share/faust/js",
   "/lib/cmake",
   "/lib/girepository-1.0",
   "/lib/pkgconfig",
   "/lib/avahi",
   "/lib/python*",
   "/share/gir-1.0",
   "/share/man",
   "/share/pkgconfig",
   "/share/aclocal",
   "/share/gtk-doc",
   "/share/doc",
   "/share/info",
   "/share/pixmaps",
   "/share/async-mqtt5",
   "/man"
  ],
  "modules": [
   "shared-modules/linux-audio/lv2.json",
   "shared-modules/linux-audio/lilv.json",
   "modules/dr_libs.yaml",
   "modules/portaudio.yaml",
   "modules/rubberband.yaml",
   "modules/rapidfuzz-cpp.yaml",
   "modules/re2.yaml",
   "modules/libcoap.yaml",
   "modules/boost.yaml",
   "modules/snappy.yaml",
   "modules/suil.yaml",
   "modules/spdlog.yaml",
   "modules/hdf5.yaml",
   "modules/highfive.yaml",
   "modules/ysfx.yaml",
   "modules/faust.yaml",
   {
    "name": "ossia-score",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ossia/score/releases/download/v3.7.1/ossia.score-3.7.1-src.tar.xz",
      "sha256": "d84b86c481d11152bba416767b713babfed62fac02b13bfd111f37fa8f3abb3e"
     },
     {
      "type": "script",
      "dest-filename": "run",
      "commands": [
       "export LV2_PATH=\"$HOME/.lv2:/app/extensions/Plugins/lv2:/app/lib/lv2\"",
       "export VST_PATH=\"/app/extensions/Plugins/vst\"",
       "export VST3_PATH=\"/app/extensions/Plugins/vst3\"",
       "export CLAP_PATH=\"/app/extensions/Plugins/clap\"",
       "exec ossia-score.bin \"$@\""
      ]
     }
    ],
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-Wno-dev",
     "-DLLVM_CONFIG=/usr/lib/sdk/llvm20/bin/llvm-config",
     "-DSCORE_DEPLOYMENT_BUILD=1",
     "-DSCORE_STATIC_PLUGINS=1",
     "-DSCORE_FHS_BUILD=1",
     "-DCMAKE_UNITY_BUILD=1",
     "-DCMAKE_SKIP_RPATH=ON",
     "-DOSSIA_USE_SYSTEM_LIBRARIES=1",
     "-DSCORE_USE_SYSTEM_LIBRARIES=1",
     "-DSCORE_NO_QTCONF=1"
    ],
    "post-install": [
     "install -Dm755 \"${FLATPAK_DEST}/bin/ossia-score\" \"${FLATPAK_DEST}/bin/ossia-score.bin\"",
     "install -Dm755 /usr/lib/sdk/llvm20/lib/libLLVM.so.20.1 \"${FLATPAK_DEST}/lib/\"",
     "install -Dm755 /usr/lib/sdk/llvm20/lib/libclang-cpp.so.20.1 \"${FLATPAK_DEST}/lib/\"",
     "cp -rf /usr/lib/sdk/llvm20/include/* \"${FLATPAK_DEST}/include/\"",
     "cp -rf /usr/include/* \"${FLATPAK_DEST}/include/\"",
     "install -Dm755 ../run \"${FLATPAK_DEST}/bin/ossia-score\"",
     "install -d /app/extensions/Plugins"
    ]
   }
  ]
 }
}