Updating PySide2 to v5.15.7, fixing building.

This commit is contained in:
Adsooi 2022-10-28 18:19:38 +02:00
parent ead98a6c7b
commit c4d12d6864
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -37,8 +37,8 @@
"sources": [ "sources": [
{ {
"type": "archive", "type": "archive",
"url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.3-src/pyside-setup-opensource-src-5.15.3.tar.xz", "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.7-src/pyside-setup-opensource-src-5.15.7.tar.xz",
"sha256": "7ff5f1cc4291fffb6d5a3098b3090abe4d415da2adec740b4e901893d95d7137" "sha256": "f61210ae24e6882d5d0ca0059229e5dc4f35e2bca92dd6caf96c0f41943a8294"
}, },
{ {
"type": "shell", "type": "shell",
@ -62,6 +62,7 @@
"buildsystem": "simple", "buildsystem": "simple",
"build-options": { "build-options": {
"env": { "env": {
"GIT_ALLOW_PROTOCOL": "file:https:git",
"MIME_PATH": "/app/share/mime/packages", "MIME_PATH": "/app/share/mime/packages",
"ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes", "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes",
"CHANGELOG_PATH": "" "CHANGELOG_PATH": ""
@ -70,8 +71,6 @@
"build-commands": [ "build-commands": [
"rm -rf .git", "rm -rf .git",
"cd LogarithmPlotter/i18n && bash release.sh", "cd LogarithmPlotter/i18n && bash release.sh",
"mv logarithmplotter.desktop /app/share/applications/logarithmplotter.desktop # Add desktop file from current repository.",
"mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml # Add metainfo file from current repository.",
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app", "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app",
"cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached." "cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached."
], ],
@ -84,12 +83,16 @@
{ {
"type": "git", "type": "git",
"url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter", "url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter",
"tag": "v0.2.0", "tag": "v0.3.0",
"commit": "cb733a556cae1751920d03c480627b44e3833ac7" "commit": "839f8e9f367146a195681c30217f7229eac8c319"
}, },
{ {
"type": "file", "type": "file",
"path": "eu.ad5001.LogarithmPlotter.metainfo.xml" "path": "eu.ad5001.LogarithmPlotter.metainfo.xml"
},
{
"type": "file",
"path": "logarithmplotter.desktop"
} }
] ]
} }