Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libsndfile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-03-18 13:25:30 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-03-18 13:25:30 +0100
commitb4000ef5116a0c447be4fde8840a44922e480c73 (patch)
treea0fb318f17a4bd2b00a97c354136bca4cd4df306 /extra/libsndfile
parentabaf561e70cbfd6d088e949c73e625c029449d6a (diff)
extra/libsndfile: actually forgot to check in PKGBUILD
Diffstat (limited to 'extra/libsndfile')
-rw-r--r--extra/libsndfile/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/libsndfile/PKGBUILD b/extra/libsndfile/PKGBUILD
new file mode 100644
index 00000000..00af685f
--- /dev/null
+++ b/extra/libsndfile/PKGBUILD
@@ -0,0 +1,12 @@
+# disable SSE2 on i686 and i486
+source_i486=('libsndfile-1.0.31-no-sse2.patch')
+sha512sums_i486=('3088df360db3e8a86e9586597594db0a2c633504bb2453ff17e9bd062ce29a8773ec35426dfda9391eac72cccb2ca12dbab11915f9c4313283b858f756a85f0b')
+source_i686=('libsndfile-1.0.31-no-sse2.patch')
+sha512sums_i686=('3088df360db3e8a86e9586597594db0a2c633504bb2453ff17e9bd062ce29a8773ec35426dfda9391eac72cccb2ca12dbab11915f9c4313283b858f756a85f0b')
+if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then
+ eval "$(
+ prepare() {
+ patch -p1 -i "$srcdir/libsndfile-1.0.31-no-sse2.patch"
+ }
+ )"
+fi