summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastiaan Lokhorst2019-08-04 00:06:55 +0200
committerSebastiaan Lokhorst2019-08-04 00:06:55 +0200
commitd53cdc364ec823561c097aadce4b3dcaa720f036 (patch)
tree8f68e9c8b516c605cafcf1e8e714b7ee8789ce8c
parent7562f5e6711fa0c48fa57597f2632009857c970b (diff)
downloadaur-d53cdc364ec823561c097aadce4b3dcaa720f036.tar.gz
Document pull request that would fix our shiboken/pyside hack
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 39838a7a103..c349bd9c3a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,6 +34,8 @@ pkgver() {
build() {
cd "${srcdir}/${pkgname}"
+ # we need to manually set all SHIBOKEN_* and PYSIDE_* paths as autodetection is broken:
+ # https://github.com/FreeCAD/FreeCAD/pull/2020
PYVER="$(/usr/bin/python3 -c 'import sys; print("{}.{}".format(sys.version_info.major,sys.version_info.minor))')"
cmake . \
@@ -47,9 +49,9 @@ build() {
-DOPENMPI_INCLUDE_DIRS=/usr/include \
-DSHIBOKEN_INCLUDE_DIR=/usr/include/shiboken2 \
-DSHIBOKEN_BINARY=/usr/bin/shiboken2 \
- -DSHIBOKEN_LIBRARY="/usr/lib/libshiboken2.cpython-${PYVER//.}m-x86_64-linux-gnu.so" \
+ -DSHIBOKEN_LIBRARY="/usr/lib/libshiboken2.cpython-${PYVER//.}m-${CARCH}-linux-gnu.so" \
-DPYSIDE_INCLUDE_DIR=/usr/include/PySide2 \
- -DPYSIDE_LIBRARY="/usr/lib/libpyside2.cpython-${PYVER//.}m-x86_64-linux-gnu.so" \
+ -DPYSIDE_LIBRARY="/usr/lib/libpyside2.cpython-${PYVER//.}m-${CARCH}-linux-gnu.so" \
-DPYSIDE_PYTHONPATH="/usr/lib/python${PYVER}/site-packages/PySide2" \
-DPYSIDE_TYPESYSTEMS=/usr/share/PySide2/typesystems