summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/wayland/weston.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-graphics/wayland/weston.inc')
-rw-r--r--meta-rcar-gen3/recipes-graphics/wayland/weston.inc36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-graphics/wayland/weston.inc b/meta-rcar-gen3/recipes-graphics/wayland/weston.inc
new file mode 100644
index 0000000..68fd83e
--- /dev/null
+++ b/meta-rcar-gen3/recipes-graphics/wayland/weston.inc
@@ -0,0 +1,36 @@
+require include/gles-control.inc
+require include/multimedia-control.inc
+
+PACKAGECONFIG_remove_virtclass-multilib-lib32 = "launch"
+DEPENDS_append = " \
+ ${@base_conditional('USE_GLES', '1', ' libgbm', '', d)}"
+
+RDEPENDS_${PN}_append = " \
+ ${@base_conditional('USE_GLES', '1', ' libgbm', '', d)} \
+ ${@base_conditional('USE_MULTIMEDIA', '1', ' media-ctl', '', d)} \
+"
+RDEPENDS_${PN}-examples_append = " \
+ ${@base_conditional('USE_GLES', '1', ' libgbm', '', d)}"
+
+EXTRA_OECONF_append = " \
+ ${@base_conditional('USE_GLES', '1', '', \
+ ' WESTON_NATIVE_BACKEND="fbdev-backend.so"', d)}"
+
+PACKAGES_prepend = "${PN}-bin "
+
+FILES_${PN}-bin = " \
+ ${bindir}/weston \
+ ${bindir}/weston-terminal \
+ ${bindir}/weston-info \
+ ${bindir}/weston-launch \
+ ${bindir}/wcap-decode \
+"
+
+FILES_${PN} = " \
+ ${libdir}/weston \
+ ${datadir} \
+ ${libexecdir} \
+"
+
+USERADD_PACKAGES = "${PN}-bin"
+GROUPADD_PARAM_${PN}-bin = "--system weston-launch"