X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fmediaplayer%2Fmediaplayer_git.bb;fp=recipes-demo%2Fmediaplayer%2Fmediaplayer_git.bb;h=9458212ad57c218e35c8f56f367b7fb82a0a8bf3;hb=aa6100e48b4beabe8cb5371fb88a98aebe58a996;hp=897099af2e42dc833968bb5d1cd155e0e9524b34;hpb=32bc374d3ab668a00dcd3083613d51f0ae59398d;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/mediaplayer/mediaplayer_git.bb b/recipes-demo/mediaplayer/mediaplayer_git.bb index 897099af2..9458212ad 100644 --- a/recipes-demo/mediaplayer/mediaplayer_git.bb +++ b/recipes-demo/mediaplayer/mediaplayer_git.bb @@ -33,6 +33,12 @@ do_install:append() { install -m 0644 ${WORKDIR}/mediaplayer.token ${D}${sysconfdir}/xdg/AGL/mediaplayer/ } +# HACK: new systemd-enabled applaunchd for now relies on .desktop and DBusActivatable +do_install:append() { + sed -n "/^DBusActivatable=/!p" -i ${D}${datadir}/applications/mediaplayer.desktop + echo "DBusActivatable=true" >> ${D}${datadir}/applications/mediaplayer.desktop +} + FILES:${PN} += "${datadir}/icons/" RDEPENDS:${PN} += "libqtappfw mpd"