summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager_git.bb
blob: 072613fc61026928c13f18b8f314027e39ebd8c8 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SUMMARY = "Tiny window manager for wayland-ivi-extension"
DESCRIPTION = "Tiny window manager for wayland-ivi-extension"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=89aea4e17d99a7cacdbeed46a0096b10"

DEPENDS = "jsoncpp wayland-ivi-extension"

PV = "0.1.0+rev${SRCPV}"

SRCREV = "e3a33d47195e4656f7117753d27a0f2d6b21aab9"
SRC_URI = " \
    git://github.com/AGLExport/ilm-manager.git;branch=master;protocol=https \
    file://agl.json.in \
    file://ilm-manager.service \
    "
S = "${WORKDIR}/git"

inherit autotools pkgconfig systemd

DRM_IVI_DEVICE = "HDMI-A-1"
DRM_IVI_DEVICE:qemuall = "Virtual-1"

do_install:append() {
    #install scripts

    sed 's|@DRM_IVI_DEVICE@|${DRM_IVI_DEVICE}|g' \
         ${WORKDIR}/agl.json.in > ${B}/agl.json

    install -d ${D}${sysconfdir}
    install -m 0644 ${B}/agl.json ${D}${sysconfdir}

    install -d ${D}/${systemd_system_unitdir}
    install -m 0644 ${WORKDIR}/ilm-manager.service ${D}${systemd_system_unitdir}
}

FILES:${PN} += " ${systemd_system_unitdir} ${sysconfdir} "
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "ilm-manager.service"