diff options
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.bb | 34 |
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 @@ | |||
1 | DESCRIPTION = "Openmoko Sound System" | ||
2 | SECTION = "openmoko/base" | ||
3 | RDEPENDS = "\ | ||
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 | " | ||
14 | RREPLACES = "openmoko-sound-system" | ||
15 | RPROVIDES = "openmoko-sound-system" | ||
16 | PR = "r5" | ||
17 | |||
18 | inherit openmoko-base update-rc.d | ||
19 | |||
20 | INITSCRIPT_NAME = "pulseaudio" | ||
21 | INITSCRIPT_PARAMS = "defaults 35" | ||
22 | |||
23 | SRC_URI = "file://pulseaudio \ | ||
24 | file://session" | ||
25 | S = "${WORKDIR}" | ||
26 | |||
27 | do_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 | |||
34 | PACKAGE_ARCH = "all" | ||