{
 "app_id": "io.github.pieterdd.RcloneShuttle",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.pieterdd.RcloneShuttle/master/io.github.pieterdd.RcloneShuttle.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=host"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:11:56.654468+00:00",
 "manifest": {
  "id": "io.github.pieterdd.RcloneShuttle",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "rclone-shuttle",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--env=G_MESSAGES_DEBUG=none",
   "--env=RUST_BACKTRACE=1",
   "--filesystem=host"
  ],
  "modules": [
   {
    "name": "rclone",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/golang/bin"
    },
    "build-commands": [
     "go build -mod=vendor .",
     "install -Dm755 -t /app/bin/ rclone"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/rclone/rclone/archive/refs/tags/v1.73.1.zip",
      "sha256": "1c338a9617dc4af7bf36730b7dc275b1a7933d04e6414acfb601b61eb59a4036"
     },
     "go-sources.yml"
    ]
   },
   {
    "name": "rclone-shuttle",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/rclone-shuttle/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "mkdir -p /app/bin",
     "install -Dm755 ./target/release/rclone-shuttle /app/bin/rclone-shuttle",
     "install -Dm644 -t /app/share/icons/hicolor/512x512/apps/ meta/io.github.pieterdd.RcloneShuttle.png",
     "install -Dm644 -t /app/share/applications/ meta/io.github.pieterdd.RcloneShuttle.desktop",
     "install -Dm644 -t /app/share/metainfo/ io.github.pieterdd.RcloneShuttle.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/pieterdd/RcloneShuttle",
      "tag": "0.1.10",
      "commit": "5d02fa0e4e27201e70cea223582c5178a4e1370c"
     },
     {
      "type": "file",
      "path": "io.github.pieterdd.RcloneShuttle.metainfo.xml"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}