{
 "app_id": "io.github.julian_hochhaus.LG4X_V2",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.julian_hochhaus.LG4X_V2/master/io.github.julian_hochhaus.LG4X_V2.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "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"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:11:24.966456+00:00",
 "manifest": {
  "app-id": "io.github.julian_hochhaus.LG4X_V2",
  "runtime": "org.kde.Platform",
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "5.15-25.08",
  "runtime-version": "5.15-25.08",
  "command": "main.py",
  "rename-icon": "logo",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri"
  ],
  "cleanup": [
   "/share/man",
   "*.a"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_PYWEBENGINE=1"
   ]
  },
  "modules": [
   "python3-requirements.yaml",
   {
    "name": "openblas",
    "no-autogen": true,
    "make-args": [
     "DYNAMIC_ARCH=1",
     "DYNAMIC_OLDER=1",
     "FC=gfortran",
     "TARGET=GENERIC",
     "USE_OPENMP=0"
    ],
    "make-install-args": [
     "PREFIX=/app"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/OpenMathLib/OpenBLAS/archive/v0.3.34.tar.gz",
      "sha512": "b40b5a3b5062ea196b3e48363db584ef91aef21c61becf4f4d6616ba5e413d770c22445c357d06dcf0992dd4666c18cced44cd5d09d8cb884c0d8f62e6940422",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 2540,
       "url-template": "https://github.com/OpenMathLib/OpenBLAS/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "LG4X-V2",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm744 Python/* /app/bin",
     "cp -r Databases /app",
     "install -Dm744 config/config.ini /app/config/config.ini",
     "install -Dm644 data/${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/",
     "install -Dm644 data/logo/logo.svg -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/",
     "install -Dm644 data/${FLATPAK_ID}.desktop -t ${FLATPAK_DEST}/share/applications/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Julian-Hochhaus/LG4X-V2",
      "commit": "69b788af5dc591a0239ad803f941c88b2e8eba62"
     },
     {
      "type": "patch",
      "path": "metainfo_release_date.patch"
     }
    ]
   }
  ]
 }
}