2021-09-22 12:04:46 +00:00
|
|
|
{
|
|
|
|
"app-id": "eu.ad5001.LogarithmPlotter",
|
|
|
|
"runtime": "org.kde.Platform",
|
2023-05-25 10:22:19 +00:00
|
|
|
"runtime-version": "6.4",
|
2021-09-22 12:04:46 +00:00
|
|
|
"sdk": "org.kde.Sdk",
|
|
|
|
"finish-args": [
|
|
|
|
"--share=ipc",
|
|
|
|
"--device=dri",
|
2023-05-25 10:22:19 +00:00
|
|
|
"--socket=x11",
|
2021-09-22 12:04:46 +00:00
|
|
|
"--socket=wayland",
|
2022-03-08 18:49:28 +00:00
|
|
|
"--filesystem=home",
|
2023-05-25 10:22:19 +00:00
|
|
|
"--talk-name=org.freedesktop.portal.FileChooser",
|
2022-04-22 23:14:46 +00:00
|
|
|
"--env=PATH=/app/bin:/usr/bin:/app/texlive-bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux"
|
2021-09-22 12:04:46 +00:00
|
|
|
],
|
2022-03-08 18:49:28 +00:00
|
|
|
"add-extensions": {
|
|
|
|
"org.freedesktop.Sdk.Extension.texlive": {
|
|
|
|
"directory": "texlive",
|
2023-05-25 10:22:19 +00:00
|
|
|
"version": "22.08"
|
2022-03-08 18:49:28 +00:00
|
|
|
}
|
|
|
|
},
|
2021-09-22 12:04:46 +00:00
|
|
|
"command": "logarithmplotter",
|
|
|
|
"rename-desktop-file": "logarithmplotter.desktop",
|
|
|
|
"rename-icon": "logplotter",
|
|
|
|
"modules": [
|
2021-10-01 16:21:29 +00:00
|
|
|
{
|
2023-05-25 10:22:19 +00:00
|
|
|
"name": "pyside6",
|
|
|
|
"buildsystem": "simple",
|
2022-04-22 15:52:39 +00:00
|
|
|
"build-options": {
|
2023-05-25 10:22:19 +00:00
|
|
|
"env": {
|
|
|
|
"GIT_ALLOW_PROTOCOL": "file:https:git"
|
|
|
|
}
|
2022-04-22 15:52:39 +00:00
|
|
|
},
|
2023-05-25 10:22:19 +00:00
|
|
|
"build-commands": [
|
|
|
|
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyside6_essentials --no-build-isolation",
|
|
|
|
"rm -rf ${FLATPAK_DEST}/bin/pyside6-{assistant,designer,linguist,lrelease,lupdate,qmllint}",
|
|
|
|
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/{assistant,designer,linguist,lrelease,lupdate,qmllint}",
|
|
|
|
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/{examples,Qt/resources}",
|
|
|
|
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/Qt/qml/QtQuick/Controls/{Imagine,Material,Universal,designer}",
|
|
|
|
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/Qt/translations/{qtwebengine_locales,linguist*,assistant*,designer*,qtdeclarative*,qt_help*}",
|
|
|
|
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/Qt/{lib,libexec}"
|
2021-10-01 16:21:29 +00:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
2023-05-25 10:22:19 +00:00
|
|
|
"type": "file",
|
|
|
|
"url": "https://files.pythonhosted.org/packages/51/23/44fe28b2b7ee64cb53b72ab3b559cb41986a218e98d1fe298bedf903898e/PySide6_Essentials-6.4.3-cp37-abi3-manylinux_2_28_x86_64.whl",
|
|
|
|
"sha256": "7983cf2152dfebf3c2d0767d12e452c4bd0809aa53777fef949a7ff4b0ef8a49"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"modules": [
|
2021-10-01 16:21:29 +00:00
|
|
|
{
|
2023-05-25 10:22:19 +00:00
|
|
|
"name": "shiboken6",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} shiboken6 --no-build-isolation"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"url": "https://files.pythonhosted.org/packages/f9/52/4461d3d5cabfaeb56562d72a4b1013ecf1fd7be2ef7bebdc7649d56ab1b8/shiboken6-6.4.3-cp37-abi3-manylinux_2_28_x86_64.whl",
|
|
|
|
"sha256": "74570273004d2e481e55618150dfaee7ae253027b438066e216b339fae1e999a"
|
|
|
|
}
|
2021-10-01 16:21:29 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-04-22 23:14:46 +00:00
|
|
|
{
|
|
|
|
"name": "texlive",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"install -d /app/texlive"
|
|
|
|
]
|
|
|
|
},
|
2021-09-22 12:04:46 +00:00
|
|
|
{
|
|
|
|
"name": "LogarithmPlotter",
|
|
|
|
"buildsystem": "simple",
|
2022-04-22 17:11:49 +00:00
|
|
|
"build-options": {
|
|
|
|
"env": {
|
2022-10-28 16:19:38 +00:00
|
|
|
"GIT_ALLOW_PROTOCOL": "file:https:git",
|
2022-04-22 17:11:49 +00:00
|
|
|
"MIME_PATH": "/app/share/mime/packages",
|
2022-04-22 21:59:31 +00:00
|
|
|
"ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes",
|
|
|
|
"CHANGELOG_PATH": ""
|
2022-04-22 17:11:49 +00:00
|
|
|
}
|
|
|
|
},
|
2021-09-22 12:04:46 +00:00
|
|
|
"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",
|
2022-10-28 18:05:02 +00:00
|
|
|
"mkdir -p /app/share/metainfo/",
|
2022-10-28 17:47:00 +00:00
|
|
|
"mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml # Add metainfo file from current repository.",
|
2023-05-25 10:22:19 +00:00
|
|
|
"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/ # Copy changelog into the directory needed for it to be cached."
|
2021-09-22 12:04:46 +00:00
|
|
|
],
|
2021-10-01 16:21:29 +00:00
|
|
|
"post-install": [
|
2022-03-08 18:49:28 +00:00
|
|
|
"mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",
|
2022-04-22 15:52:39 +00:00
|
|
|
"sed -i 's/application-x-logarithm-plot/eu.ad5001.LogarithmPlotter-application-x-logarithm-plot/g' ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",
|
2022-03-08 18:49:28 +00:00
|
|
|
"mv ${ICON_PATH}/application-x-logarithm-plot.svg ${ICON_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.svg"
|
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",
|
2023-05-25 10:22:19 +00:00
|
|
|
"tag": "v0.4.0",
|
2023-05-27 08:16:35 +00:00
|
|
|
"commit": "19e403ce9883e8debd2905e0773b0dba370bffca"
|
2022-03-08 18:49:28 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "eu.ad5001.LogarithmPlotter.metainfo.xml"
|
2022-10-28 16:19:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "logarithmplotter.desktop"
|
2021-09-22 12:04:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|