summaryrefslogtreecommitdiff
path: root/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/wayland-app-launch/wayland-app-launch.inc')
-rw-r--r--recipes-graphics/wayland-app-launch/wayland-app-launch.inc5
1 files changed, 4 insertions, 1 deletions
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 () {