{
 "app_id": "io.github.seadve.Delineate",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.seadve.Delineate/master/io.github.seadve.Delineate.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "48",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:12:06.897694+00:00",
 "manifest": {
  "id": "io.github.seadve.Delineate",
  "runtime": "org.gnome.Platform",
  "runtime-version": "48",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "command": "delineate",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "d3-graphviz",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/node20/bin"
    },
    "build-commands": [
     "npm install --offline --cache=$FLATPAK_BUILDER_BUILDDIR/flatpak-node/npm-cache",
     "npm run build",
     "mkdir -p $FLATPAK_DEST/src/delineate/graph_view/d3-graphviz",
     "cp -r node_modules $FLATPAK_DEST/src/delineate/graph_view/d3-graphviz",
     "cp -r build $FLATPAK_DEST/src/delineate/graph_view/d3-graphviz"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/magjac/d3-graphviz.git",
      "tag": "v5.6.0"
     },
     "generated-sources.json"
    ]
   },
   {
    "name": "delineate",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/SeaDve/Delineate/releases/download/v0.1.1/delineate-0.1.1.tar.xz",
      "sha256": "fe346483f74c9fcf21a1a81700b394f7088aa960fdd90962a7474511ecdff424",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/SeaDve/Delineate/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name==\"delineate-\" + $version + \".tar.xz\") | .browser_download_url"
      }
     }
    ]
   }
  ]
 }
}