{
 "app_id": "com.polyphone_soundfonts.polyphone",
 "source_url": "https://raw.githubusercontent.com/flathub/com.polyphone_soundfonts.polyphone/master/com.polyphone_soundfonts.polyphone.json",
 "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=home",
  "--filesystem=xdg-run/pipewire-0",
  "--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:08:33.468005+00:00",
 "manifest": {
  "app-id": "com.polyphone_soundfonts.polyphone",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "polyphone",
  "rename-appdata-file": "io.polyphone.polyphone.metainfo.xml",
  "rename-desktop-file": "io.polyphone.polyphone.desktop",
  "rename-icon": "polyphone",
  "rename-mime-file": "polyphone.xml",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=home",
   "--filesystem=xdg-run/pipewire-0",
   "--share=network",
   "--env=TMPDIR=/var/tmp",
   "--env=ALSA_CONFIG_PATH=",
   "--env=QT_ENABLE_HIGHDPI_SCALING=1"
  ],
  "modules": [
   {
    "name": "portaudio",
    "config-opts": [
     "--disable-static",
     "--without-oss"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share",
     "*.a",
     "*.la"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz",
      "sha256": "f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513"
     }
    ]
   },
   {
    "name": "rtmidi",
    "config-opts": [
     "--disable-static",
     "--enable-shared",
     "--with-alsa",
     "--with-jack"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share",
     "*.la"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://caml.music.mcgill.ca/~gary/rtmidi/release/rtmidi-4.0.0.tar.gz",
      "sha256": "370cfe710f43fbeba8d2b8c8bc310f314338c519c2cf2865e2d2737b251526cd"
     }
    ]
   },
   "shared-modules/linux-audio/stk.json",
   {
    "name": "polyphone",
    "buildsystem": "qmake",
    "subdir": "sources",
    "cleanup": [
     "/share/man"
    ],
    "post-install": [
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/davy7125/polyphone/archive/refs/tags/2.6.0.tar.gz",
      "sha256": "25579f338ce7bf7112b7554094f24790ad3b8c617ad4119c3a37a3e89b856e28"
     },
     {
      "type": "patch",
      "path": "patches/polyphone-build.patch"
     },
     {
      "type": "shell",
      "commands": [
       "touch polyphone.pro"
      ]
     }
    ]
   }
  ]
 }
}