diff --git a/packages/audio/pulseaudio/config/pulse-daemon.conf.d/README b/packages/audio/pulseaudio/config/pulse-daemon.conf.d/README new file mode 100644 index 0000000000..350761ed58 --- /dev/null +++ b/packages/audio/pulseaudio/config/pulse-daemon.conf.d/README @@ -0,0 +1,5 @@ +Files have to have the .conf file name extension, but otherwise the file names can be +chosen freely. The files under pulse-daemon.conf.d are processed in alphabetical order. +In case the same option is set in multiple files, the last file to set an option +overrides earlier files. The main daemon.conf file is processed first, so +options set in files under pulse-daemon.conf.d override the main file. diff --git a/packages/audio/pulseaudio/package.mk b/packages/audio/pulseaudio/package.mk index e5b256c846..5aadd9e07d 100644 --- a/packages/audio/pulseaudio/package.mk +++ b/packages/audio/pulseaudio/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="pulseaudio" -PKG_VERSION="7.1" +PKG_VERSION="8.0" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" @@ -108,6 +108,11 @@ post_makeinstall_target() { cp $PKG_DIR/config/system.pa $INSTALL/etc/pulse/ cp $PKG_DIR/config/pulseaudio-system.conf $INSTALL/etc/dbus-1/system.d/ + + mkdir -p $INSTALL/usr/config + cp -PR $PKG_DIR/config/pulse-daemon.conf.d $INSTALL/usr/config + + ln -sf /storage/.config/pulse-daemon.conf.d $INSTALL/etc/pulse/daemon.conf.d } post_install() {