{
 "app_id": "org.thentrythis.Samplebrain",
 "source_url": "https://raw.githubusercontent.com/flathub/org.thentrythis.Samplebrain/master/org.thentrythis.Samplebrain.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:16:47.247189+00:00",
 "manifest": {
  "id": "org.thentrythis.Samplebrain",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "rename-desktop-file": "samplebrain.desktop",
  "rename-icon": "samplebrain",
  "command": "samplebrain",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--share=network"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/doc"
  ],
  "modules": [
   {
    "name": "portaudio",
    "buildsystem": "autotools",
    "config-opts": [
     "--with-alsa",
     "--without-jack",
     "--without-oss",
     "--without-asihpi"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PortAudio/portaudio/archive/refs/tags/v19.7.0.tar.gz",
      "sha256": "5af29ba58bbdbb7bbcefaaecc77ec8fc413f0db6f4c4e286c40c3e1b83174fa0"
     }
    ]
   },
   "shared-modules/linux-audio/liblo.json",
   {
    "name": "samplebrain",
    "buildsystem": "qmake",
    "builddir": true,
    "build-options": {
     "cxxflags": "-fpermissive",
     "env": {
      "PREFIX": "/app"
     }
    },
    "config-opts": [
     "LIBS+=-L/app/lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/then-try-this/samplebrain/-/archive/v0.18.5_release/samplebrain-v0.18.5_release.tar.gz",
      "sha256": "2e6723aa6a9ad84663a03c41af78826e0a29014a56785129b4fbd3bdba0e2993"
     }
    ]
   },
   {
    "name": "samplebrain-metainfo",
    "buildsystem": "simple",
    "build-commands": [
     "install -D --mode=644 --target-directory=$FLATPAK_DEST/share/metainfo org.thentrythis.Samplebrain.metainfo.xml"
    ],
    "sources": [
     {
      "type": "file",
      "path": "org.thentrythis.Samplebrain.metainfo.xml"
     }
    ]
   }
  ]
 }
}