Compare commits

..

9 commits

Author SHA1 Message Date
2706bf8f28
Fixed DBus talk-to to org.freedesktop.DBus.Properties. 2021-10-02 11:48:33 +02:00
cbfe7e2431
Reverting Runtime version to v5.15 due to issues with building PySide2 on v5.15-21.08. 2021-10-01 18:46:52 +02:00
8d221f21ee
Removed flathub.json, updated mime type installation to file renaming (untested) 2021-10-01 18:32:16 +02:00
10bc93306a
Merged conflict between upstream code reviewed branch and local changes. 2021-10-01 18:24:21 +02:00
8f50659ffa
Working in resoliving more issues (only one remaining in the mime type issue). 2021-10-01 18:21:29 +02:00
0eb8840e46
Apply suggestions from code review (more changes to come)
* Updated KDE runtime to v5.15-21.08
* Removing old bits that shouldn't be there anymore.

Co-authored-by: Hubert Figuière <hub@figuiere.net>
Co-authored-by: Bartłomiej Piotrowski <b@bpiotrowski.pl>
2021-10-01 16:13:55 +00:00
6eab1e3cc0
Updating to v0.1.2 2021-10-01 17:28:18 +02:00
026a2c6e51
Bumping to v0.1.1. 2021-09-24 12:23:40 +02:00
e2f931c262
Created repository for flathub. 2021-09-22 14:04:46 +02:00

View file

@ -0,0 +1,64 @@
{
"app-id": "eu.ad5001.LogarithmPlotter",
"runtime": "org.kde.Platform",
"runtime-version": "5.15",
"sdk": "org.kde.Sdk",
"finish-args": [
"--share=ipc",
"--device=dri",
"--socket=fallback-x11",
"--socket=wayland",
"--talk-name=org.freedesktop.DBus.Properties",
"--talk-name=org.freedesktop.IBus",
"--talk-name=org.freedestkop.portal.*",
"--filesystem=home"
],
"command": "logarithmplotter",
"rename-desktop-file": "logarithmplotter.desktop",
"rename-icon": "logplotter",
"modules": [
{
"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"
]
}
]
},
{
"name": "LogarithmPlotter",
"buildsystem": "simple",
"build-commands": [
"rm -rf .git",
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app"
],
"post-install": [
"mv /app/share/mime/packages/x-logarithm-plot.xml /app/share/mime/packages/eu.ad5001.LogarithmPlotter.xml"
],
"sources": [
{
"type": "git",
"url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter",
"tag": "v0.1.2",
"commit": "9833e7ae65d6c5c4b9dcb2707bf632e3a3e4ca96"
}
]
}
]
}