diff options
author | Ross Burton <ross@burtonini.com> | 2021-12-08 17:34:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-09 10:33:25 +0000 |
commit | 7d2239d638e3a7f49471cb3f88f42b23c963a631 (patch) | |
tree | 0396f936715eccf9bfb4f415d690e4d11b31c414 /meta/recipes-multimedia/gstreamer | |
parent | 67700e174df8651910649d9cfd2ac2d6ad45c0a2 (diff) | |
download | poky-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.bb | 5 |
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 | |||
29 | PACKAGECONFIG ??= " \ | 29 | PACKAGECONFIG ??= " \ |
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 | |||
91 | PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva" | 91 | PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva" |
92 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" | 92 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" |
93 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" | 93 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" |
94 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native libxkbcommon" | 94 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native" |
95 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" | 95 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" |
96 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" | 96 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" |
97 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" | 97 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" |
98 | PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" | 98 | PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" |
99 | PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" | 99 | PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" |
100 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon" | ||
100 | PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265" | 101 | PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265" |
101 | 102 | ||
102 | EXTRA_OEMESON += " \ | 103 | EXTRA_OEMESON += " \ |