summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Daviv Jagu2024-01-25 22:56:12 +0100
committer Matteo Bernardini2024-03-16 09:32:53 +0100
commitbcfb90e18fc2ee395fe9765e07607fa5306deebc (patch)
treebbd2b5f986e258820d673c25a96223eebfeaa224
parentf2fd02d810ccafdcb54cd1ce380341a85bbefd77 (diff)
downloadslackbuilds-python3-PyQtWebEngine.tar.gz
libraries/python3-PyQtWebEngine: Build with wheel.python3-PyQtWebEngine
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
index ae25564038..dd2896ec54 100644
--- a/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
+++ b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
@@ -85,14 +85,13 @@ export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
-python3 configure.py \
- --verbose \
- -q /usr/bin/qmake-qt5 \
- --sip=/usr/bin/sip3 \
- --sip-incdir=$(pkg-config --cflags-only-I python3 | sed 's/^-I//')
-
+sip-build \
+ --no-make \
+ --api-dir /usr/share/qt5/qsci/api/python
+cd build
make
-make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG
+make INSTALL_ROOT="$PKG" install
+cd ..
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