meta-digi/meta-digi-dey/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend

19 lines
611 B
Plaintext

FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI_append_ccimx6 = " file://hdmi_hotplug.sh"
# Do not include module-udev-detect so that module-detect is used instead
RDEPENDS_pulseaudio-server_remove = "pulseaudio-module-udev-detect"
do_install_append_ccimx6() {
install -d ${D}${sysconfdir}/udev/scripts
install -m 0755 ${WORKDIR}/hdmi_hotplug.sh ${D}${sysconfdir}/udev/scripts
cat >> ${D}${base_libdir}/udev/rules.d/90-pulseaudio.rules <<-_EOL_
SUBSYSTEM=="platform", KERNEL=="*hdmi_video", ACTION=="change", RUN+="/etc/udev/scripts/hdmi_hotplug.sh"
_EOL_
}
PACKAGE_ARCH = "${MACHINE_ARCH}"