alsa-scenarii-shr: Add recipe (from SHR)
authorStefan Schmidt <stefan@datenfreihafen.org>
Thu, 17 Sep 2009 18:08:03 +0000 (18:08 +0000)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 17 Sep 2009 18:38:25 +0000 (18:38 +0000)
recipes/shr/alsa-scenarii-shr_git.bb [new file with mode: 0644]

diff --git a/recipes/shr/alsa-scenarii-shr_git.bb b/recipes/shr/alsa-scenarii-shr_git.bb
new file mode 100644 (file)
index 0000000..97b4393
--- /dev/null
@@ -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"
+