{
    "app-id": "eu.ad5001.LogarithmPlotter",
    "runtime": "org.kde.Platform",
    "runtime-version": "5.15",
    "sdk": "org.kde.Sdk",
    "finish-args": [
        "--share=ipc",
        "--device=dri",
        "--socket=x11",
        "--socket=wayland",
        "--talk-name=org.freedesktop.DBus.Proprieties",
        "--talk-name=org.freedesktop.IBus",
        "--talk-name=org.freedestkop.portal.*",
        "--filesystem=home"
    ],
    "command": "logarithmplotter",
    "rename-desktop-file": "logarithmplotter.desktop",
    "rename-icon": "logplotter",
    "rename-appdata-file": "eu.ad5001.LogarithmPlotter.metainfo.xml",
    "cleanup": [ ],
    "post-install": [
        "install -D mimetypes /app/share/mime/packages/x-logarithm-plot.xml"
    ],
    "modules": [
        "python3-pyside2.json",

        {
            "name": "LogarithmPlotter",
            "buildsystem": "simple",
            "config-opts": ["no-debuginfo-compression"],
            "build-commands": [
                "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter"
                }
            ]
        }
    ]
}
