2021-09-22 12:04:46 +00:00
|
|
|
{
|
|
|
|
"app-id": "eu.ad5001.LogarithmPlotter",
|
|
|
|
"runtime": "org.kde.Platform",
|
2023-10-04 21:36:26 +00:00
|
|
|
"runtime-version": "6.5",
|
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",
|
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-10-05 13:57:45 +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",
|
2023-10-04 21:36:26 +00:00
|
|
|
"url": "https://files.pythonhosted.org/packages/d0/de/9a089e91c2e0fe4f122218bba4f9dbde46338659f412739bd9db1ed9df4f/PySide6_Essentials-6.5.2-cp37-abi3-manylinux_2_28_x86_64.whl",
|
|
|
|
"sha256": "1620e82b38714a1570b142c01694d0415a25526517b24620ff9b00c9f76cfca9"
|
2023-05-25 10:22:19 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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",
|
2023-10-04 21:36:26 +00:00
|
|
|
"url": "https://files.pythonhosted.org/packages/55/44/d8c366dd4f069166ab9890acb44d004c5e6122714e44c169273dcbbca897/shiboken6-6.5.2-cp37-abi3-manylinux_2_28_x86_64.whl",
|
|
|
|
"sha256": "3fbc35ff3c19e7d39433671bfc1be3d7fa9d071bfdd0ffe1c2a4d27acd6cf6a5"
|
2023-05-25 10:22:19 +00:00
|
|
|
}
|
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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|