mirror of
https://github.com/borgbase/vorta
synced 2024-12-23 00:07:58 +00:00
45 lines
2 KiB
JSON
45 lines
2 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"
|
|
]
|
|
}
|
|
]
|
|
}
|