Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-10 22:02:05 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-10 22:02:05 +0200
commite2efd58dac72adc3983c5da17afe77eaa9b01c2c (patch)
tree4574bcd8adbe85130630aba89d8b2cce5c37d9ab
parent8c3ed553143976f5fc49bd4e944949067e45c901 (diff)
extra/libcanberra: bootstrapping on i486
-rw-r--r--extra/libcanberra/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libcanberra/PKGBUILD b/extra/libcanberra/PKGBUILD
new file mode 100644
index 00000000..2c8417d7
--- /dev/null
+++ b/extra/libcanberra/PKGBUILD
@@ -0,0 +1,26 @@
+# breaking cycle with gtk2, gtk3 and gstreamer on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//gtk2/})
+ makedepends=(${makedepends[@]//gtk3/})
+ makedepends=(${makedepends[@]//gstreamer/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-gstreamer/--disable-gstreamer/
+ '
+ )"
+ eval "$(
+ declare -f package_libcanberra | \
+ sed '
+ /rm.*la/d
+ /for/ s/gstreamer//
+ '
+ )"
+ eval "$(
+ declare -f package_libcanberra-gstreamer | \
+ sed '
+ /rm.*la/d
+ /mv.*gstreamer/d
+ '
+ )"
+fi