Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/gst-plugins-bad/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-07 16:38:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-07 16:38:27 +0200
commitaa45bbb5dd7dbb34ddb2f2c36c0db44ee6543590 (patch)
tree3e91c0c802413389c5286e6bd374dea126be1a99 /extra/gst-plugins-bad/PKGBUILD
parentc26a63ee7897346859de829df70a800a7f40dbbf (diff)
extra/gst-plugins-bad: building without opencv on i486
Diffstat (limited to 'extra/gst-plugins-bad/PKGBUILD')
-rw-r--r--extra/gst-plugins-bad/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/gst-plugins-bad/PKGBUILD b/extra/gst-plugins-bad/PKGBUILD
index f31b9135..3d906614 100644
--- a/extra/gst-plugins-bad/PKGBUILD
+++ b/extra/gst-plugins-bad/PKGBUILD
@@ -22,3 +22,21 @@ eval "$(
'
)"
+# no opencv on i486 for now
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//opencv/})
+ eval "$(
+ declare -f package_gst-plugins-bad-libs | \
+ sed '
+ /mkdir.*opencv/d
+ /mv.*opencv/d
+ /gst\/opencv/d
+ s/in opencv wpe/in wpe/
+ '
+ declare -f package_gst-plugin-opencv | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ )"
+fi