{
 "app_id": "io.github.sethcottle.Hangar",
 "source_url": "https://raw.githubusercontent.com/sethcottle/hangar/main/io.github.sethcottle.Hangar.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--share=network",
  "--device=dri",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:23:38.125813+00:00",
 "manifest": {
  "app-id": "io.github.sethcottle.Hangar",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "hangar",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--talk-name=org.freedesktop.secrets"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_HOME": "/run/build/hangar/cargo",
    "RUST_BACKTRACE": "1"
   }
  },
  "modules": [
   {
    "name": "hangar",
    "buildsystem": "simple",
    "build-commands": [
     "pkg-config --atleast-version=1.18 gstreamer-1.0 || { echo \"hangar: gstreamer-1.0 >= 1.18 is required\" >&2; exit 1; }",
     "pkg-config --atleast-version=1.18 gstreamer-base-1.0 || { echo \"hangar: gstreamer-base-1.0 >= 1.18 is required\" >&2; exit 1; }",
     "pkg-config --atleast-version=1.18 gstreamer-video-1.0 || { echo \"hangar: gstreamer-video-1.0 >= 1.18 is required\" >&2; exit 1; }",
     "pkg-config --atleast-version=1.18 gstreamer-gl-1.0 || { echo \"hangar: gstreamer-gl-1.0 >= 1.18 is required\" >&2; exit 1; }",
     "pkg-config --exists gstreamer-gl-egl-1.0 || { echo \"hangar: gstreamer-gl-egl-1.0 is required\" >&2; exit 1; }",
     "pkg-config --exists gstreamer-gl-wayland-1.0 || { echo \"hangar: gstreamer-gl-wayland-1.0 is required\" >&2; exit 1; }",
     "pkg-config --exists gstreamer-gl-x11-1.0 || { echo \"hangar: gstreamer-gl-x11-1.0 is required\" >&2; exit 1; }",
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm755 target/release/hangar /app/bin/hangar",
     "install -Dm644 assets/icons/io.github.sethcottle.Hangar.svg /app/share/icons/hicolor/scalable/apps/io.github.sethcottle.Hangar.svg",
     "install -Dm644 assets/icons/png/16/io.github.sethcottle.Hangar.png /app/share/icons/hicolor/16x16/apps/io.github.sethcottle.Hangar.png",
     "install -Dm644 assets/icons/png/32/io.github.sethcottle.Hangar.png /app/share/icons/hicolor/32x32/apps/io.github.sethcottle.Hangar.png",
     "install -Dm644 assets/icons/png/48/io.github.sethcottle.Hangar.png /app/share/icons/hicolor/48x48/apps/io.github.sethcottle.Hangar.png",
     "install -Dm644 assets/icons/png/64/io.github.sethcottle.Hangar.png /app/share/icons/hicolor/64x64/apps/io.github.sethcottle.Hangar.png",
     "install -Dm644 assets/icons/png/128/io.github.sethcottle.Hangar.png /app/share/icons/hicolor/128x128/apps/io.github.sethcottle.Hangar.png",
     "install -Dm644 assets/icons/png/256/io.github.sethcottle.Hangar.png /app/share/icons/hicolor/256x256/apps/io.github.sethcottle.Hangar.png",
     "install -Dm644 data/io.github.sethcottle.Hangar.desktop /app/share/applications/io.github.sethcottle.Hangar.desktop",
     "install -Dm644 data/io.github.sethcottle.Hangar.metainfo.xml /app/share/metainfo/io.github.sethcottle.Hangar.metainfo.xml",
     "install -Dm644 data/io.github.sethcottle.Hangar.gschema.xml /app/share/glib-2.0/schemas/io.github.sethcottle.Hangar.gschema.xml",
     "glib-compile-schemas /app/share/glib-2.0/schemas"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}