{
 "app_id": "org.skaven.ratic",
 "source_url": "https://raw.githubusercontent.com/flathub/org.skaven.ratic/master/org.skaven.ratic.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-music:ro"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:16:32.159710+00:00",
 "manifest": {
  "id": "org.skaven.ratic",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "ratic",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--filesystem=xdg-music:ro"
  ],
  "modules": [
   {
    "name": "ratic",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/ratic/cargo",
      "CARGO_NET_OFFLINE": "true",
      "RUST_BACKTRACE": "1",
      "RUST_LOG": "ratic=debug"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo build --offline --release --all-features",
     "install -Dm0755 target/release/ratic ${FLATPAK_DEST}/bin/ratic",
     "install -Dm0644 target/share/glib-2.0/schemas/gschemas.compiled ${FLATPAK_DEST}/share/glib-2.0/schemas/gschemas.compiled",
     "install -Dm0644 data/icons/scalable/apps/logo.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm0644 data/icons/scalable/apps/logo_black.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}_black.svg",
     "install -Dm0644 data/icons/symbolic/apps/*.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/",
     "install -Dm0644 data/org.skaven.ratic.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm0644 data/org.skaven.ratic.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.gnome.org/RatCornu/ratic.git",
      "tag": "v0.4.2",
      "commit": "9cae38dde7adf6d193f5705264362c7592cee91e"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}