{
 "app_id": "io.github.sedyh.Deckanator",
 "source_url": "https://raw.githubusercontent.com/sedyh/deckanator/main/build/flatpak/io.github.sedyh.Deckanator.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--filesystem=home",
  "--device=all",
  "--talk-name=org.freedesktop.Flatpak",
  "--env=GST_PLUGIN_FEATURE_RANK=openh264enc:NONE,openh264dec:NONE",
  "--env=GTK_MODULES="
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T13:04:21.386417+00:00",
 "manifest": {
  "app-id": "io.github.sedyh.Deckanator",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "Deckanator",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--filesystem=home",
   "--device=all",
   "--talk-name=org.freedesktop.Flatpak",
   "--env=GST_PLUGIN_FEATURE_RANK=openh264enc:NONE,openh264dec:NONE",
   "--env=GTK_MODULES="
  ],
  "modules": [
   {
    "name": "libmanette",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib",
     "-Dintrospection=false",
     "-Dvapi=false",
     "-Dbuild-tests=false",
     "-Ddemos=false",
     "-Ddoc=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.gnome.org/GNOME/libmanette.git",
      "commit": "b083b38874fb2204370c1ee62dd16833eec71aff"
     },
     {
      "type": "shell",
      "commands": [
       "grep -q \"g_clear_object (&self->driver)\" src/manette-hid-backend.c",
       "sed -i '/^disable_lizard_mode (ManetteSteamDeckDriver \\*self)$/{n;s|^{$|{\\n  return TRUE; /* no writes - Steam Input owns the controller state */|;}' src/drivers/manette-steam-deck-driver.c",
       "grep -q \"no writes - Steam Input owns\" src/drivers/manette-steam-deck-driver.c"
      ]
     }
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/gir-1.0",
     "/share/vala"
    ]
   },
   {
    "name": "deckanator",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 Deckanator /app/bin/Deckanator",
     "install -Dm644 icon.png /app/share/icons/hicolor/256x256/apps/io.github.sedyh.Deckanator.png",
     "install -Dm644 io.github.sedyh.Deckanator.desktop /app/share/applications/io.github.sedyh.Deckanator.desktop"
    ],
    "sources": [
     {
      "type": "file",
      "path": "Deckanator"
     },
     {
      "type": "file",
      "path": "icon.png"
     },
     {
      "type": "file",
      "path": "io.github.sedyh.Deckanator.desktop"
     }
    ]
   }
  ]
 }
}