From aa45bbb5dd7dbb34ddb2f2c36c0db44ee6543590 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 7 May 2021 16:38:27 +0200 Subject: extra/gst-plugins-bad: building without opencv on i486 --- extra/gst-plugins-bad/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'extra') 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 -- cgit v1.2.3-70-g09d2