{
 "app_id": "eu.lastviking.lgx",
 "source_url": "https://raw.githubusercontent.com/jgaa/lgx/main/flatpak/eu.lastviking.lgx.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--filesystem=host",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 2,
 "fetched_at": "2026-10-05T15:58:18.638613+00:00",
 "manifest": {
  "app-id": "eu.lastviking.lgx",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "lgx",
  "finish-args": [
   "--filesystem=host",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "modules": [
   {
    "name": "boost-headers",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/include /app/lib/cmake/Boost-1.90.0",
     "cp -r boost-src/boost /app/include/boost",
     "cat > /app/lib/cmake/Boost-1.90.0/BoostConfig.cmake << 'CMEOF'\nset(Boost_FOUND TRUE)\nset(Boost_VERSION \"1.90.0\")\nif(NOT TARGET Boost::headers)\n  add_library(Boost::headers INTERFACE IMPORTED)\n  set_target_properties(Boost::headers PROPERTIES\n    INTERFACE_INCLUDE_DIRECTORIES \"/app/include\")\nendif()\nif(NOT TARGET Boost::boost)\n  add_library(Boost::boost INTERFACE IMPORTED)\n  set_target_properties(Boost::boost PROPERTIES\n    INTERFACE_INCLUDE_DIRECTORIES \"/app/include\")\nendif()\nCMEOF\n",
     "cat > /app/lib/cmake/Boost-1.90.0/BoostConfigVersion.cmake << 'CMEOF'\nset(PACKAGE_VERSION \"1.90.0\")\nif(PACKAGE_FIND_VERSION VERSION_GREATER \"1.90.0\")\n  set(PACKAGE_VERSION_COMPATIBLE FALSE)\nelse()\n  set(PACKAGE_VERSION_COMPATIBLE TRUE)\nendif()\nCMEOF\n"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/boostorg/boost/releases/download/boost-1.90.0/boost-1.90.0-b2-nodocs.tar.gz",
      "sha256": "e848446c6fec62d8a96b44ed7352238b3de040b8b9facd4d6963b32f541e00f5",
      "dest": "boost-src",
      "strip-components": 1
     }
    ]
   },
   {
    "name": "lgx",
    "buildsystem": "simple",
    "build-commands": [
     "cmake -S . -B _build -G Ninja \\\n  -DCMAKE_BUILD_TYPE=Release \\\n  -DCMAKE_INSTALL_PREFIX=/app \\\n  -DCMAKE_PREFIX_PATH=/app \\\n  -DLGX_QCORO_SOURCE_DIR=\"$(pwd)/third_party/qcoro\" \\\n  -DLGX_LOGFAULT_SOURCE_DIR=\"$(pwd)/third_party/logfault\" \\\n  -DLGX_ENABLE_TESTS=OFF \\\n  -DLGX_ENABLE_SYSTEMD_SOURCE=ON\n",
     "cmake --build _build --parallel",
     "install -Dm755 _build/bin/lgx /app/bin/lgx",
     "install -Dm644 images/lgxicon.svg /app/share/icons/hicolor/scalable/apps/eu.lastviking.lgx.svg",
     "install -Dm644 flatpak/eu.lastviking.lgx.desktop /app/share/applications/eu.lastviking.lgx.desktop",
     "install -Dm644 _build/flatpak/eu.lastviking.lgx.metainfo.xml /app/share/metainfo/eu.lastviking.lgx.metainfo.xml"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     },
     {
      "type": "git",
      "url": "https://github.com/qcoro/qcoro.git",
      "tag": "v0.12.0",
      "dest": "third_party/qcoro"
     },
     {
      "type": "git",
      "url": "https://github.com/jgaa/logfault.git",
      "tag": "v0.8.5",
      "dest": "third_party/logfault"
     }
    ]
   }
  ]
 }
}