Created attachment 154274 [details] Update audio/pulseaudio to 6.0 - Update to 6.0 - Remove libsamplerate (deprecated) - Fix shebang (bash) Note: start-pulseaudio-x11 doesn't anymore start PulseAudio. Users must enable explicitly auto-spawning daemon in /usr/local/pulse/client.conf or .config/pulse/client.conf.
Created attachment 154290 [details] Update audio/pulseaudio to 6.0 Add RUN_DEPENDS for bash. It needs to be installed if users launch PulseAudio with pulseaudio script.
Created attachment 154838 [details] Update audio/pulseaudio to 6.0 Update patch, remove $PTHREAD_LIBS like in latest commit.
(In reply to Olivier Duchateau from comment #1) What is the script you noticed that needs bash to run? The only bash scripts I see are the bash shell completion scripts. Which could be installed without bash present.
(In reply to Koop Mast from comment #3) It's exactly this shell script. As I don't use Bash shell, PulseAudio works fine without it.
Created attachment 155041 [details] Patch to update audio/pulseaudio Remove bash as dependency (I left 'shebangfix' macro, in order to fix shebang line in bash completion script).
Created attachment 155328 [details] Olivier's patch with 24 bit samples support The attached patch is a copy of Olivier's one except I added a patch I use locally that makes PulseAudio capable of using 24 bit format (my sound card does not support 16 bit formats and with dev.pcm.0.bitperfect=1, I can't use PulseAudio with it). According to the comments, this is supposed to be unsupported, but as far as I can hear, it's working perfectly (and with a better audio quality in regard to disabling bitperfect and letting OSS perfom the convertion). So maybe the comment is only applicable to Linux systems?
A commit references this bug: Author: kwm Date: Wed Apr 15 21:41:28 UTC 2015 New revision: 384072 URL: https://svnweb.freebsd.org/changeset/ports/384072 Log: Update pulseaudio to 6.0 [1]. * Correct some paths in the default config file (default.pa). [1] * Add run depend freedesktop-sound-theme since pulse tries to run these files. * Add a small patch to allow 24bit audio formats, it not clear why this is disabled by default. [2] * Add pkg-message with instructions how to set input/output channel. * The kde start script was merged into the normal x11 start script. PR: 198567 [1], [2] Submitted by: olivierd@ [1], romain@ [2] Changes: head/audio/pulseaudio/Makefile head/audio/pulseaudio/distinfo head/audio/pulseaudio/files/patch-src_daemon_default.pa.in head/audio/pulseaudio/files/patch-src_modules_oss_oss-util.c head/audio/pulseaudio/files/patch-src_pulse_thread-mainloop.c head/audio/pulseaudio/files/patch-src_pulse_util.c head/audio/pulseaudio/files/patch-src_pulsecore_atomic.h head/audio/pulseaudio/files/pkg-message.in head/audio/pulseaudio/pkg-plist