summaryrefslogtreecommitdiff
path: root/recipes/shr
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-09-17 18:08:03 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2009-09-17 18:38:25 +0000
commita86973493bcff0d87c1beb8302ab7cf8f499b8bc (patch)
tree9f8fa7f437b32380d270bd5110979639e6a556b8 /recipes/shr
parenta318f679fc23e7d7f4fc03d833ff50d3a2061f12 (diff)
alsa-scenarii-shr: Add recipe (from SHR)
Diffstat (limited to 'recipes/shr')
-rw-r--r--recipes/shr/alsa-scenarii-shr_git.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/shr/alsa-scenarii-shr_git.bb b/recipes/shr/alsa-scenarii-shr_git.bb
new file mode 100644
index 0000000000..97b4393459
--- /dev/null
+++ b/recipes/shr/alsa-scenarii-shr_git.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Package for the different scenarios used by Openmoko"
+SECTION = "openmoko/base"
+PV = "1.0+gitr${SRCREV}"
+PR = "r1"
+
+COMPATIBLE_MACHINE = "(om-gta01|om-gta02|om-3d7k)"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/${PN}/${MACHINE_ARCH}"
+
+do_install() {
+ install -d ${D}${datadir}/shr/scenarii/
+ install -m 644 ${S}/*.state ${D}${datadir}/shr/scenarii/
+ install -d ${D}${sysconfdir}/
+ install -m 644 ${S}/stereoout.state ${D}${sysconfdir}/asound.state
+}
+
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
+
+FILES_${PN} += "${datadir}/shr"
+
+CONFFILES_${PN} += "${datadir}/shr/scenarii/*"
+RPROVIDES_${PN} = "openmoko-alsa-scenarios"
+