[oe-commits] Stefan Schmidt : frameworkd-config-shr: SHR specific frameworkd config ( from SHR)
git version control
git at git.openembedded.org
Thu Sep 17 21:24:48 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0bea79bae67c907cfad13b62c2df51b280d9b83d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0bea79bae67c907cfad13b62c2df51b280d9b83d
Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date: Thu Sep 17 19:08:42 2009 +0000
frameworkd-config-shr: SHR specific frameworkd config (from SHR)
---
recipes/shr/frameworkd-config-shr_git.bb | 87 ++++++++++++++++++++++++++++++
1 files changed, 87 insertions(+), 0 deletions(-)
diff --git a/recipes/shr/frameworkd-config-shr_git.bb b/recipes/shr/frameworkd-config-shr_git.bb
new file mode 100644
index 0000000..0727091
--- /dev/null
+++ b/recipes/shr/frameworkd-config-shr_git.bb
@@ -0,0 +1,87 @@
+DESCRIPTION = "SHR Configuration for frameworkd"
+HOMEPAGE = "http://www.freesmartphone.org"
+AUTHOR = "Michael 'Mickey' Lauer <mlauer at vanille-media.de> et. al."
+SECTION = "console/network"
+DEPENDS = "python-cython-native python-pyrex-native"
+LICENSE = "GPL"
+SRCREV_FORMAT = "gitrFSO_REV-SHR_REV"
+PV = "0.9.5.9+${SRCREV}"
+PR = "r7"
+
+SRC_URI = "${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master;name=FSO_REV \
+ git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master;name=SHR_REV"
+S = "${WORKDIR}/git"
+
+PROVIDES_${PN} = "frameworkd-config"
+RPROVIDES_${PN} = "frameworkd-config"
+CONF_PATH = "${S}/frameworkd/${PN}"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}
+ install -d ${D}${sysconfdir}/freesmartphone/opreferences/schema/
+ install -d ${D}${sysconfdir}/freesmartphone/opreferences/conf/profiles/
+ install -d ${D}${sysconfdir}/freesmartphone/opreferences/conf/phone/
+ install -d ${D}${sysconfdir}/freesmartphone/opreferences/conf/rules/
+ install -d ${D}${sysconfdir}/freesmartphone/oevents/
+ install -d ${D}${sysconfdir}/freesmartphone/ogsmd/
+ install -d ${D}${sysconfdir}/freesmartphone/persist/
+ install -d ${D}${sysconfdir}/freesmartphone/opim/
+ install -m 0644 ${S}/etc/freesmartphone/opreferences/schema/phone.yaml ${D}${sysconfdir}/freesmartphone/opreferences/schema/
+ install -m 0644 ${S}/etc/freesmartphone/opreferences/schema/profiles.yaml ${D}${sysconfdir}/freesmartphone/opreferences/schema/
+ install -m 0644 ${S}/etc/freesmartphone/opreferences/schema/rules.yaml ${D}${sysconfdir}/freesmartphone/opreferences/schema/
+ install -m 0644 ${S}/etc/freesmartphone/persist/README ${D}${sysconfdir}/freesmartphone/persist/
+ install -m 0644 ${S}/etc/freesmartphone/ogsmd/networks.tab ${D}${sysconfdir}/freesmartphone/ogsmd/
+ install -m 0644 ${S}/etc/freesmartphone/ogsmd/cell.db ${D}${sysconfdir}/freesmartphone/ogsmd/
+ install -m 0644 ${S}/etc/freesmartphone/ogsmd/la.db ${D}${sysconfdir}/freesmartphone/ogsmd/
+
+ #Check for machine specific conf.
+ CONF_PATH_MACHINE="${CONF_PATH}"
+ if [ -d "${CONF_PATH}/${MACHINE}" ] ; then
+ CONF_PATH_MACHINE="${CONF_PATH}/${MACHINE}"
+ fi
+ # Install SHR custom files
+ install -m 0644 ${CONF_PATH_MACHINE}/frameworkd.conf ${D}${sysconfdir}
+ install -m 0644 ${CONF_PATH_MACHINE}/rules.yaml ${D}${sysconfdir}/freesmartphone/oevents/
+ install -m 0644 ${CONF_PATH}/profiles/profiles/default.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/profiles/
+
+ install -m 0644 ${CONF_PATH}/profiles/phone/default.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/phone/
+ install -m 0644 ${CONF_PATH}/profiles/rules/default.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/rules/
+
+ install -m 0644 ${CONF_PATH}/profiles/phone/ring.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/phone/
+ install -m 0644 ${CONF_PATH}/profiles/rules/ring.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/rules/
+
+ install -m 0644 ${CONF_PATH}/profiles/phone/vibrate.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/phone/
+ install -m 0644 ${CONF_PATH}/profiles/rules/vibrate.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/rules/
+
+ install -m 0644 ${CONF_PATH}/profiles/phone/silent.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/phone/
+ install -m 0644 ${CONF_PATH}/profiles/rules/silent.yaml ${D}${sysconfdir}/freesmartphone/opreferences/conf/rules/
+
+ install -d ${D}${datadir}/sounds
+ install -m 0644 ${CONF_PATH}/*.wav ${D}${datadir}/sounds/
+}
+
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
+
+# machine specific stuff, should ideally be elsewhere
+# - recommend MUXer on platforms that require one
+RDEPENDS_${PN}_append_om-gta01 = " fso-abyss"
+RDEPENDS_${PN}_append_om-gta02 = " fso-abyss"
+RDEPENDS_${PN}_append-om-3d7k = " fso-abyss"
+# - add wmiconfig for wireless configuration
+RDEPENDS_${PN}_append_om-gta02 = " wmiconfig"
+
+FILES_${PN} = "\
+ ${sysconfdir}/frameworkd.conf \
+ ${sysconfdir}/freesmartphone \
+ ${datadir}/sounds \
+"
+CONFFILES_${PN} = "\
+ ${sysconfdir}/frameworkd.conf \
+ ${sysconfdir}/freesmartphone/opreferences/conf/phone/silent.yaml \
+ ${sysconfdir}/freesmartphone/opreferences/conf/phone/default.yaml \
+ ${sysconfdir}/freesmartphone/opreferences/conf/profiles/default.yaml \
+ ${sysconfdir}/freesmartphone/opreferences/conf/rules/silent.yaml \
+ ${sysconfdir}/freesmartphone/opreferences/conf/rules/default.yaml \
+ ${sysconfdir}/freesmartphone/oevents/rules.yaml \
+ ${sysconfdir}/freesmartphone/ogsmd/networks.tab \
+"
More information about the Openembedded-commits
mailing list