{
 "app_id": "com.github.spectre",
 "source_url": "https://raw.githubusercontent.com/toger5/Spectre-gtk/master/build-aux/com.github.spectre.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "46",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--socket=session-bus",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:53:18.338220+00:00",
 "manifest": {
  "app-id": "com.github.spectre",
  "runtime": "org.gnome.Platform",
  "runtime-version": "46",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm16"
  ],
  "command": "spectre-gtk",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=session-bus",
   "--device=dri",
   "--filesystem=home"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/llvm16/bin:/usr/lib/sdk/rust-stable/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm12/lib",
   "build-args": [
    "--share=network"
   ],
   "env": {
    "CARGO_HOME": "/run/build/spectre-gtk/cargo",
    "RUST_BACKTRACE": "1",
    "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang",
    "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
    "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang",
    "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
   }
  },
  "modules": [
   {
    "name": "libsodium",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/jedisct1/libsodium.git",
      "tag": "1.0.18-RELEASE"
     }
    ]
   },
   {
    "name": "spectre-gtk",
    "buildsystem": "simple",
    "build-commands": [
     "cargo build --verbose",
     "install -Dm755 ./target/debug/spectre-gtk -t /app/bin/",
     "install -Dm644 ./data/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 ./data/${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 ./data/${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../"
     }
    ]
   }
  ]
 }
}