1 # Potentially pin SRCREV here. Use upstream's AUTOINC default for
5 # For now disable gstreamer to avoid needing to enable "commercial"
6 # licenses for the stated ffmpeg dependency.
7 PACKAGECONFIG:remove = "gstreamer"
10 IVI_HOMESCREEN_APP_OVERRIDE = "--a=/usr/share/gallery"
12 SERVICE_UNIT = "Requires=agl-compositor.service\nAfter=agl-compositor.service"
13 SERVICE_INSTALL = "WantedBy=agl-session.target"
14 # we have a regular/agl-driver user, so avoid setting one
15 SERVICE_ENVIRONMENT = ""
16 SERVICE_USER_GROUP = ""
17 SERVICE_RESTART = "Restart=on-failure"
19 # we need to install as user session, not root.
21 install -d ${D}${systemd_user_unitdir}/agl-session.target.wants
22 install -m0644 ${WORKDIR}/homescreen.service ${D}${systemd_user_unitdir}/homescreen.service
23 ln -s ../homescreen.service ${D}${systemd_user_unitdir}/agl-session.target.wants/homescreen.service
26 FILES:${PN} += " ${systemd_user_unitdir}"