summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-04-23 13:46:36 +0000
committerJohn Lee <john_lee@openmoko.org>2008-04-23 13:46:36 +0000
commit2cb39993b3aae76bf1dfec34b28fe40f76276b10 (patch)
treeeabda03ab1c8711bcb78253a10cc54e3a16fa606 /packages
parent290ea7e6acb3703cf8ebcd47d761d960db822557 (diff)
openmoko2/openmoko-alsa-scenarios.bb : pull alsa audio scenarios directly
from SVN so we are always in sync. by julian_chu@openmoko.com
Diffstat (limited to 'packages')
-rw-r--r--packages/alsa/alsa-state.bb3
-rw-r--r--packages/openmoko2/openmoko-alsa-scenarios.bb21
2 files changed, 23 insertions, 1 deletions
diff --git a/packages/alsa/alsa-state.bb b/packages/alsa/alsa-state.bb
index 1d31bd765e..7d57364292 100644
--- a/packages/alsa/alsa-state.bb
+++ b/packages/alsa/alsa-state.bb
@@ -7,8 +7,9 @@
DESCRIPTION = "Default ALSA configuration"
LICENSE = "GPL"
RRECOMMENDS_alsa-state = "alsa-states"
+RRECOMMENDS_${PN}_openmoko = "openmoko-alsa-scenarios"
PV = "0.1.0"
-PR = "r11"
+PR = "r12"
SRC_URI = " \
file://asoundrc \
diff --git a/packages/openmoko2/openmoko-alsa-scenarios.bb b/packages/openmoko2/openmoko-alsa-scenarios.bb
new file mode 100644
index 0000000000..7aa76a8443
--- /dev/null
+++ b/packages/openmoko2/openmoko-alsa-scenarios.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Package for the different scenarios used by OpenMoko"
+SECTION = "openmoko/base"
+PV = "1.0+svnr${SRCREV}"
+PR = "r1"
+
+COMPATIBLE_MACHINE = "(om-gta01|om-gta02)"
+
+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"