c7ce8cb39d9b3a068ff9a26fb02f559bd5b79314
[AGL/meta-agl-demo.git] / recipes-demo / messaging / messaging_git.bb
1 SUMMARY     = "Messaging application"
2 DESCRIPTION = "AGL demonstration Messaging application"
3 HOMEPAGE    = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/messaging"
4 SECTION     = "apps"
5
6 LICENSE     = "Apache-2.0"
7 LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
8
9 DEPENDS = "qtquickcontrols2 libqtappfw"
10
11 PV = "1.0+git${SRCPV}"
12
13 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/messaging;protocol=https;branch=${AGL_BRANCH}"
14 SRCREV  = "e58b0382de8e665d64b8e3486022a6bcb0572823"
15
16 S  = "${WORKDIR}/git"
17
18 inherit qmake5 pkgconfig
19
20 # HACK: new systemd-enabled applaunchd for now relies on .desktop and DBusActivatable
21 do_install:append() {
22     sed -n "/^DBusActivatable=/!p" -i ${D}${datadir}/applications/messaging.desktop
23     echo "DBusActivatable=true" >> ${D}${datadir}/applications/messaging.desktop
24 }
25
26 FILES:${PN} += "${datadir}/icons/"
27
28 RDEPENDS:${PN} += "libqtappfw"