summaryrefslogtreecommitdiffstats
path: root/deps/PyQt5
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-09-11 23:04:42 +0200
committer Eric Hameleers <alien@slackware.com>2017-09-11 23:04:42 +0200
commitb34d35ccdc6282b4584693786980c8d6ed6708f8 (patch)
tree4a7f39fbd217700cfdf20977b7c97124c9a95b78 /deps/PyQt5
parentfce2e14230d0f3a684386aa45482e854faf8e8df (diff)
downloadktown-b34d35ccdc6282b4584693786980c8d6ed6708f8.tar.gz
ktown-b34d35ccdc6282b4584693786980c8d6ed6708f8.tar.xz
Updated deps for KDE 5_17.09
Diffstat (limited to 'deps/PyQt5')
-rw-r--r--deps/PyQt5/.url2
-rwxr-xr-xdeps/PyQt5/PyQt5.SlackBuild22
2 files changed, 12 insertions, 12 deletions
diff --git a/deps/PyQt5/.url b/deps/PyQt5/.url
index ae0f121..77e7669 100644
--- a/deps/PyQt5/.url
+++ b/deps/PyQt5/.url
@@ -1,2 +1,2 @@
-https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.8.2/PyQt5_gpl-5.8.2.tar.gz
+https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.9/PyQt5_gpl-5.9.tar.gz
diff --git a/deps/PyQt5/PyQt5.SlackBuild b/deps/PyQt5/PyQt5.SlackBuild
index 9da188a..f0fd6c7 100755
--- a/deps/PyQt5/PyQt5.SlackBuild
+++ b/deps/PyQt5/PyQt5.SlackBuild
@@ -27,27 +27,26 @@
# Modified by Eric Hameleers <alien@slackware.com>
PKGNAM=PyQt5
-VERSION=${VERSION:-5.8.2}
+VERSION=${VERSION:-5.9}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:--j7}
+CWD=$(pwd)
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-$PKGNAM
+
# Automatically determine the architecture we're building on:
-MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i586 ;;
- armv7hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
+ case "$(uname -m)" in
+ i?86) ARCH=i486 ;;
+ arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$MARCH ;;
+ *) ARCH=$(uname -m) ;;
esac
+ export ARCH
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-$PKGNAM
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i586" ]; then
@@ -86,6 +85,7 @@ export CXXFLAGS="$SLKCFLAGS"
python configure.py \
--confirm-license \
--verbose \
+ --qsci-api \
-q /usr/bin/qmake-qt5 \
|| exit 1