aboutsummaryrefslogtreecommitdiff
path: root/python/python3-soxr/python3-soxr.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-07-02 20:15:13 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:41:54 +0700
commitf79a3415d5ac9d53a640403a5687e6f54891a89b (patch)
treecdff8d4f38adfd115025aace674a01f8e1132f8d /python/python3-soxr/python3-soxr.SlackBuild
parent76d29b375ae5f55dc1c397f61aa8134df4fc2c4e (diff)
python/python3-soxr: Fix builds on i686 and arm.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-soxr/python3-soxr.SlackBuild')
-rw-r--r--python/python3-soxr/python3-soxr.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/python3-soxr/python3-soxr.SlackBuild b/python/python3-soxr/python3-soxr.SlackBuild
index d5500d692e..f02dd8dd89 100644
--- a/python/python3-soxr/python3-soxr.SlackBuild
+++ b/python/python3-soxr/python3-soxr.SlackBuild
@@ -27,7 +27,7 @@ PRGNAM=python3-soxr
VERSION=${VERSION:-0.2.4}
SOXRVER=${SOXRVER:-0.1.3}
SRCNAM=${SRCNAM:-python-soxr}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,6 +82,11 @@ find -L . \
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+# Fix builds on i686 and possibly arm
+# Thanks to dofuuz
+# https://github.com/dofuuz/python-soxr/issues/17
+patch -p1 < $CWD/fix_arm_and_i686.patch
+
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \