X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fmediaplayer%2Fmediaplayer_git.bb;h=ff84ae8a240fc5f6e9563fa1c12059dbf56c86d3;hb=refs%2Fchanges%2F36%2F27836%2F2;hp=7962f76c9feb30583c533279139ad6620ac9e7a2;hpb=5f46a8150d790f6bd897e3d759c8e3abf65da9cd;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/mediaplayer/mediaplayer_git.bb b/recipes-demo/mediaplayer/mediaplayer_git.bb index 7962f76c9..ff84ae8a2 100644 --- a/recipes-demo/mediaplayer/mediaplayer_git.bb +++ b/recipes-demo/mediaplayer/mediaplayer_git.bb @@ -10,13 +10,29 @@ DEPENDS = "qtquickcontrols2 libqtappfw" PV = "2.0+git${SRCPV}" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/mediaplayer;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "${AGL_APP_REVISION}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/mediaplayer;protocol=https;branch=${AGL_BRANCH} \ + file://mediaplayer.conf \ + file://mediaplayer.token \ +" +SRCREV = "9c7c1d105faeb57a5b79578318c5731d252c5414" S = "${WORKDIR}/git" -inherit qmake5 +inherit qmake5 pkgconfig agl-app -FILES:${PN} += "${datadir}/icons/" +AGL_APP_NAME = "Mediaplayer" + +do_install:append() { + # Currently using default global client and CA certificates + # for KUKSA.val SSL, installing app specific ones would go here. + + # VIS authorization token file for KUKSA.val should ideally not + # be readable by other users, but currently that's not doable + # until a packaging/sandboxing/MAC scheme is (re)implemented or + # something like OAuth is plumbed in as an alternative. + install -d ${D}${sysconfdir}/xdg/AGL/mediaplayer + install -m 0644 ${WORKDIR}/mediaplayer.conf ${D}${sysconfdir}/xdg/AGL/ + install -m 0644 ${WORKDIR}/mediaplayer.token ${D}${sysconfdir}/xdg/AGL/mediaplayer/ +} RDEPENDS:${PN} += "libqtappfw mpd"