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.inc15
1 files changed, 7 insertions, 8 deletions
diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
index cd72391..588ca4b 100644
--- a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
+++ b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
@@ -5,28 +5,27 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
inherit allarch systemd
-RDEPENDS_${PN} += "weston-init ${INITIAL_APP_PKGS}"
+RDEPENDS:${PN} += "weston-init ${INITIAL_APP_PKGS}"
S = "${WORKDIR}"
SRC_URI = " \
file://wayland-app-launch.service.in \
- file://wayland-app-launch.sh.in \
"
-FILESEXTRAPATHS_prepend := "${THISDIR}/wayland-app-launch:"
+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
+ sed -e "s:@@wayland-application@@:${WAYLAND_APPLICATION}:" \
+ -e "s:@@application-environment@@:${APPLICATION_ENVIRONMENT}:" \
+ wayland-app-launch.service.in > wayland-app-launch.service
}
do_install () {
- install -d ${D}/${bindir} ${D}${systemd_unitdir}/system/
+ install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/wayland-app-launch.service ${D}${systemd_unitdir}/system
- install -m 0755 ${S}/wayland-app-launch.sh ${D}/${bindir}
}
SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "wayland-app-launch.service"
+SYSTEMD_SERVICE:${PN} = "wayland-app-launch.service"