{
 "app_id": "io.github.dvlv.boxbuddyrs",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.dvlv.boxbuddyrs/master/io.github.dvlv.boxbuddyrs.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:10:54.665218+00:00",
 "manifest": {
  "app-id": "io.github.dvlv.boxbuddyrs",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "boxbuddy-rs",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=org.freedesktop.Flatpak",
   "--filesystem=home"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "boxbuddy",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/boxbuddy/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm755 ./target/release/boxbuddy-rs -t /app/bin/",
     "mkdir -p /app/share/locale/",
     "cp -r po/{cs,nl_NL,de_DE,it_IT,uk_UA,ru_RU,pt_BR,es,hi,el,zh_CN,zh_TW,pl_PL} /app/share/locale/",
     "install -Dm644 io.github.dvlv.boxbuddyrs.desktop -t /app/share/applications/",
     "install -Dm644 io.github.dvlv.boxbuddyrs.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 icons/io.github.dvlv.boxbuddyrs.svg -t /app/share/icons/hicolor/scalable/apps",
     "install -Dm644 io.github.dvlv.boxbuddyrs.gschema.xml -t /app/share/glib-2.0/schemas/",
     "glib-compile-schemas /app/share/glib-2.0/schemas"
    ],
    "cleanup": [
     "docs",
     "*.po",
     "*.sh",
     "scripts"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Dvlv/BoxBuddyRS",
      "tag": "2.6.1",
      "commit": "267433aed7c0496cfdc004a1e5a4974297a88060"
     },
     "generated-sources.json"
    ]
   }
  ]
 }
}