1 DESCRIPTION = "The reference implementation of the freesmartphone.org framework APIs"
2 HOMEPAGE = "http://www.freesmartphone.org"
3 AUTHOR = "FreeSmartphone.Org Development Team"
4 SECTION = "console/network"
5 DEPENDS = "python-cython-native python-pyrex-native"
7 PV = "0.9.5.9+gitr${SRCREV}"
10 inherit distutils update-rc.d
12 INITSCRIPT_NAME = "frameworkd"
13 INITSCRIPT_PARAMS = "defaults 29"
15 SRC_URI = "${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \
17 file://frameworkd.conf \
19 SRC_URI_append_shr = "file://oeventsd-use-opimd-signals.patch;patch=1"
23 do_configure_append() {
24 echo "version=\"${PV}\"" >framework/__version__.py
28 install -d ${D}${sysconfdir}/init.d/
29 install -m 0755 ${WORKDIR}/frameworkd ${D}${sysconfdir}/init.d/
30 install -m 0644 ${WORKDIR}/frameworkd.conf ${D}${sysconfdir}
33 pkg_postinst_${PN} () {
34 echo "NOTE: if you have old contacts without field types and the"
35 echo " tel: prefix instead please use the remove-tel script"
58 python-multiprocessing \
62 RRECOMMENDS_${PN} += "\
70 PACKAGES =+ "${PN}-config"
71 PACKAGE_ARCH_${PN}-config = "${MACHINE_ARCH}"
73 # machine specific stuff, should ideally be elsewhere
74 # - recommend MUXer on platforms that require one
75 RDEPENDS_${PN}-config_append_om-gta01 = " fso-abyss"
76 RDEPENDS_${PN}-config_append_om-gta02 = " fso-abyss"
77 # - add wmiconfig for wireless configuration
78 RDEPENDS_${PN}-config_append_om-gta02 = " wmiconfig"
80 FILES_${PN}-config = "\
81 ${sysconfdir}/frameworkd.conf \
82 ${sysconfdir}/freesmartphone \
84 CONFFILES_${PN}-config = "\
85 ${sysconfdir}/frameworkd.conf \
86 ${sysconfdir}/freesmartphone/opreferences/conf/phone/silent.yaml \
87 ${sysconfdir}/freesmartphone/opreferences/conf/phone/default.yaml \
88 ${sysconfdir}/freesmartphone/opreferences/conf/profiles/default.yaml \
89 ${sysconfdir}/freesmartphone/opreferences/conf/rules/silent.yaml \
90 ${sysconfdir}/freesmartphone/opreferences/conf/rules/default.yaml \
91 ${sysconfdir}/freesmartphone/oevents/rules.yaml \
92 ${sysconfdir}/freesmartphone/ogsmd/networks.tab \
95 PACKAGE_ARCH_${PN} = "${BASE_PACKAGE_ARCH}"
96 FILES_${PN} += "${sysconfdir}/dbus-1 ${sysconfdir}/freesmartphone ${sysconfdir}/init.d ${datadir}"
97 FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/framework/subsystems/*/.debug"