{
 "app_id": "io.github.kovzol.bibref",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.kovzol.bibref/master/io.github.kovzol.bibref.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-20T15:24:47.678720+00:00",
 "manifest": {
  "id": "io.github.kovzol.bibref",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "bibref-qt",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--system-talk-name=org.freedesktop.UDisks2"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "modules": [
   {
    "name": "sword",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DSWORD_BUILD_UTILS=No",
     "-DSWORD_BUILD_EXAMPLES=No",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DSWORD_LINK_LIBRARIES=\"curl\""
    ],
    "cleanup": [
     "/bin/*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.crosswire.org/ftpmirror/pub/sword/source/v1.9/sword-1.9.0.tar.gz",
      "sha256": "42409cf3de2faf1108523e2c5ac0745d21f9ed2a5c78ed878ee9dcc303426b8a",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 230546,
       "url-template": "https://www.crosswire.org/ftpmirror/pub/sword/source/v${version0}.${version1}/sword-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app --with-libraries=system,filesystem",
     "./b2 -j $FLATPAK_BUILDER_N_JOBS install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.gz",
      "sha256": "5e93d582aff26868d581a52ae78c7d8edf3f3064742c6e77901a1f18a437eea9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6845,
       "url-template": "https://archives.boost.io/release/$version/source/boost_${version0}_${version1}_${version2}.tar.gz"
      }
     }
    ]
   },
   {
    "name": "graphviz",
    "cleanup": [
     "/share/man",
     "/share/graphviz",
     "/share/doc/graphviz",
     "/bin/*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/15.1.1/graphviz-15.1.1.tar.gz",
      "sha256": "d511d8938bbfe985b84506c96d1bbf1acba4ad88e62b51421a8b954e572f30d9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1249,
       "url-template": "https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/$version/graphviz-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "bibref-qt",
    "buildsystem": "cmake-ninja",
    "subdir": "qt",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-UPROJECT_SOURCE_DIR",
     "-DPROJECT_SOURCE_DIR=/app/share/bibref-qt",
     "-DWEBENGINE=ON"
    ],
    "build-options": {
     "env": {
      "XDG_DATA_HOME": "/app/tmp"
     }
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kovzol/bibref/archive/792d14f7f4801142a803bc710bbf6efe27136b8e.zip",
      "sha256": "59a094404e6549de41131b3a0341c11e22c9aec13a95ad6e21bee2c3fc0bef3b"
     }
    ],
    "post-install": [
     "mv /app/tmp/.sword/* /app/share/sword"
    ]
   }
  ]
 }
}