summaryrefslogtreecommitdiff
path: root/qt5-layer/recipes-qt/qt5/qt5-x11-free-systemd.bb
blob: 6d5963e676b4a827c37a040748f9ed3c6b1d474c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SECTION = "x11/libs"
SUMMARY = "systemd qtapplication autostart"
# The license is meant for this recipe and the files it installs.
# RNDIS is part of the kernel, udhcpd is part of busybox
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

inherit allarch systemd

SRC_URI = " \
    file://qt5-x11-demo.service \
    file://qt5-x11-demo-init \
"

do_install () {
    install -d ${D}/${bindir}
    install -m 0755 ${WORKDIR}/qt5-x11-demo-init ${D}/${bindir}

    install -d ${D}${systemd_unitdir}/system/
    install -m 0644 ${WORKDIR}/qt5-x11-demo.service ${D}${systemd_unitdir}/system
}

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "qt5-x11-demo.service"