FILESYSTEM_PERMS_TABLES = "tizen-fs-perms.txt"
+SYS_CTLR_PROVIDER = "murphy"
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-ivi-ico"
# Crosswalk
-CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"
\ No newline at end of file
+CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"
+
+SYS_CTLR_PROVIDEER = "ico-uxf-homescreen"
sed -i "s@-I/usr/include/ico-util@-I${PKG_CONFIG_SYSROOT_DIR}/usr/include/ico-util@g" ${S}/configure.ac
}
+do_install_append() {
+ if ${@bb.utils.contains('SYS_CTLR_PROVIDER', 'ico-uxf-homescreen', 'false', 'true', d)}; then
+ rm -f ${D}${systemd_unitdir}/user/ico-uxf-wait-launchpad-ready.path
+ rm -f ${D}${systemd_unitdir}/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path
+ rm -f ${D}${systemd_unitdir}/user/ico-system-controller.service
+ fi
+}
+
DEPENDS += "pkgmgr-native"
DEPENDS += "ail-native"
#pkg_initdb
#ail_initdb
-}
\ No newline at end of file
+}
+
+PROVIDES_remove := "${@bb.utils.contains('SYS_CTLR_PROVIDER', 'ico-uxf-homescreen',"","system-controller",d)}"
+RPROVIDES_ico-uxf-homescreen-system-controller_remove := "${@bb.utils.contains('SYS_CTLR_PROVIDER', 'ico-uxf-homescreen','',"system-controller",d)}"
do_install_append() {
rm -fr ${D}${systemd_unitdir}/user
rm ${D}/usr/lib/libmurphy-plugin-system-monitor*
+
+ if ${@bb.utils.contains('SYS_CTLR_PROVIDER', 'murphy', 'false', 'true', d)}; then
+ rm ${D}${prefix}/lib/murphy/plugins/plugin-system-controller.so
+ rm ${D}${systemd_unitdir}/user/ico-homescreen.service
+ rm ${D}${systemd_unitdir}/user/murphy-wait-for-launchpad-ready.path
+ fi
}
FILES_${PN}-dev += " /usr/include/murphy"
murphy-doc_files += "${prefix}/share/doc/murphy/ChangeLog"
murphy-doc_files += "${prefix}/share/doc/murphy/NEWS"
murphy-doc_files += "${prefix}/share/doc/murphy/README"
+
+PROVIDES_remove := "${@bb.utils.contains('SYS_CTLR_PROVIDER', 'murphy','',"system-controller",d)}"
+RPROVIDES_ico-uxf-homescreen-system-controller_remove := "${@bb.utils.contains('SYS_CTLR_PROVIDER', 'murphy','',"system-controller",d)}"