{
 "app_id": "com.crossplatformstitch.Stitcher",
 "source_url": "https://raw.githubusercontent.com/fs10102020/stitcher/main/packaging/linux/com.crossplatformstitch.Stitcher.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--talk-name=org.freedesktop.portal.*",
  "--env=GTK_USE_PORTAL=1",
  "--filesystem=xdg-pictures:ro"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-20T12:57:41.939162+00:00",
 "manifest": {
  "app-id": "com.crossplatformstitch.Stitcher",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "stitcher",
  "build-options": {
   "no-debuginfo": true
  },
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--talk-name=org.freedesktop.portal.*",
   "--env=GTK_USE_PORTAL=1",
   "--filesystem=xdg-pictures:ro"
  ],
  "modules": [
   {
    "name": "stitcher",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/lib/cross-platform-stitch /app/bin",
     "cp -a . /app/lib/cross-platform-stitch/",
     "printf '#!/bin/sh\\nexec /app/lib/cross-platform-stitch/stitcher \"$@\"\\n' > /app/bin/stitcher",
     "chmod 0755 /app/bin/stitcher"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../../apps/stitcher/build/linux/x64/release/bundle"
     }
    ]
   },
   {
    "name": "stitcher-desktop-assets",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 com.crossplatformstitch.Stitcher.desktop /app/share/applications/com.crossplatformstitch.Stitcher.desktop",
     "install -Dm644 com.crossplatformstitch.Stitcher.metainfo.xml /app/share/metainfo/com.crossplatformstitch.Stitcher.metainfo.xml",
     "install -Dm644 com.crossplatformstitch.Stitcher.svg /app/share/icons/hicolor/scalable/apps/com.crossplatformstitch.Stitcher.svg",
     "install -Dm644 LICENSE /app/share/licenses/com.crossplatformstitch.Stitcher/LICENSE"
    ],
    "sources": [
     {
      "type": "file",
      "path": "com.crossplatformstitch.Stitcher.desktop"
     },
     {
      "type": "file",
      "path": "com.crossplatformstitch.Stitcher.metainfo.xml"
     },
     {
      "type": "file",
      "path": "com.crossplatformstitch.Stitcher.svg"
     },
     {
      "type": "file",
      "path": "../../LICENSE"
     }
    ]
   },
   {
    "name": "stitch-cli",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 stitch-cli /app/bin/stitch-cli"
    ],
    "sources": [
     {
      "type": "file",
      "path": "../../target/release/stitch-cli"
     }
    ]
   }
  ]
 }
}