index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/gstreamer/PKGBUILD | 65 |
diff --git a/extra/gstreamer/PKGBUILD b/extra/gstreamer/PKGBUILD index 5cc84344..7442af2c 100644 --- a/extra/gstreamer/PKGBUILD +++ b/extra/gstreamer/PKGBUILD @@ -66,3 +66,68 @@ eval "$( s/\(meson test.*\)/\1 || true/ ' )" + +# FS32#245: cannot rebuild opencv on i486 currently due to python issues +if [ "$CARCH" == 'i486' ]; then + makedepends=(${makedepends[@]//opencv/}) + + eval "$( + declare -f build | \ + sed ' + /local meson_options.*/ a \ + meson_options+=(-D gst-plugins-bad:opencv=disabled) + ' + declare -f package_gst-plugin-opencv | \ + sed ' + /local files/ a \ + files=() + /depends/ a \ + depends=(${depends[@]//opencv/}) + ' + )" +fi + +# break dependency cycle with wpewebkit +if [ "$CARCH" == 'i486' ]; then + makedepends=(${makedepends[@]//wpewebkit/}) + eval "$( + declare -f build | \ + sed ' + /local meson_options.*/ a \ + meson_options+=(-D gst-plugins-bad:wpe=disabled) + ' + declare -f package_gst-plugin-wpe | \ + sed ' + /local files/ a \ + files=() + /depends/ a \ + depends=(${depends[@]//wpewebkit/}) + ' + )" +fi + +# we have libdc1394, but it's not recognized on i486, it's not installed +# (maybe it's only a transitive dependency and we removed something..) +# gst-plugins-bad| Run-time dependency libdc1394-2 found: NO (tried pkgconfig) +if [ "$CARCH" == 'i486' ]; then + makedepends+=(libdc1394) + eval "$( + declare -f package_gst-plugins-bad | \ + sed ' + /depends/ a \ + depends=(${depends[@]//libdc1394/}) + ' + )" +fi + +# gstreamer/subprojects/gst-plugins-bad/ext/openexr/meson.build:1:0: ERROR: Dependency "OpenEXR" not found, tried pkgconfig +if [ "$CARCH" == 'i486' ]; then + makedepends+=(openexr) + eval "$( + declare -f package_gst-plugins-bad | \ + sed ' + /depends/ a \ + depends=(${depends[@]//openexr/}) + ' + )" +fi |