Fix libpyside2 location with python 3.8 (thanks s218)

This commit is contained in:
Sebastiaan Lokhorst 2019-11-24 13:47:07 +01:00
parent 929b6098c2
commit c68c5975b1
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgbase = freecad-git pkgbase = freecad-git
pkgdesc = A general purpose 3D CAD modeler - git checkout pkgdesc = A general purpose 3D CAD modeler - git checkout
pkgver = 0.18.r2576.g953b802f83 pkgver = 0.18.r2685.gf55cf3ef10
pkgrel = 1 pkgrel = 1
epoch = 2 epoch = 2
url = https://www.freecadweb.org/ url = https://www.freecadweb.org/

View file

@ -3,7 +3,7 @@
_appname=freecad _appname=freecad
pkgname="${_appname}-git" pkgname="${_appname}-git"
pkgver=0.18.r2576.g953b802f83 pkgver=0.18.r2685.gf55cf3ef10
pkgrel=1 pkgrel=1
epoch=2 epoch=2
pkgdesc='A general purpose 3D CAD modeler - git checkout' pkgdesc='A general purpose 3D CAD modeler - git checkout'
@ -45,7 +45,7 @@ build() {
-DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DOPENMPI_INCLUDE_DIRS=/usr/include \ -DOPENMPI_INCLUDE_DIRS=/usr/include \
-DPYSIDE_INCLUDE_DIR="/usr/include/PySide2" \ -DPYSIDE_INCLUDE_DIR="/usr/include/PySide2" \
-DPYSIDE_LIBRARY="/usr/lib/libpyside2.cpython-${PYVER//.}m-${CARCH}-linux-gnu.so" \ -DPYSIDE_LIBRARY="/usr/lib/libpyside2.cpython-${PYVER//.}-${CARCH}-linux-gnu.so" \
-DPYSIDE_PYTHONPATH="/usr/lib/python${PYVER}/site-packages/PySide2" \ -DPYSIDE_PYTHONPATH="/usr/lib/python${PYVER}/site-packages/PySide2" \
-DPYSIDE_TYPESYSTEMS="/usr/share/PySide2/typesystems" \ -DPYSIDE_TYPESYSTEMS="/usr/share/PySide2/typesystems" \
. .