{
 "app_id": "com.rioterm.Rio",
 "source_url": "https://raw.githubusercontent.com/flathub/com.rioterm.Rio/master/com.rioterm.Rio.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T06:34:44.199560+00:00",
 "manifest": {
  "app-id": "com.rioterm.Rio",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "command": "rio",
  "modules": [
   {
    "name": "rio",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/rio/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml",
     "cargo --offline build --release --all-features",
     "install -Dm755 -t ${FLATPAK_DEST}/bin target/release/rio",
     "install -Dm644 -t ${FLATPAK_DEST}/share/metainfo misc/${FLATPAK_ID}.metainfo.xml",
     "desktop-file-edit --set-icon=${FLATPAK_ID} misc/rio.desktop",
     "install -Dm644 misc/rio.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 misc/logo.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/raphamorim/rio.git",
      "commit": "37624389e8dde79ba25a8147a5e809c01d16d1c9",
      "tag": "v0.5.28",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/raphamorim/rio/releases/latest",
       "tag-query": ".tag_name",
       "version-query": "$tag | sub(\"^v\"; \"\")",
       "timestamp-query": ".published_at"
      }
     },
     "generated-sources.json"
    ]
   }
  ]
 }
}