{
 "app_id": "io.github.jmberesford.Retrom",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.jmberesford.Retrom/master/io.github.jmberesford.Retrom.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=host-os",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:19.994375+00:00",
 "manifest": {
  "id": "io.github.jmberesford.Retrom",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.node22"
  ],
  "command": "Retrom",
  "finish-args": [
   "--talk-name=org.freedesktop.Flatpak",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--socket=pulseaudio",
   "--device=all",
   "--filesystem=host-os",
   "--share=network",
   "--env=FLATPAK=1"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node22/bin:/usr/lib/sdk/rust-stable/bin:/run/build/retrom/cargo/bin"
  },
  "modules": [
   {
    "name": "retrom",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/JMBeresford/retrom",
      "tag": "v0.8.4",
      "commit": "850b3fa2e80521168e3fc9326acffd69072bd61a"
     },
     {
      "type": "archive",
      "url": "https://github.com/JMBeresford/retrom/releases/download/v0.8.4/desktop-frontend-dist.tar.gz",
      "sha256": "41f23b329354e1abadc4ad725e44f10430110628a997c8d8bb4d55d5445bac79",
      "strip-components": 0
     },
     {
      "type": "archive",
      "url": "https://github.com/JMBeresford/retrom/releases/download/v0.8.4/cargo-deps.tar.gz",
      "sha256": "36602b805842e0867421ada8e0c4bfecda0c830c5fef316ddd800d5495361e78",
      "strip-components": 0
     }
    ],
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/retrom/cargo",
      "XDG_CACHE_HOME": "/run/build/retrom/flatpak-node/cache",
      "npm_config_cache": "/run/build/retrom/flatpak-node/npm-cache",
      "npm_config_offline": "true"
     }
    },
    "build-commands": [
     "cargo fetch --offline --config source.crates-io.replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".git=\\\"https://github.com/jmberesford/webdav-rs.git\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".rev=\\\"39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".git=\\\"https://github.com/mtkennerly/ludusavi.git\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".rev=\\\"fea63791158bcb0159ce5388d6c52cd5e7348326\\\" --config source.vendored-sources.directory=\\\"vendor\\\" --manifest-path packages/client/Cargo.toml",
     "cargo install --offline --path vendor/tauri-cli --config source.crates-io.replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".git=\\\"https://github.com/jmberesford/webdav-rs.git\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".rev=\\\"39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".git=\\\"https://github.com/mtkennerly/ludusavi.git\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".rev=\\\"fea63791158bcb0159ce5388d6c52cd5e7348326\\\" --config source.vendored-sources.directory=\\\"vendor\\\"",
     "cd packages/client && cargo --offline tauri build --no-bundle --config ./tauri.build.conf.json -- --features \"flatpak\" --offline --config source.crates-io.replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".git=\\\"https://github.com/jmberesford/webdav-rs.git\\\" --config source.\\\"git+https://github.com/jmberesford/webdav-rs.git?rev=39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\".rev=\\\"39c459aa781360a0b755e5be841e1c4dd2fd18b7\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".replace-with=\\\"vendored-sources\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".git=\\\"https://github.com/mtkennerly/ludusavi.git\\\" --config source.\\\"git+https://github.com/mtkennerly/ludusavi.git?rev=fea63791158bcb0159ce5388d6c52cd5e7348326\\\".rev=\\\"fea63791158bcb0159ce5388d6c52cd5e7348326\\\" --config source.vendored-sources.directory=\\\"../../vendor\\\"",
     "install -Dm644 -t /app/share/metainfo/ io.github.jmberesford.Retrom.metainfo.xml",
     "install -Dm644 -t /app/share/applications/ io.github.jmberesford.Retrom.desktop",
     "install -Dm755 -t /app/bin/ target/release/Retrom",
     "install -Dm644 packages/client/icons/32x32.png /app/share/icons/hicolor/32x32/apps/io.github.jmberesford.Retrom.png",
     "install -Dm644 packages/client/icons/128x128.png /app/share/icons/hicolor/128x128/apps/io.github.jmberesford.Retrom.png",
     "install -Dm644 packages/client/icons/128x128@2x.png /app/share/icons/hicolor/256x256/apps/io.github.jmberesford.Retrom.png",
     "install -Dm644 packages/client/icons/icon.png /app/share/icons/hicolor/256x256@2/apps/io.github.jmberesford.Retrom.png",
     "install -Dm644 LICENSE /app/share/licenses/io.github.jmberesford.Retrom/LICENSE"
    ]
   }
  ]
 }
}