diff options
author | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2015-05-22 21:51:55 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-24 07:19:22 +0100 |
commit | bd9177c3fd72f292338b4f9072b13ddcf7b18790 (patch) | |
tree | 368bbc5d6354ef2f5833af1bf250d5bfe50971e6 /meta/recipes-sato | |
parent | 862ce8aec8c2a5554f53ac6efd3bbb990a919da0 (diff) | |
download | poky-bd9177c3fd72f292338b4f9072b13ddcf7b18790.tar.gz |
pulseaudio-client-conf-sato: initial recipe
This recipe is related to enabling PulseAudio in Sato images. We will
rely on PulseAudio's autospawn feature to automatically start the
daemon. The graphical session in Sato runs under root, however, and
PulseAudio disables autospawning for root by default. We provide a
client.conf fragment in Sato to change that default setting.
(From OE-Core rev: e91b5add8f2b9d89f6c13d21e5acfc9564792306)
Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato/50-sato.conf | 7 | ||||
-rw-r--r-- | meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato_1.bb | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato/50-sato.conf b/meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato/50-sato.conf new file mode 100644 index 0000000000..97492e7a50 --- /dev/null +++ b/meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato/50-sato.conf | |||
@@ -0,0 +1,7 @@ | |||
1 | # We rely on PulseAudio's autospawn feature to automatically start the daemon | ||
2 | # in Sato. The graphical session in Sato runs under root, however, and | ||
3 | # PulseAudio disables autospawning for root by default. In a normal setup it's | ||
4 | # not desirable to autospawn for root, because it can easily interfere with | ||
5 | # other users' PulseAudio instances, but in Sato there are no other users, so | ||
6 | # it's OK to enable this in Sato. | ||
7 | allow-autospawn-for-root = yes | ||
diff --git a/meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato_1.bb b/meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato_1.bb new file mode 100644 index 0000000000..e27339fb46 --- /dev/null +++ b/meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato_1.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | SUMMARY = "/etc/pulse/client.conf tailored for Sato" | ||
2 | SECTION = "multimedia" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | SRC_URI = "file://50-sato.conf" | ||
7 | S = "${WORKDIR}" | ||
8 | |||
9 | inherit allarch | ||
10 | |||
11 | do_install() { | ||
12 | install -d ${D}${sysconfdir}/pulse/client.conf.d | ||
13 | install -m 0644 ${S}/50-sato.conf ${D}${sysconfdir}/pulse/client.conf.d/50-sato.conf | ||
14 | } | ||
15 | |||
16 | FILES_${PN} = "${sysconfdir}/pulse/client.conf.d/50-sato.conf" | ||
17 | CONFFILES_${PN} = "${sysconfdir}/pulse/client.conf.d/50-sato.conf" | ||