aboutsummaryrefslogtreecommitdiff
path: root/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/python3-PyQt5/python3-PyQt5.SlackBuild')
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
index 759fbffc7bce..c577da540ddd 100644
--- a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
+++ b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
@@ -32,7 +32,7 @@
PRGNAM=python3-PyQt5
SRCNAM=PyQt5
-VERSION=${VERSION:-5.9.2}
+VERSION=${VERSION:-5.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${SRCNAM}_gpl-$VERSION
-tar xvf $CWD/${SRCNAM}_gpl-$VERSION.tar.gz
-cd ${SRCNAM}_gpl-$VERSION
+rm -rf ${SRCNAM}-$VERSION
+tar xvf $CWD/${SRCNAM}-$VERSION.tar.gz
+cd ${SRCNAM}-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,8 +80,6 @@ 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 {} \;
-# This is needed or an include from dbus is missed (thanks, Archlinux)
-sed -i '/target_config.dbus_inc_dirs = \[\]/d' configure.py
export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
@@ -92,12 +90,13 @@ export CXXFLAGS="$SLKCFLAGS"
python3 configure.py \
--confirm-license \
--verbose \
+ --qsci-api \
-q /usr/bin/qmake-qt5 \
--sip=/usr/bin/python3-sip \
--sip-incdir=/usr/include/python$PYTHONVER
make
-make install DESTDIR=$PKG INSTALL_ROOT=$PKG
+make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true