{
 "app_id": "io.dwk.anglesite.linux",
 "source_url": "https://raw.githubusercontent.com/Anglesite/Anglesite/main/packaging/flatpak/io.dwk.anglesite.linux.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--share=network",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:59:25.247714+00:00",
 "manifest": {
  "app-id": "io.dwk.anglesite.linux",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.swift6"
  ],
  "command": "anglesite-linux",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--share=network",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/swift6/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/swift6/lib",
   "build-args": [
    "--share=network"
   ]
  },
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "anglesite-linux",
    "builddir": true,
    "buildsystem": "simple",
    "sources": [
     {
      "type": "dir",
      "path": "../.."
     }
    ],
    "build-commands": [
     "ANGLESITE_LINUX_SHELL=1 swift build -c release --static-swift-stdlib --product anglesite-linux",
     "install -Dm755 \"$(find .build -type f \\( -name anglesite-linux -o -name AnglesiteLinux \\) -path '*/release/*' | head -n1)\" /app/bin/anglesite-linux",
     "install -Dm644 Resources/wysiwyg-engine/engine.js /app/share/anglesite/wysiwyg-engine/engine.js",
     "install -Dm644 packaging/flatpak/io.dwk.anglesite.linux.metainfo.xml /app/share/metainfo/io.dwk.anglesite.linux.metainfo.xml",
     "install -Dm644 packaging/flatpak/io.dwk.anglesite.linux.desktop /app/share/applications/io.dwk.anglesite.linux.desktop",
     "install -Dm644 packaging/flatpak/icons/io.dwk.anglesite.linux.svg /app/share/icons/hicolor/scalable/apps/io.dwk.anglesite.linux.svg"
    ]
   }
  ]
 }
}