summaryrefslogtreecommitdiffstats
path: root/meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb')
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb b/meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb
new file mode 100644
index 0000000000..33cd5648d4
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb
@@ -0,0 +1,34 @@
1DESCRIPTION = "Openmoko Sound System"
2SECTION = "openmoko/base"
3RDEPENDS = "\
4 pulseaudio-server \
5 pulseaudio-module-alsa-sink \
6 pulseaudio-module-alsa-source \
7 pulseaudio-module-cli \
8 pulseaudio-module-esound-protocol-unix \
9 pulseaudio-module-simple-protocol-tcp \
10 pulseaudio-module-native-protocol-unix \
11 pulseaudio-module-cli-protocol-unix \
12 gst-plugin-pulse \
13"
14RREPLACES = "openmoko-sound-system"
15RPROVIDES = "openmoko-sound-system"
16PR = "r5"
17
18inherit openmoko-base update-rc.d
19
20INITSCRIPT_NAME = "pulseaudio"
21INITSCRIPT_PARAMS = "defaults 35"
22
23SRC_URI = "file://pulseaudio \
24 file://session"
25S = "${WORKDIR}"
26
27do_install() {
28 install -d ${D}/${sysconfdir}/init.d
29 install -m 0755 ${WORKDIR}/pulseaudio ${D}/${sysconfdir}/init.d/
30 install -d ${D}/${sysconfdir}/pulse
31 install -m 0755 ${WORKDIR}/session ${D}/${sysconfdir}/pulse/session
32}
33
34PACKAGE_ARCH = "all"