aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-06-02 07:51:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-06 10:07:47 +0700
commite4a25383d9426805705dad097c3d169bcdfe5a53 (patch)
tree0ac021dc0d893539bf811df72340f8894fd32baf
parentd9225e7d940198fd3b58010060de49cba2556ad5 (diff)
libraries/python3-PyQtWebEngine: Move sip include dir.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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