meta-agl-core/recipes-graphics/wayland: Do not export seat related functions
[AGL/meta-agl.git] / meta-agl-core / recipes-graphics / wayland / weston_8.0_aglcore.inc
index b2519e3..3c9bd4d 100644 (file)
@@ -1,7 +1,6 @@
 FILESEXTRAPATHS_append := ":${THISDIR}/weston"
 
 SRC_URI_append = "\
-    file://0001-libweston-Migrate-weston_seat_init-release-to-public.patch \
     file://0005-correctly-tear-down-drm-backend.patch \
     "
 
@@ -9,3 +8,6 @@ SRC_URI_append = "\
 PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer1.0 gstreamer1.0-plugins-base"
 PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'weston-remoting', ' remoting', '', d)}"
 PACKAGECONFIG_append = "${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', ' remoting', '', d)}"
+
+# seat management is only for waltham-transmitter-plugin
+SRC_URI_append = "${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', 'file://0001-libweston-Migrate-weston_seat_init-release-to-public.patch', '', d)}"