2021-09-22 12:04:46 +00:00
|
|
|
{
|
|
|
|
"app-id": "eu.ad5001.LogarithmPlotter",
|
|
|
|
"runtime": "org.kde.Platform",
|
2021-10-01 16:46:52 +00:00
|
|
|
"runtime-version": "5.15",
|
2021-09-22 12:04:46 +00:00
|
|
|
"sdk": "org.kde.Sdk",
|
|
|
|
"finish-args": [
|
|
|
|
"--share=ipc",
|
|
|
|
"--device=dri",
|
2021-10-01 16:13:55 +00:00
|
|
|
"--socket=fallback-x11",
|
2021-09-22 12:04:46 +00:00
|
|
|
"--socket=wayland",
|
|
|
|
"--filesystem=home"
|
|
|
|
],
|
|
|
|
"command": "logarithmplotter",
|
|
|
|
"rename-desktop-file": "logarithmplotter.desktop",
|
|
|
|
"rename-icon": "logplotter",
|
|
|
|
"modules": [
|
2021-10-01 16:21:29 +00:00
|
|
|
{
|
|
|
|
"name": "PySide2",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"builddir": true,
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
|
|
"-DBUILD_TESTS=OFF"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.2-src/pyside-setup-opensource-src-5.15.2.tar.xz",
|
|
|
|
"sha256": "b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"commands": [
|
|
|
|
"mkdir -p /app/include/qt5tmp && cp -R /usr/include/Qt* /app/include/qt5tmp # https://bugreports.qt.io/broswse/PYSIDE-787",
|
|
|
|
"sed -i 's|--include-paths=|--include-paths=/app/include/qt5tmp:|' sources/pyside2/cmake/Macros/PySideModules.cmake"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
2021-09-22 12:04:46 +00:00
|
|
|
{
|
|
|
|
"name": "LogarithmPlotter",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
2021-10-01 15:28:18 +00:00
|
|
|
"rm -rf .git",
|
2022-01-21 10:44:10 +00:00
|
|
|
"cd LogarithmPlotter/i18n && bash release.sh",
|
2021-09-22 12:04:46 +00:00
|
|
|
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app"
|
|
|
|
],
|
2021-10-01 16:21:29 +00:00
|
|
|
"post-install": [
|
2021-10-01 16:32:16 +00:00
|
|
|
"mv /app/share/mime/packages/x-logarithm-plot.xml /app/share/mime/packages/eu.ad5001.LogarithmPlotter.xml"
|
2021-10-01 16:21:29 +00:00
|
|
|
],
|
2021-09-22 12:04:46 +00:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter",
|
2022-01-19 17:25:16 +00:00
|
|
|
"tag": "v0.1.3",
|
|
|
|
"commit": "b33f379c0cddfd70107755fa4c4225ed5a04331d"
|
2021-09-22 12:04:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|