Working in resoliving more issues (only one remaining in the mime type issue).

This commit is contained in:
Adsooi 2021-10-01 18:21:29 +02:00
parent 6eab1e3cc0
commit 8f50659ffa
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
3 changed files with 30 additions and 41 deletions

View file

@ -16,26 +16,47 @@
"command": "logarithmplotter", "command": "logarithmplotter",
"rename-desktop-file": "logarithmplotter.desktop", "rename-desktop-file": "logarithmplotter.desktop",
"rename-icon": "logplotter", "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": [ "modules": [
"python3-pyside2.json", {
"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", "name": "LogarithmPlotter",
"buildsystem": "simple", "buildsystem": "simple",
"config-opts": ["no-debuginfo-compression"],
"build-commands": [ "build-commands": [
"rm -rf .git", "rm -rf .git",
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app" "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app"
], ],
"post-install": [
"install -D mimetypes /app/share/mime/packages/x-logarithm-plot.xml"
],
"sources": [ "sources": [
{ {
"type": "git", "type": "git",
"url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter", "url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter",
"tag": "v0.1.2" "tag": "v0.1.2",
"commit": "9833e7ae65d6c5c4b9dcb2707bf632e3a3e4ca96"
} }
] ]
} }

View file

@ -1,3 +1,3 @@
{ {
"only-arches": ["x86_64"] "only-arches": ["x86_64", "aarch64"]
} }

View file

@ -1,32 +0,0 @@
{
"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"
]
}
]
}
]
}