index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-09-30 16:20:39 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-09-30 16:20:39 +0200 |
commit | f80341b7e10d3c019435e2032c3afd40b1e64deb (patch) | |
tree | 56e02454b0de6046bed45a68cc48bb13e10a1d40 /extra/gstreamer/PKGBUILD | |
parent | 82099aa6b015345b90c97e7586941a658ed9df1f (diff) |
-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 |