Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/gstreamer/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-11 21:04:59 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-11 21:04:59 +0100
commit8146cf33c1dbdb1ab7c47d347aff195f32a89c25 (patch)
tree36877d2943b81891d3b4180e7c01492583e2d34c /extra/gstreamer/PKGBUILD
parent2fbfb64135192ced886d5a7c5d8066d89a2fdcb7 (diff)
extra/gstreamer: reworked after package split/join, readded opencv on i486 (as it builds now)
Diffstat (limited to 'extra/gstreamer/PKGBUILD')
-rw-r--r--extra/gstreamer/PKGBUILD44
1 files changed, 9 insertions, 35 deletions
diff --git a/extra/gstreamer/PKGBUILD b/extra/gstreamer/PKGBUILD
index a08dc4bb..ccfde6b2 100644
--- a/extra/gstreamer/PKGBUILD
+++ b/extra/gstreamer/PKGBUILD
@@ -2,56 +2,30 @@
makedepends=(${makedepends[@]//svt-hevc/})
eval "$(
- declare -f build | \
+ declare -f build | \
sed '
- s/arch-meson/arch-meson -D svthevcenc=disabled /g
+ /local meson_options.*/ a \
+ meson_options+=(-D svthevcenc=disabled)
+ s|https://www.archlinux.org/|https://www.archlinux32.org/|g
'
-)"
-
-eval "$(
- declare -f package_gst-plugins-bad-libs | \
- sed '
- s/svthevcenc//g
- '
-)"
-
-eval "$(
declare -f package_gst-plugins-bad | \
sed '
s/svt-hevc//g
'
+ declare -f package_gst-plugins-bad-libs | \
+ sed '
+ /libgstsvthevcenc.so/d
+ '
)"
-# no opencv on i486 for now
-if [ "$CARCH" = 'i486' ]; then
- makedepends=(${makedepends[@]//opencv/})
- eval "$(
- declare -f build | \
- sed '
- s@arch-meson @arch-meson -D opencv=disabled @
- '
- 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
# disabled testing for now, takes to long (the developers think)
# 99%: Checks: 105, Failures: 0, Errors: 1
# ../gst-plugins-base/tests/check/elements/appsrc.c:443:E:general:test_appsrc_blocked_on_caps:0: (after this point) Test timeout expired
unset check
+
# ignoring one check here:
# ../gstreamer/libs/gst/check/gstcheck.c:286:F:general:test_qtdemux_pad_names:0: Unexpected critical/warning: can't peek value table for type '(null)' which is not currently referenced
# Check suite qtdemux ran in 0.061s (tests failed: 1)
-
eval "$(
declare -f check | \
sed '