Fix potential memory leak of two pointers (xwayland and client)
[AGL/meta-agl.git] / meta-agl-core / recipes-graphics / wayland / weston_8.0_aglcore.inc
1 FILESEXTRAPATHS:append := ":${THISDIR}/weston"
2
3 SRC_URI:append = "\
4     file://0002-Allow-weston-to-start-from-a-systemd-user-session.patch \
5     file://0005-correctly-tear-down-drm-backend.patch \
6     file://0001-clients-window-Add-set_app_id-function-change-Waylan.patch \
7     file://0001-libweston-backend-drm-Re-order-gbm-destruction-at-DR.patch \
8     file://0001-gl-renderer-Avoid-double-free-on-init-failure.patch \
9     file://0001-libweston-Remove-source-repaint_timer-in-weston_comp.patch \
10     file://0001-libweston-desktop-rename-weston_desktop_client_destr.patch \
11     file://0002-libweston-desktop-introduce-weston_desktop_client_de.patch \
12     file://0003-libweston-desktop-add-weston_desktop_xwayland_fini.patch \
13     file://0001-libweston-add-weston_layer_fini.patch \
14     "
15
16 # Workaround for incorrect upstream definition
17 PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer1.0 gstreamer1.0-plugins-base"
18 PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer1.0 gstreamer1.0-plugins-base"
19 PACKAGECONFIG[headless] = "-Dbackend-headless=true"
20 PACKAGECONFIG:append = "${@bb.utils.contains('DISTRO_FEATURES', 'weston-remoting', ' remoting', '', d)}"
21 PACKAGECONFIG:append = "${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', ' remoting', '', d)}"
22
23 # seat management is only for waltham-transmitter-plugin
24 SRC_URI:append = "${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', 'file://0001-libweston-Migrate-weston_seat_init-release-to-public.patch', '', d)}"