{
 "app_id": "io.github.plrigaux.sysd-manager",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.plrigaux.sysd-manager/master/io.github.plrigaux.sysd-manager.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=host-etc",
  "--filesystem=host-os",
  "--filesystem=/var/log:ro",
  "--talk-name=org.freedesktop.systemd1",
  "--system-talk-name=org.freedesktop.systemd1"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:56.654470+00:00",
 "manifest": {
  "id": "io.github.plrigaux.sysd-manager",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "sysd-manager",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=host-os",
   "--filesystem=host-etc",
   "--filesystem=/var/log:ro",
   "--talk-name=org.freedesktop.systemd1",
   "--system-talk-name=org.freedesktop.systemd1"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "sysd-manager",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/sysd-manager/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --features flatpak",
     "echo \"\"",
     "echo Generating files",
     "echo \"\"",
     "cargo --offline run -p transtools -- packfiles",
     "echo \"\"",
     "install -Dm755 ./target/release/sysd-manager -t /app/bin/",
     "install -Dm644 ./data/icons/hicolor/scalable/apps/io.github.plrigaux.sysd-manager.svg -t /app/share/icons/hicolor/scalable/apps/",
     "install -Dm644 ./data/schemas/io.github.plrigaux.sysd-manager.gschema.xml -t /app/share/glib-2.0/schemas",
     "install -Dm644 ./target/loc/io.github.plrigaux.sysd-manager.desktop -t /app/share/applications",
     "install -Dm644 ./target/loc/io.github.plrigaux.sysd-manager.metainfo.xml -t /app/share/metainfo",
     "cp -r ./target/locale /app/share/",
     "glib-compile-schemas /app/share/glib-2.0/schemas"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/plrigaux/sysd-manager.git",
      "tag": "v2.22.2",
      "commit": "393387aff56993a4a5af0b97e6daab97f6b29d98"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}