summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-01-15 11:28:34 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-01-15 11:28:34 +0100
commit4e8a205e602e400c3b5e232570aabcd960f5a2d0 (patch)
tree00a421b98471e653fddd88cffa42277eeccefaa9
parentb5ac11bcce35d31f6e1837a5bab61030e9127b41 (diff)
downloadpackages-4e8a205e602e400c3b5e232570aabcd960f5a2d0.tar.xz
extra/soundtouch: trial to build without 64-bit assembly and optimizations
-rw-r--r--extra/soundtouch/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/soundtouch/PKGBUILD b/extra/soundtouch/PKGBUILD
new file mode 100644
index 00000000..0ea408f9
--- /dev/null
+++ b/extra/soundtouch/PKGBUILD
@@ -0,0 +1,11 @@
+# hotfix for changed git repo (already fixed upstream in staging)
+source[0]="git+https://codeberg.org/soundtouch/soundtouch.git#tag=${_tag}"
+
+if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
+ eval "$(
+ declare -f prepare | \
+ sed '
+ s|./configure|./configure --disable-x86-optimizations|g
+ '
+ )"
+fi