{
 "app_id": "app.silktex.SilkTex",
 "source_url": "https://raw.githubusercontent.com/DERK0CHER/SilkTex/master/app.silktex.SilkTex.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-download:rw",
  "--filesystem=xdg-documents:rw",
  "--talk-name=org.freedesktop.portal.OpenURI",
  "--env=PATH=/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux:/app/bin:/usr/bin",
  "--env=LD_LIBRARY_PATH=/app/texlive/lib",
  "--env=GSK_RENDERER=cairo"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-20T12:56:34.709382+00:00",
 "manifest": {
  "app-id": "app.silktex.SilkTex",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "silktex",
  "add-extensions": {
   "org.freedesktop.Sdk.Extension.texlive": {
    "directory": "texlive",
    "subdirectories": true,
    "autodelete": true,
    "version": "25.08"
   }
  },
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--filesystem=xdg-download:rw",
   "--filesystem=xdg-documents:rw",
   "--talk-name=org.freedesktop.portal.OpenURI",
   "--env=PATH=/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux:/app/bin:/usr/bin",
   "--env=LD_LIBRARY_PATH=/app/texlive/lib",
   "--env=GSK_RENDERER=cairo"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/gtk-doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "silktex-node",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/silktex-node/cargo"
     }
    },
    "build-commands": [
     "cargo build --release --offline",
     "install -Dm755 target/release/silktex-node -t /app/bin/"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "silktex-node"
     },
     "cargo-sources.json"
    ]
   },
   {
    "name": "texlive-extension-point",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/texlive"
    ]
   },
   {
    "name": "poppler",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_GTK_TESTS=OFF",
     "-DBUILD_QT5_TESTS=OFF",
     "-DBUILD_QT6_TESTS=OFF",
     "-DBUILD_CPP_TESTS=OFF",
     "-DENABLE_BOOST=OFF",
     "-DENABLE_CPP=OFF",
     "-DENABLE_GLIB=ON",
     "-DENABLE_GOBJECT_INTROSPECTION=OFF",
     "-DENABLE_GTK_DOC=OFF",
     "-DENABLE_QT5=OFF",
     "-DENABLE_QT6=OFF",
     "-DENABLE_UTILS=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/poppler/poppler.git",
      "tag": "poppler-25.07.0",
      "commit": "e4e52f48c64085dc6fda0befc43843ab72b87b35"
     }
    ]
   },
   {
    "name": "silktex",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release",
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     }
    ]
   }
  ]
 }
}