{
 "app_id": "eu.ad5001.LogarithmPlotter",
 "source_url": "https://raw.githubusercontent.com/flathub/eu.ad5001.LogarithmPlotter/master/eu.ad5001.LogarithmPlotter.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--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": 2,
 "fetched_at": "2026-09-17T16:09:49.070314+00:00",
 "manifest": {
  "app-id": "eu.ad5001.LogarithmPlotter",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "base": "io.qt.PySide.BaseApp",
  "base-version": "6.10",
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1",
    "BASEAPP_DISABLE_NUMPY=1"
   ]
  },
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "command": "logarithmplotter",
  "rename-desktop-file": "logarithmplotter.desktop",
  "rename-icon": "logplotter",
  "finish-args": [
   "--share=ipc",
   "--device=dri",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--env=PATH=/app/bin:/usr/bin:/app/texlive-bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux"
  ],
  "add-extensions": {
   "org.freedesktop.Sdk.Extension.texlive": {
    "directory": "texlive",
    "version": "25.08"
   }
  },
  "modules": [
   {
    "name": "texlive",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/texlive"
    ]
   },
   {
    "name": "LogarithmPlotter",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "GIT_ALLOW_PROTOCOL": "file:https:git",
      "MIME_PATH": "/app/share/mime/packages",
      "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes",
      "CHANGELOG_PATH": ""
     }
    },
    "build-commands": [
     "rm -rf .git",
     "cd LogarithmPlotter/i18n && bash release.sh",
     "mkdir -p /app/share/metainfo/",
     "mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml",
     "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 pip3 install --verbose --no-index --prefix=${FLATPAK_DEST} --no-build-isolation --no-deps .",
     "cp CHANGELOG.md /app/lib/python3.*/site-packages/LogarithmPlotter/util/"
    ],
    "post-install": [
     "mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",
     "sed -i 's/application-x-logarithm-plot/eu.ad5001.LogarithmPlotter-application-x-logarithm-plot/g' ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",
     "mv ${ICON_PATH}/application-x-logarithm-plot.svg ${ICON_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.svg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter",
      "tag": "v0.5.0",
      "commit": "33c790b11326cb8ecb0e0c7e909ccc51b0a59ba3"
     },
     {
      "type": "file",
      "path": "eu.ad5001.LogarithmPlotter.metainfo.xml"
     },
     {
      "type": "file",
      "path": "logarithmplotter.desktop"
     }
    ]
   }
  ]
 }
}