aboutsummaryrefslogtreecommitdiff
path: root/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild')
-rw-r--r--libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
index aba9d8897f95..4184457861b4 100644
--- a/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
+++ b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=python3-PyQtWebEngine
SRCNAM=${PRGNAM#*-}
VERSION=${VERSION:-5.13.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,11 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-PYTHONVER=$(python3 -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
-
export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
-
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
@@ -82,7 +79,7 @@ python3 configure.py \
--verbose \
-q /usr/bin/qmake-qt5 \
--sip=/usr/bin/python3-sip \
- --sip-incdir=/usr/include/python$PYTHONVER
+ --sip-incdir=$(pkg-config --cflags-only-I python3 | sed -e 's/^-I//')
make
make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG