palmpre-audio-scripts: add initial version
authorSimon Busch <morphis@gravedo.de>
Wed, 29 Sep 2010 05:04:44 +0000 (07:04 +0200)
committerSimon Busch <morphis@gravedo.de>
Wed, 20 Oct 2010 07:49:29 +0000 (09:49 +0200)
For the palmpre machine some special audio scripts are needed to do audio routing, as it
is not possible to do audio routing with common tools used on other machines.

Signed-off-by: Simon Busch <morphis@gravedo.de>
recipes/palmpre/palmpre-audio-scripts_1.0.bb [new file with mode: 0644]

diff --git a/recipes/palmpre/palmpre-audio-scripts_1.0.bb b/recipes/palmpre/palmpre-audio-scripts_1.0.bb
new file mode 100644 (file)
index 0000000..48332e7
--- /dev/null
@@ -0,0 +1,23 @@
+DESCRIPTION = "Audio scripts necessary for audio routing on the palmpre machine"
+HOMEPAGE = "http://www.palm.com/"
+AUTHOR = "Palm Inc."
+SECTION = "console/utils"
+LICENSE = "Palm"
+
+PR = "r0"
+SRC_URI = "http://downloads.freesmartphone.org/palmpre-audio-scripts_${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "3e263163203ce66ae5f3a75776971d73"
+SRC_URI[sha256sum] = "044bbd9879f6e46b21c675421501f8920a4cab3ed4623259e2a52abecccd114e"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+do_install() {
+       install -d ${D}${sysconfdir}/audio/scripts
+       
+       for script in `ls ${WORKDIR}/*.txt`
+       do
+               install -m 0644 "${script}" "${D}${sysconfdir}/audio/scripts"
+       done
+}
+