diff options
author | Eric Hameleers <alien@slackware.com> | 2017-12-22 00:33:08 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-12-22 00:33:08 +0100 |
commit | 727a55eec1c1fe9be9094b1098a622e7a1f91f26 (patch) | |
tree | 18ad1a4f0b9e6654b2a5d1ee7899106abb1f3c49 /deps/PyQt | |
parent | efc2d632e715498adf632904e2425a5d89e1e44f (diff) | |
download | ktown-727a55eec1c1fe9be9094b1098a622e7a1f91f26.tar.gz ktown-727a55eec1c1fe9be9094b1098a622e7a1f91f26.tar.xz |
deps: updates and recompilations
Diffstat (limited to 'deps/PyQt')
-rw-r--r-- | deps/PyQt/.url | 2 | ||||
-rwxr-xr-x | deps/PyQt/PyQt.SlackBuild | 21 |
2 files changed, 11 insertions, 12 deletions
diff --git a/deps/PyQt/.url b/deps/PyQt/.url index a6a5e4a..7db5c55 100644 --- a/deps/PyQt/.url +++ b/deps/PyQt/.url @@ -1 +1 @@ -http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12/PyQt4_gpl_x11-4.12.tar.gz +http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12.1/PyQt4_gpl_x11-4.12.1.tar.gz diff --git a/deps/PyQt/PyQt.SlackBuild b/deps/PyQt/PyQt.SlackBuild index 664b191..22428c6 100755 --- a/deps/PyQt/PyQt.SlackBuild +++ b/deps/PyQt/PyQt.SlackBuild @@ -27,27 +27,26 @@ # Modified by Eric Hameleers <alien@slackware.com> PKGNAM=PyQt -VERSION=${VERSION:-4.12} +VERSION=${VERSION:-4.12.1} 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=i586 ;; + 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" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" elif [ "$ARCH" = "i686" ]; then |