Update to YP dunfell 3.1.5
[AGL/meta-agl.git] / meta-agl-bsp / meta-rcar-gen3-adas / recipes-multimedia / gstreamer / gstreamer1.0-plugins-bad_1.16.%.bbappend
diff --git a/meta-agl-bsp/meta-rcar-gen3-adas/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend
new file mode 100644 (file)
index 0000000..3d91030
--- /dev/null
@@ -0,0 +1,13 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
+
+SRC_URI_append = " \
+    file://0001-install-wayland.h-header.patch \
+    file://0002-pkgconfig-libgstwayland.patch \
+    file://0003-gstkmssink-add-rcar-du-to-driver-list.patch \
+"
+
+PACKAGECONFIG_append = " kms"
+
+PACKAGECONFIG_remove = '${@ "vulkan" if not ('opengl' in '${DISTRO_FEATURES}') else ""}'
+DEPENDS_remove = '${@ "weston" if not ('wayland' in '${DISTRO_FEATURES}') else ""}'
+RDEPENDS_gstreamer1.0-plugins-bad_remove = '${@bb.utils.contains("DISTRO_FEATURES", "wayland opengl", "", "libwayland-egl", d)}'