{
 "app_id": "io.github.birabittoh.kameorepowered",
 "source_url": "https://raw.githubusercontent.com/fpiesche/flatpak-builds/main/apps/io.github.birabittoh.kameorepowered/io.github.birabittoh.kameorepowered.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--device=all",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--filesystem=xdg-run/gamescope-0:ro"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-20T12:56:46.396042+00:00",
 "manifest": {
  "app-id": "io.github.birabittoh.kameorepowered",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "io.github.birabittoh.kameorepowered.sh",
  "finish-args": [
   "--device=all",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/gamescope-0:ro"
  ],
  "build-options": {
   "strip": true,
   "no-debuginfo": true
  },
  "modules": [
   {
    "name": "extract-xiso",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/rikyperdana/extract-xiso/raw/refs/heads/master/extract-xiso",
      "dest-filename": "extract-xiso",
      "sha256": "ee065965c2f8c73d924973e422f10537d8eecd5e83e5914fa20b4721411fec52"
     }
    ],
    "build-commands": [
     "install -D -m755 extract-xiso -t /app/bin/"
    ]
   },
   {
    "name": "recomp",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/birabittoh/KameoRePowered/releases/download/v0.2.1/kameorepowered-v0.2.1-linux-x64.tar.gz",
      "dest-filename": "kameorepowered.tar.gz",
      "sha256": "f6f7e5e52bd19fccb298128a6b37ddeb5f851faf738c9fad8fe1d6a6960a6372",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/birabittoh/KameoRePowered/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name | test(\"^kameorepowered-v.*linux-x64.tar.gz\")).browser_download_url"
      }
     }
    ],
    "build-commands": [
     "tar -xf kameorepowered.tar.gz --no-same-owner",
     "install -D -m755 kameorepowered -t /app/bin/",
     "install -D -m644 librexruntime.so -t /app/lib/",
     "install -D -m644 libTracyClient.so -t /app/lib/"
    ]
   },
   {
    "name": "freedesktop",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "path": "io.github.birabittoh.kameorepowered.metainfo.xml"
     },
     {
      "type": "file",
      "path": "io.github.birabittoh.kameorepowered.sh"
     },
     {
      "type": "file",
      "path": "io.github.birabittoh.kameorepowered.png"
     },
     {
      "type": "file",
      "path": "io.github.birabittoh.kameorepowered.desktop"
     }
    ],
    "build-commands": [
     "install -D -m644 io.github.birabittoh.kameorepowered.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "install -D -m644 ${FLATPAK_ID}.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "install -D -m644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
     "install -D -m755 ${FLATPAK_ID}.sh -t /app/bin/"
    ]
   }
  ]
 }
}