qscintilla, fix reference for python, build fixes (#9286)

This commit is contained in:
Schrijvers Luc
2023-08-26 07:09:54 +00:00
committed by GitHub
parent 69cf80a418
commit a9081c4037

View File

@@ -25,7 +25,7 @@ This version of QScintilla is based on Scintilla v3.5.4."
HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/"
COPYRIGHT="2015-2017 Riverbank Computing Limited"
LICENSE="GNU GPL v3"
REVISION="5"
REVISION="6"
SOURCE_URI="https://www.riverbankcomputing.com/static/Downloads/QScintilla/$portVersion/QScintilla-$portVersion.tar.gz"
CHECKSUM_SHA256="e7346057db47d2fb384467fafccfcb13aa0741373c5d593bc72b55b2f0dd20a7"
SOURCE_DIR="QScintilla-$portVersion"
@@ -74,12 +74,14 @@ fi
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt5Core$secondaryArchSuffix
devel:libqt5Designer$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5PrintSupport$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
pyqt5_python39
pyqt_builder_python39
sip_python39
tomli_python39
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
@@ -102,7 +104,7 @@ BUILD()
cd ..
export LIBRARY_PATH=$LIBRARY_PATH:$PWD/Qt4Qt5/
installLocation=$prefix/../pyqt5_python38/lib/python3.8/vendor-packages
installLocation=$prefix/../pyqt5_python39/lib/python3.9/vendor-packages
BINDINGS_DIR=$installLocation/PyQt5/bindings/
sed -i -e "s|BINDINGS_DIR|$BINDINGS_DIR|g" pyproject.toml
sip-build --no-make \