{
 "app_id": "com.github.ahrm.sioyek",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.ahrm.sioyek/master/com.github.ahrm.sioyek.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--device=shm",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-download",
  "--filesystem=xdg-music",
  "--filesystem=/run/media",
  "--filesystem=/media",
  "--filesystem=/tmp",
  "--filesystem=~/.config/sioyek"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:07:30.260200+00:00",
 "manifest": {
  "app-id": "com.github.ahrm.sioyek",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "sioyek",
  "finish-args": [
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=/run/media",
   "--filesystem=/media",
   "--filesystem=/tmp",
   "--filesystem=~/.config/sioyek",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=shm",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh",
     "./b2 install --prefix=/app --with-system --with-random define=\"BOOST_SYSTEM_NO_DEPRECATED\" -sNO_BZIP2=1 cxxflags=-fPIC cflags=-fPIC"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2",
      "sha256": "8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc"
     }
    ]
   },
   "qt5-15.yaml",
   "shared-modules/glu/glu-9.json",
   {
    "name": "sioyek",
    "buildsystem": "simple",
    "build-commands": [
     "./build_linux.sh",
     "mv build /app/sioyek",
     "test -d /app/bin || mkdir /app/bin",
     "ln -s /app/sioyek/sioyek /app/bin/sioyek"
    ],
    "post-install": [
     "install -Dm644 resources/sioyek-icon-linux.png /app/share/icons/hicolor/256x256/apps/com.github.ahrm.sioyek.png",
     "desktop-file-install --delete-original --dir=/app/share/applications com.github.ahrm.sioyek.desktop",
     "install -Dm644 -t /app/share/metainfo com.github.ahrm.sioyek.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ahrm/sioyek.git",
      "tag": "v2.0.0"
     },
     {
      "type": "patch",
      "path": "patch/sioyek_build_fix.patch"
     },
     {
      "type": "patch",
      "path": "patch/update_build_linux.patch"
     },
     {
      "type": "patch",
      "path": "patch/fix_build_GL_CLAMP.patch"
     },
     {
      "type": "file",
      "path": "com.github.ahrm.sioyek.metainfo.xml"
     },
     {
      "type": "file",
      "path": "com.github.ahrm.sioyek.desktop"
     }
    ]
   }
  ],
  "cleanup": [
   "/share/man",
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ]
 }
}