1 # Upstream is now pinning ivi-homescreen
4 # For now disable gstreamer to avoid needing to enable "commercial"
5 # licenses for the stated ffmpeg dependency.
6 PACKAGECONFIG:remove = "gstreamer"
9 IVI_HOMESCREEN_APP_OVERRIDE = "--b=/usr/share/flutter/gallery"
11 SERVICE_UNIT = "Requires=agl-compositor.service\nAfter=agl-compositor.service"
12 SERVICE_INSTALL = "WantedBy=agl-session.target"
13 # we have a regular/agl-driver user, so avoid setting one
14 SERVICE_ENVIRONMENT = ""
15 SERVICE_USER_GROUP = ""
16 SERVICE_RESTART = "Restart=on-failure"
18 # we need to install as user session, not root.
20 install -d ${D}${systemd_user_unitdir}/agl-session.target.wants
21 install -m0644 ${WORKDIR}/homescreen.service ${D}${systemd_user_unitdir}/homescreen.service
22 ln -s ../homescreen.service ${D}${systemd_user_unitdir}/agl-session.target.wants/homescreen.service
25 FILES:${PN} += " ${systemd_user_unitdir}"