aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo/phone/phone_git.bb
blob: e8b8d9ab6c8907eaf04781a4941a8d7d9cbcfab1 (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     = "Phone application"
DESCRIPTION = "AGL demonstration Phone application"
HOMEPAGE    = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/phone"
SECTION     = "apps"

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

DEPENDS = "qtquickcontrols2 libqtappfw gstreamer1.0"

PV = "1.0+git${SRCPV}"

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

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/phone.desktop
    echo "DBusActivatable=true" >> ${D}${datadir}/applications/phone.desktop
}

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

RDEPENDS:${PN} += "libqtappfw"