diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-01-11 14:41:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-01-11 14:41:23 +0000 |
commit | 49d0f9b5d0e64ec5d3629cb7fff2ce594ef2c50e (patch) | |
tree | 221c98fd23c19fae7eb99ec039c1667790302cdc /meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager | |
parent | b386b239c83d2f2759b15ec407c6f71857fa8eb5 (diff) | |
parent | 9f8e628ff905820a8f81b47dfa6b8f15163f5e0b (diff) |
Merge "Enable audio management with Sound Manager automatically"
Diffstat (limited to 'meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager')
2 files changed, 15 insertions, 0 deletions
diff --git a/meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager/files/soundmanager.pa b/meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager/files/soundmanager.pa new file mode 100644 index 00000000..cb53f339 --- /dev/null +++ b/meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager/files/soundmanager.pa @@ -0,0 +1,3 @@ +.ifexists module-router.so +unload-module module-router +.endif diff --git a/meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager/pulseaudio-config-soundmanager_1.0.bb b/meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager/pulseaudio-config-soundmanager_1.0.bb new file mode 100644 index 00000000..52a3e8e6 --- /dev/null +++ b/meta-audio-soundmanager-framework/recipes-multimedia/pulseaudio-config-soundmanager/pulseaudio-config-soundmanager_1.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "PulseAudio configuration which doesn't load module-router" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI = "file://soundmanager.pa" + +do_install () { + install -d ${D}${sysconfdir}/pulse/default.d + install -m 0644 ${WORKDIR}/soundmanager.pa ${D}${sysconfdir}/pulse/default.d/ +} + +PROVIDES_${PN} += "virtual/pulseaudio-config" |