aboutsummaryrefslogtreecommitdiff
path: root/python/python3-soxr/python3-soxr.SlackBuild
diff options
context:
space:
mode:
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 \