Add Yocto Project scarthgap release compatibility
[AGL/meta-agl.git] / meta-agl-core / recipes-graphics / wayland / weston_10.0_aglcore.inc
1 FILESEXTRAPATHS:append := ":${THISDIR}/weston"
2
3 # Workaround for incorrect upstream definition
4 PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer1.0 gstreamer1.0-plugins-base"
5 PACKAGECONFIG[headless] = "-Dbackend-headless=true"
6 PACKAGECONFIG:append = "${@bb.utils.contains('DISTRO_FEATURES', 'weston-remoting', ' remoting', '', d)}"
7
8 SRC_URI:append = "file://0001-libweston-Send-name-description-update-wl_output-to-.patch \
9                   file://0001-libweston-desktop-xdg-shell-Add-tiled-orientation-st.patch \
10                   file://0001-simple-touch-Add-maximized-fullscreen-states.patch \
11                   file://0001-backend-drm-make-sure-all-buffers-are-released-when-.patch \
12                   file://0001-libweston-weston-log-Add-a-iterator-helper-for-debug.patch \
13 "
14
15 # Split weston-terminal out of the main package to allow installing it
16 # separately for use with other compositors.  The icons, etc. that end
17 # up in /usr/share/weston are also split out into a separate package
18 # since they are required for weston-terminal and some of the programs
19 # packaged in weston-examples in addition to ivi-shell in the main
20 # package.
21
22 PACKAGE_BEFORE_PN += "${PN}-data ${PN}-terminal"
23
24 FILES:${PN}-data = "${datadir}/weston"
25
26 FILES:${PN}-terminal = "${bindir}/weston-terminal"
27 RDEPENDS:${PN}-terminal += "weston-data liberation-fonts"
28
29 RDEPENDS:${PN}-examples += "weston-data"
30
31 FILES:${PN}:remove = "weston-terminal"
32 RDEPENDS:${PN}:remove = "liberation-fonts"
33 RDEPENDS:${PN} += "weston-data weston-terminal"