aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo/messaging/messaging_git.bb
blob: c7ce8cb39d9b3a068ff9a26fb02f559bd5b79314 (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
SUMMARY     = "Messaging application"
DESCRIPTION = "AGL demonstration Messaging application"
HOMEPAGE    = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/messaging"
SECTION     = "apps"

LICENSE     = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984"

DEPENDS = "qtquickcontrols2 libqtappfw"

PV = "1.0+git${SRCPV}"

SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/messaging;protocol=https;branch=${AGL_BRANCH}"
SRCREV  = "e58b0382de8e665d64b8e3486022a6bcb0572823"

S  = "${WORKDIR}/git"

inherit qmake5 pkgconfig

# HACK: new systemd-enabled applaunchd for now relies on .desktop and DBusActivatable
do_install:append() {
    sed -n "/^DBusActivatable=/!p" -i ${D}${datadir}/applications/messaging.desktop
    echo "DBusActivatable=true" >> ${D}${datadir}/applications/messaging.desktop
}

FILES:${PN} += "${datadir}/icons/"

RDEPENDS:${PN} += "libqtappfw"