From 72d12dac06bf7b06a8d25fafe0a5c9cdb644a4b3 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Fri, 17 Jul 2020 17:41:16 +0200 Subject: wayland-app-launch: add possibility to set environment for app Related-to: ELB-2838 Signed-off-by: Philippe Schenker --- recipes-graphics/wayland-app-launch/wayland-app-launch.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes-graphics/wayland-app-launch/wayland-app-launch.inc') diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc index 20a6c25..cd72391 100644 --- a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc +++ b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc @@ -10,13 +10,16 @@ RDEPENDS_${PN} += "weston-init ${INITIAL_APP_PKGS}" S = "${WORKDIR}" SRC_URI = " \ - file://wayland-app-launch.service \ + file://wayland-app-launch.service.in \ file://wayland-app-launch.sh.in \ " FILESEXTRAPATHS_prepend := "${THISDIR}/wayland-app-launch:" +APPLICATION_ENVIRONMENT ??= "" + do_compile () { sed -e "s:@@wayland-application@@:${WAYLAND_APPLICATION}:" wayland-app-launch.sh.in > wayland-app-launch.sh + sed -e "s:@@application-environment@@:${APPLICATION_ENVIRONMENT}:" wayland-app-launch.service.in > wayland-app-launch.service } do_install () { -- cgit v1.2.3