summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend4
-rw-r--r--templates/machine/intel-corei7-64/50_local.conf.inc7
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend
new file mode 100644
index 000000000..efc194b79
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend
@@ -0,0 +1,4 @@
+# This patch correct a bug in libva1_1.7.0.bb 1.8 inmeta-intel (no clue when it will be fixed)
+# libva.bb calls for an x11 runtime dependency even if wayland is selected
+#
+RDEPENDS_${PN}-egl_remove = "${@base_contains("DISTRO_FEATURES", "x11", "", "${PN}-x11", d)}"
diff --git a/templates/machine/intel-corei7-64/50_local.conf.inc b/templates/machine/intel-corei7-64/50_local.conf.inc
index e88000f5c..7c921b70e 100644
--- a/templates/machine/intel-corei7-64/50_local.conf.inc
+++ b/templates/machine/intel-corei7-64/50_local.conf.inc
@@ -18,3 +18,10 @@ MACHINE = "intel-corei7-64"
#
# All boot message will be off
#APPEND += "quiet"
+
+# Enable Libvaapi for HW accelerated video support
+#
+IMAGE_INSTALL_append = " \
+ libva \
+ va-intel \
+ gstreamer-vaapi-1.0 "