mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
sigil: switch to Python 3.9. (#8096)
Seems to work fine, but crashes on close.
This commit is contained in:
@@ -11,7 +11,7 @@ SOURCE_DIR="Sigil_WebKit-$portVersion"
|
||||
|
||||
ADDITIONAL_FILES="sigil.rdef.in"
|
||||
|
||||
PYTHON_VERSION="3.7"
|
||||
PYTHON_VERSION="3.9"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -22,11 +22,11 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
chardet_python3
|
||||
cssselect_python3
|
||||
html5lib_python3
|
||||
lxml_python3
|
||||
six_python3
|
||||
chardet_python39
|
||||
cssselect_python39
|
||||
html5lib_python39
|
||||
lxml_python39
|
||||
six_python39
|
||||
cmd:python$PYTHON_VERSION
|
||||
lib:libhunspell_1.7$secondaryArchSuffix
|
||||
lib:libminizip$secondaryArchSuffix
|
||||
@@ -39,11 +39,11 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
chardet_python3
|
||||
cssselect_python3
|
||||
html5lib_python3
|
||||
lxml_python3
|
||||
six_python3
|
||||
chardet_python39
|
||||
cssselect_python39
|
||||
html5lib_python39
|
||||
lxml_python39
|
||||
six_python39
|
||||
devel:libgl$secondaryArchSuffix
|
||||
devel:libhunspell_1.7$secondaryArchSuffix
|
||||
devel:libminizip$secondaryArchSuffix
|
||||
@@ -67,8 +67,8 @@ BUILD()
|
||||
cd build
|
||||
|
||||
pythonBin=/bin/python${PYTHON_VERSION}
|
||||
pythonLib=/system/$relativeDevelopLibDir/libpython${PYTHON_VERSION}m.so
|
||||
pythonInclude=/system/develop/headers/python${PYTHON_VERSION}m
|
||||
pythonLib=/system/$relativeDevelopLibDir/libpython${PYTHON_VERSION}.so
|
||||
pythonInclude=/system/develop/headers/python${PYTHON_VERSION}
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
|
||||
Reference in New Issue
Block a user