Fixes for meta-agl-bsp for rocko
[AGL/meta-agl.git] / meta-agl-bsp / recipes-graphics / wayland / libva_%.bbappend
diff --git a/meta-agl-bsp/recipes-graphics/wayland/libva_%.bbappend b/meta-agl-bsp/recipes-graphics/wayland/libva_%.bbappend
new file mode 100644 (file)
index 0000000..eda8de3
--- /dev/null
@@ -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 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "${PN}-x11", d)}"