{
 "app_id": "com.voxdsp.TempleDriver",
 "source_url": "https://raw.githubusercontent.com/flathub/com.voxdsp.TempleDriver/master/com.voxdsp.TempleDriver.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:09:06.128515+00:00",
 "manifest": {
  "app-id": "com.voxdsp.TempleDriver",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "templedriver",
  "rename-icon": "templedriver",
  "rename-desktop-file": "templedriver.desktop",
  "rename-appdata-file": "templedriver.appdata.xml",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "templedriver",
    "buildsystem": "simple",
    "build-commands": [
     "cc main.c -I inc -lSDL2 -lGLESv2 -lEGL -Ofast -lm -o templedriver",
     "install -Dm 0755 templedriver -t ${FLATPAK_DEST}/bin",
     "install -Dm 0644 flat/templedriver.desktop ${FLATPAK_DEST}/share/applications/templedriver.desktop",
     "install -Dm 0644 flat/templedriver.appdata.xml ${FLATPAK_DEST}/share/metainfo/templedriver.appdata.xml",
     "install -Dm 0644 flat/templedriver.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/templedriver.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/BeverlyCode/TempleDriver.git",
      "commit": "b44a8dcd2bc55da61689889e958efc3fbf2df697"
     },
     {
      "type": "patch",
      "path": "fix-appdata.patch"
     }
    ]
   }
  ]
 }
}