1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-23 00:07:58 +00:00
vorta/flatpak/dependencies/pyqt5.json
Julian Hofer 95a9744d1e Improve flatpak setup (#370)
* Improve flatpak workflow
Move from yaml to json in order to be supported by GNOME Builder
Update dependencies

* Simplify Flatpak install process
Reduce the amount of commands to install the resources
by using a single svg instead of pngs
and using install instead of mdkir&cp

* Remove unused flatpak dependencies

* Update Flatpak dependencies
2019-11-04 15:31:21 +08:00

44 lines
No EOL
1.7 KiB
JSON

{
"name": "pyqt5",
"config-opts": [
"--disable-static",
"--enable-x11"
],
"sources": [
{
"type": "archive",
"url": "https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.11.3/PyQt5_gpl-5.11.3.zip",
"sha256": "7cacf0712d76a702e0e2102a65f411fd72e7f64a851a47a72c03fbafbe447aae"
},
{
"type": "script",
"commands": [
"python3 configure.py --assume-shared --confirm-license --no-designer-plugin --no-qml-plugin --sysroot=/app --qsci-api --qsci-api-destdir=/app/qsci --sipdir=/app/share/sip --sip=/app/bin/sip --sip-incdir=/app/include QMAKE_CFLAGS_RELEASE='-I/usr/include/python3.7m/' QMAKE_CXXFLAGS_RELEASE='-I/usr/include/python3.7m/'"
],
"dest-filename": "configure"
}
],
"modules": [
{
"name": "sip",
"sources": [
{
"type": "archive",
"url": "https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.12/sip-4.19.12.tar.gz",
"sha256": "24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822"
},
{
"type": "script",
"commands": [
"python3 configure.py --sip-module PyQt5.sip -b ${FLATPAK_DEST}/bin -d ${FLATPAK_DEST}/lib/python3.7/site-packages -e ${FLATPAK_DEST}/include -v ${FLATPAK_DEST}/share/sip --stubsdir=${FLATPAK_DEST}/lib/python3.7/site-packages"
],
"dest-filename": "configure"
}
],
"cleanup": [
"/bin",
"/include"
]
}
]
}