summaryrefslogtreecommitdiff
path: root/extra/gstreamer
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-13 08:19:32 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-13 08:19:32 +0100
commit3750323f36951d365fa2049ec7df4e766c689b29 (patch)
tree9c921195d713ea9b91697a1c0211bccbfea6b681 /extra/gstreamer
parentfd110b6b54017d857ef947a1b0b930a75c431361 (diff)
downloadpackages-3750323f36951d365fa2049ec7df4e766c689b29.tar.xz
extra/gstreamer: some final fixes in installed artifacts
Diffstat (limited to 'extra/gstreamer')
-rw-r--r--extra/gstreamer/PKGBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/extra/gstreamer/PKGBUILD b/extra/gstreamer/PKGBUILD
index 52d1e652..79732289 100644
--- a/extra/gstreamer/PKGBUILD
+++ b/extra/gstreamer/PKGBUILD
@@ -22,7 +22,7 @@ eval "$(
declare -f package_gst-plugins-bad | \
sed '
/local files/ a \
- files=(${files[@]/\/usr\/lib\/gstreamer-1.0\/libgstsvthevcenc.so/})
+ files=(${files[@]/usr\\/lib\\/gstreamer-1.0\\/libgstsvthevcenc.so/})
'
)"
@@ -31,17 +31,27 @@ eval "$(
declare -f package_gst-plugins-bad | \
sed '
/local files/ a \
- files=(${files[@]/\/usr\/lib\/gstreamer-1.0\/libgstaes.so/})
+ files=(${files[@]/usr\\/lib\\/gstreamer-1.0\\/libgstaes.so/})
+ '
+ declare -f package_gstreamer-docs | \
+ sed '
+ /rmdir/ i \
+ rm root/usr/lib/gstreamer-1.0/libgstaes.so
'
)"
#gstreamer/subprojects/gst-plugins-bad/sys/msdk/meson.build:86:4: ERROR: Problem encountered: msdk plugin enabled but the Intel Media SDK or the oneVPL SDK not found: consider setting PKG_CONFIG_PATH, INTELMEDIASDKROOT or MFX_HOME
eval "$(
- declare -f build | \
+ declare -f build | \
sed '
/local meson_options.*/ a \
meson_options+=(-D gst-plugins-bad:msdk=disabled)
'
+ declare -f package_gst-plugin-msdk | \
+ sed '
+ /local files/ a \
+ files=(${files[@]/usr\\/lib\\/gstreamer-1.0\\/libgstmsdk.so/})
+ '
)"
# disabled testing for now, takes to long (the developers think)