This commit is contained in:
parent
f3dc016ec6
commit
b42d71ea8a
7 changed files with 98 additions and 7 deletions
|
@ -1 +1 @@
|
|||
python3-pip, qt5-default (>= 5.15.0), qml-module-qtquick-controls2 (>= 5.15.0), qml-module-qtmultimedia (>= 5.15.0), qml-module-qtgraphicaleffects (>= 5.15.0), qml-module-qtquick2 (>= 5.15.0), qml-module-qtqml-models2 (>= 5.15.0), qml-module-qtquick-controls (>= 5.15.0), python3-pyside2.qtcore (>= 5.15.0), python3-pyside2.qtqml (>= 5.15.0), python3-pyside2.qtgui (>= 5.15.0), python3-pyside2.qtquick (>= 5.15.0), python3-pyside2.qtwidgets (>= 5.15.0), python3-pyside2.qtmultimedia (>= 5.15.0), python3-pyside2.qtnetwork (>= 5.15.0)
|
||||
python3-pip, qt5-default (>= 5.12.0), qml-module-qtquick-controls2 (>= 5.12.0), qml-module-qtmultimedia (>= 5.12.0), qml-module-qtgraphicaleffects (>= 5.12.0), qml-module-qtquick2 (>= 5.12.0), qml-module-qtqml-models2 (>= 5.12.0), qml-module-qtquick-controls (>= 5.12.0), python3-pyside2.qtcore (>= 5.12.0), python3-pyside2.qtqml (>= 5.12.0), python3-pyside2.qtgui (>= 5.12.0), python3-pyside2.qtquick (>= 5.12.0), python3-pyside2.qtwidgets (>= 5.12.0), python3-pyside2.qtmultimedia (>= 5.12.0), python3-pyside2.qtnetwork (>= 5.12.0)
|
||||
|
|
42
linux/flatpak/eu.ad5001.LogarithmPlotter.json
Normal file
42
linux/flatpak/eu.ad5001.LogarithmPlotter.json
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
32
linux/flatpak/python3-pyside2.json
Normal file
32
linux/flatpak/python3-pyside2.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "python3-pyside2",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [],
|
||||
"config-opts": [],
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue