{
 "app_id": "io.github.properrr.deckback",
 "source_url": "https://raw.githubusercontent.com/Properrr/deckback/main/flathub/io.github.properrr.deckback.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--require-version=1.16.0",
  "--share=network",
  "--socket=x11",
  "--share=ipc",
  "--socket=pulseaudio",
  "--device=dri",
  "--device=input",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--system-talk-name=org.freedesktop.login1",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--env=DECKBACK_COBALT_BIN=/app/bin/cobalt-zypak"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-20T13:03:12.717319+00:00",
 "manifest": {
  "app-id": "io.github.properrr.deckback",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "deckback",
  "separate-locales": false,
  "finish-args": [
   "--require-version=1.16.0",
   "--share=network",
   "--socket=x11",
   "--share=ipc",
   "--socket=pulseaudio",
   "--device=dri",
   "--device=input",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--system-talk-name=org.freedesktop.login1",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--env=DECKBACK_COBALT_BIN=/app/bin/cobalt-zypak"
  ],
  "modules": [
   {
    "name": "zypak",
    "buildsystem": "simple",
    "build-commands": [
     "make -j${FLATPAK_BUILDER_N_JOBS:-4}",
     "make install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/refi64/zypak",
      "tag": "v2025.09",
      "commit": "693a71c5ffa80ec9c9ce2ae03b1ccc493c698e53"
     }
    ]
   },
   {
    "name": "deckback-launcher",
    "buildsystem": "simple",
    "build-commands": [
     "cmake -G Ninja -S launcher -B _build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/app -DBUILD_TESTING=OFF",
     "ninja -C _build install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/properrr/deckback.git",
      "commit": "<COMMIT>"
     }
    ]
   },
   {
    "name": "cobalt-engine",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 apply_extra /app/bin/apply_extra"
    ],
    "sources": [
     {
      "type": "file",
      "path": "apply_extra"
     },
     {
      "type": "extra-data",
      "filename": "cobalt-prebuilt.tar.gz",
      "url": "https://github.com/properrr/deckback/releases/download/<TAG>/cobalt-prebuilt-<PIN>.tar.gz",
      "sha256": "<SHA256>",
      "size": "<SIZE>"
     }
    ]
   },
   {
    "name": "deckback-assets",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 flathub/cobalt-zypak.sh                           /app/bin/cobalt-zypak",
     "install -Dm755 flatpak/assets/deckback.sh                        /app/bin/deckback",
     "install -Dm644 config/app.json                                   /app/share/deckback/app.json",
     "install -Dm644 config/steam_input.vdf                            /app/share/deckback/steam_input.vdf",
     "install -Dm644 flatpak/assets/io.github.properrr.deckback.desktop      /app/share/applications/io.github.properrr.deckback.desktop",
     "install -Dm644 flatpak/assets/io.github.properrr.deckback.svg          /app/share/icons/hicolor/scalable/apps/io.github.properrr.deckback.svg",
     "install -Dm644 flatpak/assets/io.github.properrr.deckback.metainfo.xml /app/share/metainfo/io.github.properrr.deckback.metainfo.xml",
     "install -Dm644 LICENSE /app/share/licenses/io.github.properrr.deckback/LICENSE",
     "install -Dm644 NOTICE  /app/share/licenses/io.github.properrr.deckback/NOTICE"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/properrr/deckback.git",
      "commit": "<COMMIT>"
     }
    ]
   }
  ]
 }
}