Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/openal/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-30 13:03:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-30 13:03:55 +0200
commitbf2448ba958588b7cfd71e00c6f6d99f915720e6 (patch)
tree29791cf00afd11c2333f65ce5a2cf54b26809abf /extra/openal/PKGBUILD
parentb4412ca73d17eacf2ba16bb8693013926424c556 (diff)
extra/openal: redone SSE(2) patching (thanks, KitsuWhooa)
Diffstat (limited to 'extra/openal/PKGBUILD')
-rw-r--r--extra/openal/PKGBUILD28
1 files changed, 10 insertions, 18 deletions
diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD
index 2e982053..4318ba27 100644
--- a/extra/openal/PKGBUILD
+++ b/extra/openal/PKGBUILD
@@ -1,37 +1,29 @@
# disable Intel micro-optimizations and intrinsics per platform
-source+=('openal-pentium4.patch' 'openal-i686.patch' 'openal-i486.patch')
+# patch done by KitsuWhooa, thanks (see https://github.com/kcat/openal-soft/pull/559)
+source+=('openal-i686.patch')
sha512sums+=(
- 'bba897b5c1f39775ec28c4e92e3ef0e3e69d62c9463cacd6841c704e7ff5130860cef7f16e464593491dcb50a0036c487188939a989780b5a5c7321f735ae820'
- '7fdbf5efa7fb223666592d1d78e684798e29a46e7948f379d8b8e3f527c42f1875539722cfacb88182a3187dfb334de3aea012298a6ab111d3c06abd8d41c9b4'
- '54423f4a45a90570e5331c98916dcb7442bc97b39c1161c0dad2450da829f8866e9c95098b84b4f9fabce34f44df3c1b9f43d257672c7d210236160548ac081f'
+ '41e4134fea907d2f9b95eb496fde5eb7ce4bd8bfa1ad97c8d1a88b4454846195a1725c5bab047981e795d25eb29959e07fa349b212c24bbc86c06a597ac43e78'
)
if [ "$CARCH" = 'pentium4' ]; then
eval "$(
- declare -f prepare | \
- sed '
- /git/ a \
- patch -p1 -i "$srcdir/openal-pentium4.patch"
- '
+ declare -f build | \
+ sed '/cmake .*openal-soft/ s/;$/ -DALSOFT_CPUEXT_SSE4_1=0 -DALSOFT_CPUEXT_SSE3=0;/'
)"
fi
if [ "$CARCH" = 'i686' ]; then
eval "$(
declare -f prepare | \
- sed '
- /git/ a \
- patch -p1 -i "$srcdir/openal-i686.patch"
- '
+ sed '/cd openal-soft/ a patch -p1 -i \"$srcdir/openal-i686.patch\"'
+ declare -f build | \
+ sed '/cmake .*openal-soft/ s/;$/ -DALSOFT_CPUEXT_SSE4_1=0 -DALSOFT_CPUEXT_SSE3=0 -DALSOFT_CPUEXT_SSE2=0;/'
)"
fi
if [ "$CARCH" = 'i486' ]; then
eval "$(
- declare -f prepare | \
- sed '
- /git/ a \
- patch -p1 -i "$srcdir/openal-i486.patch"
- '
+ declare -f build | \
+ sed '/cmake .*openal-soft/ s/;$/ -DALSOFT_CPUEXT_SSE4_1=0 -DALSOFT_CPUEXT_SSE3=0 -DALSOFT_CPUEXT_SSE2=0 -DALSOFT_CPUEXT_SSE=0;/'
)"
fi