summaryrefslogtreecommitdiff
path: root/recipes/openmoko2/openmoko-alsa-scenarios_svn.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-03-17 11:41:21 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-03-17 11:45:39 +0100
commit67b3baea2fd5203fe5dd6abec3530df4abe672ee (patch)
tree2d8eed1b2e49ed6f5ac75a463542167c944324c0 /recipes/openmoko2/openmoko-alsa-scenarios_svn.bb
parentc588c7ecebd7e3f1f2983a55ee564877a7bfdf12 (diff)
sane-srcrevs: move SRCREVs to recipes for openmoko related svn recipes
* As suggested few times on ML * I would move git revs too, but after merging SRCPV (don't want to resolve so much conflicts now) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/openmoko2/openmoko-alsa-scenarios_svn.bb')
-rw-r--r--recipes/openmoko2/openmoko-alsa-scenarios_svn.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/openmoko2/openmoko-alsa-scenarios_svn.bb b/recipes/openmoko2/openmoko-alsa-scenarios_svn.bb
new file mode 100644
index 0000000000..315ea4d1b9
--- /dev/null
+++ b/recipes/openmoko2/openmoko-alsa-scenarios_svn.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Package for the different scenarios used by Openmoko"
+SECTION = "openmoko/base"
+SRCREV = "4732"
+PV = "1.0+svnr${SRCPV}"
+PR = "r2"
+
+PROVIDES = "virtual/alsa-scenarios"
+
+COMPATIBLE_MACHINE = "(om-gta01|om-gta02)"
+
+SRC_URI = "svn://svn.openmoko.org/trunk/src/target/audio/;module=om-gta01;proto=http"
+SRC_URI_${MACHINE_ARCH} = "svn://svn.openmoko.org/trunk/src/target/audio/;module=${MACHINE_ARCH};proto=http"
+
+S = "${WORKDIR}/${MACHINE_ARCH}"
+
+do_install() {
+ install -d ${D}${datadir}/openmoko/scenarios/
+ install -m 644 ${S}/*.state ${D}${datadir}/openmoko/scenarios/
+ install -d ${D}${sysconfdir}/
+ install -m 644 ${S}/stereoout.state ${D}${sysconfdir}/asound.state
+}
+
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
+
+FILES_${PN} += "${datadir}/openmoko"