{
 "app_id": "com.supermodel3.Supermodel",
 "source_url": "https://raw.githubusercontent.com/flathub/com.supermodel3.Supermodel/master/com.supermodel3.Supermodel.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=home",
  "--filesystem=host:ro",
  "--allow=bluetooth"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T11:44:43.866112+00:00",
 "manifest": {
  "id": "com.supermodel3.Supermodel",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "supermodel",
  "separate-locales": false,
  "finish-args": [
   "--device=all",
   "--persist=.supermodel",
   "--filesystem=home",
   "--filesystem=host:ro",
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--allow=bluetooth"
  ],
  "modules": [
   "shared-modules/glu/glu-9.json",
   {
    "name": "supermodel",
    "buildsystem": "simple",
    "build-commands": [
     "make -f Makefiles/Makefile.UNIX NET_BOARD=1",
     "install -Dm 0755 bin/supermodel ${FLATPAK_DEST}/bin/supermodel",
     "install -Dm 0644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm 0644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm 0644 supermodel128x128.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "cp -r Assets ${FLATPAK_DEST}/bin/",
     "cp -r Config ${FLATPAK_DEST}/bin/",
     "cp -r Docs ${FLATPAK_DEST}/bin/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/trzy/Supermodel.git",
      "commit": "77d28eec84a5ededaa23bb31bc74db631cbe5530"
     },
     {
      "type": "file",
      "path": "com.supermodel3.Supermodel.desktop"
     },
     {
      "type": "file",
      "path": "com.supermodel3.Supermodel.metainfo.xml"
     },
     {
      "type": "file",
      "path": "supermodel128x128.png"
     },
     {
      "type": "patch",
      "path": "ldflags.patch"
     }
    ]
   }
  ]
 }
}