diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc index ef0734ba93..abfcc65390 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc | |||
@@ -22,12 +22,21 @@ REQUIRED_DISTRO_FEATURES ?= "opengl" | |||
22 | 22 | ||
23 | PACKAGES =+ "${PN}-tests" | 23 | PACKAGES =+ "${PN}-tests" |
24 | 24 | ||
25 | # OpenGL packageconfig factored out to make it easy for distros | ||
26 | # and BSP layers to pick either glx, egl, or no GL. By default, | ||
27 | # try detecting X11 first, and if found (with OpenGL), use GLX, | ||
28 | # otherwise try to check if EGL can be used. | ||
29 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', \ | ||
30 | bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl', \ | ||
31 | '', d), d)}" | ||
32 | |||
25 | PACKAGECONFIG ??= "drm \ | 33 | PACKAGECONFIG ??= "drm \ |
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \ | 34 | ${PACKAGECONFIG_GL} \ |
27 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | 35 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" |
28 | 36 | ||
29 | PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm" | 37 | PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm" |
30 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa" | 38 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" |
39 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl" | ||
31 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland" | 40 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland" |
32 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender" | 41 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender" |
33 | 42 | ||