aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/libva/libva-utils_1.8.3.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libva/libva-utils_1.8.3.bb b/meta/recipes-graphics/libva/libva-utils_1.8.3.bb
index 9c2c0d657ba..c082c18b527 100644
--- a/meta/recipes-graphics/libva/libva-utils_1.8.3.bb
+++ b/meta/recipes-graphics/libva/libva-utils_1.8.3.bb
@@ -25,6 +25,9 @@ DEPENDS = "libva"
inherit autotools pkgconfig distro_features_check
+# depends on libva which requires opengl
+REQUIRED_DISTRO_FEATURES = "opengl"
+
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext libxfixes"
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland"