summaryrefslogtreecommitdiffstats
path: root/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2016-06-24 11:48:29 +0200
committer Willy Sudiarto Raharjo2016-06-24 11:49:52 +0200
commit144183e7dca5964e5e358d6958f08a2c19d94801 (patch)
tree56b6769ffe904f5049bae28e5f7181925164ee24 /libraries/python3-PyQt5/python3-PyQt5.SlackBuild
parent3493bf4aaafd6b42994ade95c145f3f3b421c449 (diff)
downloadslackbuilds-144183e7dca5964e5e358d6958f08a2c19d94801.tar.gz
libraries/python3-PyQt5: Fix dep and dbus issue.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/python3-PyQt5/python3-PyQt5.SlackBuild')
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
index a7a393838a..ed96cb46fe 100644
--- a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
+++ b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
@@ -70,7 +70,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
+rm -rf ${SRCNAM}_gpl-$VERSION
tar xvf $CWD/${SRCNAM}_gpl-$VERSION.tar.gz
cd ${SRCNAM}_gpl-$VERSION
chown -R root:root .
@@ -80,6 +80,9 @@ 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