summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-09-14 09:21:52 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-09-14 09:21:52 +0300
commit289fbd4f83543451323d6ce275fad1b5a85b61f1 (patch)
tree02310521c3426cad6b9c9f7321a26509d47044c4 /meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
Initial commit for ADAS boards support in 2.23.0
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend')
-rw-r--r--meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
new file mode 100644
index 0000000..705c781
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
@@ -0,0 +1,39 @@
+FILESEXTRAPATHS_append := "${THISDIR}/files:"
+
+PR="r2"
+
+SRC_URI_append_rcar-gen3 = " \
+ file://pulseaudio.init \
+ file://rsnddai0ak4613h.conf \
+ file://hifi \
+ file://system.pa \
+ file://daemon.conf \
+ file://pulseaudio-bluetooth.conf \
+"
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "pulseaudio"
+INITSCRIPT_PARAMS = "defaults 30"
+
+do_install_append_rcar-gen3() {
+ install -d ${D}/etc/init.d
+ install -d ${D}/etc/pulse
+ install -d ${D}/usr/share/alsa/ucm/rsnddai0ak4613h/
+
+ install -m 0755 ${WORKDIR}/pulseaudio.init ${D}/etc/init.d/pulseaudio
+
+ install -m 0644 ${WORKDIR}/system.pa ${D}/etc/pulse/system.pa
+ install -m 0644 ${WORKDIR}/daemon.conf ${D}/etc/pulse/daemon.conf
+
+ install -m 0644 ${WORKDIR}/rsnddai0ak4613h.conf ${D}${datadir}/alsa/ucm/rsnddai0ak4613h/rsnddai0ak4613h.conf
+ install -m 0644 ${WORKDIR}/hifi ${D}${datadir}/alsa/ucm/rsnddai0ak4613h/hifi
+
+ install -d ${D}/${sysconfdir}/dbus-1/system.d
+ install -m 644 ${WORKDIR}/pulseaudio-bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
+}
+
+FILES_${PN}-server += " \
+ ${datadir}/alsa/ucm \
+ ${datadir}/dbus-1/ \
+"