summaryrefslogtreecommitdiff
path: root/libraries/PyQt5/PyQt5.SlackBuild
diff options
context:
space:
mode:
authordavidwoodfall <dave@dawoodfall.net>2018-09-14 10:24:58 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-23 06:11:50 +0700
commit28d5d7e9c10dd1602cf7cdbda3259512279f984e (patch)
tree8239908714e7ddc4f899ec500df830e663b2a5e0 /libraries/PyQt5/PyQt5.SlackBuild
parent4d5bee7d9311475e7db16fbaa506188d6f41639a (diff)
downloadslackbuilds-28d5d7e9c10dd1602cf7cdbda3259512279f984e.tar.gz
libraries/PyQt5: Update to 5.9.2
Diffstat (limited to 'libraries/PyQt5/PyQt5.SlackBuild')
-rw-r--r--libraries/PyQt5/PyQt5.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/PyQt5/PyQt5.SlackBuild b/libraries/PyQt5/PyQt5.SlackBuild
index 654f0c89ce..4d8e348aea 100644
--- a/libraries/PyQt5/PyQt5.SlackBuild
+++ b/libraries/PyQt5/PyQt5.SlackBuild
@@ -32,9 +32,10 @@
# Modified by Eric Hameleers <alien@slackware.com>
# Adapted by Marcel Saegebarth <marc@mos6581.de>
# Adapted by Matteo Bernardini <ponce@slackbuilds.org>
+# Updated for Qt5-5.9.6 by David Woodfall <dave@dawoodfall.net>
PRGNAM=PyQt5
-VERSION=${VERSION:-5.7}
+VERSION=${VERSION:-5.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,6 +86,7 @@ sed -i '/target_config.dbus_inc_dirs = \[\]/d' configure.py
export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
+PYTHONVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
@@ -92,6 +94,8 @@ export CXXFLAGS="$SLKCFLAGS"
python configure.py \
--confirm-license \
--verbose \
+ --sip=/usr/bin/python2-sip \
+ --sip-incdir="/usr/include/python$PYTHONVER/python2-sip" \
-q /usr/bin/qmake-qt5
make