Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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