{
 "app_id": "info.puredata.Pd",
 "source_url": "https://raw.githubusercontent.com/flathub/info.puredata.Pd/master/info.puredata.Pd.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all",
  "--filesystem=xdg-run/pipewire-0",
  "--filesystem=home"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:10:10.092449+00:00",
 "manifest": {
  "app-id": "info.puredata.Pd",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "pd-gui",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0",
   "--filesystem=home",
   "--device=all"
  ],
  "rename-icon": "puredata",
  "rename-appdata-file": "org.puredata.pd-gui.metainfo.xml",
  "rename-desktop-file": "org.puredata.pd-gui.desktop",
  "modules": [
   "modules/tcl.yml",
   "modules/tk.yml",
   "modules/tcltls.yml",
   {
    "name": "pd64",
    "buildsystem": "autotools",
    "config-opts": [
     "--enable-jack",
     "--with-floatsize=64",
     "--program-transform-name='s/pd$/pd64/'"
    ],
    "sources": [
     "modules/pd-git-source.yml"
    ]
   },
   {
    "name": "puredata",
    "buildsystem": "autotools",
    "config-opts": [
     "--enable-jack"
    ],
    "sources": [
     "modules/pd-git-source.yml",
     {
      "type": "patch",
      "path": "patches/deken-tls.patch"
     }
    ]
   },
   {
    "name": "wish",
    "buildsystem": "simple",
    "build-commands": [
     "test -x \"${FLATPAK_DEST}/bin/wish\" || IFS=:; find ${PATH} -maxdepth 1 -name \"wish*.*\" -printf \"%f %p\\0\" | sort -zVr | head -z -n1 | sed -e 's|^[^ ]* ||' -e \"s|$|${FLATPAK_DEST}/bin/wish|\" | xargs -t -r0 ln -sv"
    ]
   },
   "modules/releasenotes.yml"
  ]
 }
}