summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-12-08 17:34:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-09 10:33:25 +0000
commit7d2239d638e3a7f49471cb3f88f42b23c963a631 (patch)
tree0396f936715eccf9bfb4f415d690e4d11b31c414 /meta/recipes-multimedia/gstreamer
parent67700e174df8651910649d9cfd2ac2d6ad45c0a2 (diff)
downloadpoky-7d2239d638e3a7f49471cb3f88f42b23c963a631.tar.gz
gstreamer1.0-plugins-bad: clean up X11 dependencies
libxcb and xkbcommon are only needed in builds with X11 enabled, so add a PACKAGECONFIG and respect the x11 DISTRO_FEATURE. Strictly speaking these are only required if Vulkan and X11 are enabled, but it's possible that more plugins will respect the flag. (From OE-Core rev: 5d88ce8f25f7c8d226e26f4ebbb652625ef02d9f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb
index 1a091025fe..f90dff693d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb
@@ -29,7 +29,7 @@ inherit gobject-introspection
29PACKAGECONFIG ??= " \ 29PACKAGECONFIG ??= " \
30 ${GSTREAMER_ORC} \ 30 ${GSTREAMER_ORC} \
31 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ 31 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
32 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ 32 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan x11', d)} \
33 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ 33 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
34 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ 34 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \
35 bz2 closedcaption curl dash dtls hls openssl sbc smoothstreaming \ 35 bz2 closedcaption curl dash dtls hls openssl sbc smoothstreaming \
@@ -91,12 +91,13 @@ PACKAGECONFIG[v4l2codecs] = "-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,lib
91PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva" 91PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva"
92PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" 92PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc"
93PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" 93PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc"
94PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native libxkbcommon" 94PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native"
95PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" 95PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm"
96PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" 96PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
97PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" 97PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice"
98PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" 98PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing"
99PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" 99PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar"
100PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon"
100PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265" 101PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265"
101 102
102EXTRA_OEMESON += " \ 103EXTRA_OEMESON += " \