summaryrefslogtreecommitdiffstats
path: root/source/l/sip
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-10-31 19:59:15 +0000
committer Eric Hameleers <alien@slackware.com>2021-11-01 08:59:56 +0100
commit904faf18a01564215de285b231fadb2e3f0957fd (patch)
tree0aad478136e4a96c66dd2c876234a9a5bd4becf6 /source/l/sip
parent7cddde1888f9454d14af212604ebd1fdd36f97c3 (diff)
downloadcurrent-904faf18a01564215de285b231fadb2e3f0957fd.tar.gz
current-904faf18a01564215de285b231fadb2e3f0957fd.tar.xz
Sun Oct 31 19:59:15 UTC 202120211031195915
d/meson-0.59.3-x86_64-1.txz: Upgraded. Reverted to a version that works better for us. Thanks to nobodino. l/imagemagick-7.1.0_13-x86_64-1.txz: Upgraded. l/pcre2-10.39-x86_64-1.txz: Upgraded. l/sip-4.19.25-x86_64-4.txz: Rebuilt. Fixed missing sip.h. n/getmail-6.18.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/sip')
-rwxr-xr-xsource/l/sip/sip.SlackBuild39
1 files changed, 38 insertions, 1 deletions
diff --git a/source/l/sip/sip.SlackBuild b/source/l/sip/sip.SlackBuild
index 4668df16a..3edf8c5c6 100755
--- a/source/l/sip/sip.SlackBuild
+++ b/source/l/sip/sip.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=sip
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -87,6 +87,30 @@ find . \
-exec chmod 644 {} \+
python2 configure.py \
+ -b "/usr/bin" \
+ -d "$PYTHON2LIB" \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ || exit 1
+make $NUMJOBS || make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+## Add the PyQt4 private sip module:
+#make clean
+#python2 configure.py \
+# --sip-module PyQt4.sip \
+# --no-tools \
+# -b "/usr/bin" \
+# -d "$PYTHON2LIB" \
+# CFLAGS="$SLKCFLAGS" \
+# CXXFLAGS="$SLKCFLAGS" \
+# || exit 1
+#make $NUMJOBS || make || exit 1
+#make install DESTDIR=$PKG || exit 1
+
+# Add the PyQt5 private sip module:
+make clean
+python2 configure.py \
--sip-module PyQt5.sip \
--no-tools \
-b "/usr/bin" \
@@ -101,6 +125,7 @@ make install DESTDIR=$PKG || exit 1
mv $PKG/usr/bin/sip $PKG/usr/bin/sip2
make clean
+
python3 configure.py \
-b "/usr/bin" \
-d "$PYTHON3LIB" \
@@ -109,6 +134,18 @@ python3 configure.py \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+## Add the PyQt4 private sip module:
+#make clean
+#python3 configure.py \
+# --sip-module PyQt4.sip \
+# --no-tools \
+# -b "/usr/bin" \
+# -d "$PYTHON3LIB" \
+# CFLAGS="$SLKCFLAGS" \
+# CXXFLAGS="$SLKCFLAGS" || exit 1
+#make $NUMJOBS || make || exit 1
+#make install DESTDIR=$PKG || exit 1
+
# Add the PyQt5 private sip module:
make clean
python3 configure.py \