Commit b1c3962c authored by Florent Revest's avatar Florent Revest

pulseaudio: include the mainvolume plugin from pulseaudio-modules-nemo

parent 1882c36b
RDEPENDS_pulseaudio-server_append = " pulseaudio-modules-nemo pulseaudio-module-dbus-protocol pulseaudio-module-match "
FILESEXTRAPATHS_prepend := "${THISDIR}/pulseaudio:" FILESEXTRAPATHS_prepend := "${THISDIR}/pulseaudio:"
SRC_URI += "file://1002-build-Install-pulsecore-headers.patch \ SRC_URI += "file://1002-build-Install-pulsecore-headers.patch \
file://mainvolume-listening-time-notifier.conf \
file://nemo-pulseaudio-parameters \
file://x-maemo-stream-restore.table \
file://x-maemo-restore.table \
file://x-maemo-match.table \
file://x-maemo-route.table \
file://stream-restore.table \
file://client.conf \
file://default.pa" file://default.pa"
do_install_append() { do_install_append() {
install -d ${D}/home/ceres/.config/systemd/user/default.target.wants/
if [ ! -f ${D}/home/ceres/.config/systemd/user/default.target.wants/pulseaudio.service ]; then
ln -s /usr/lib/systemd/user/pulseaudio.service ${D}/home/ceres/.config/systemd/user/default.target.wants/pulseaudio.service
fi
mkdir ${D}/etc/pulse/client.conf.d/
cp ${WORKDIR}/default.pa ${D}/etc/pulse/default.pa cp ${WORKDIR}/default.pa ${D}/etc/pulse/default.pa
cp ${WORKDIR}/client.conf ${D}/etc/pulse/client.conf
cp ${WORKDIR}/stream-restore.table ${D}/etc/pulse/stream-restore.table
cp ${WORKDIR}/x-maemo-match.table ${D}/etc/pulse/x-maemo-match.table
cp ${WORKDIR}/x-maemo-route.table ${D}/etc/pulse/x-maemo-route.table
cp ${WORKDIR}/x-maemo-restore.table ${D}/etc/pulse/x-maemo-restore.table
cp ${WORKDIR}/x-maemo-stream-restore.table ${D}/etc/pulse/x-maemo-stream-restore.table
cp ${WORKDIR}/mainvolume-listening-time-notifier.conf ${D}/etc/pulse/mainvolume-listening-time-notifier.conf
install -d ${D}/var/lib/
cp -r ${WORKDIR}/nemo-pulseaudio-parameters ${D}/var/lib/nemo-pulseaudio-parameters
} }
FILES_${PN}-server += "/home/ceres/.config/systemd/user/default.target.wants/ /var/lib/nemo-pulseaudio-parameters"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment