git: 51317515580f - main - audio/alsa-plugins: unbreak PULSEAUDIO=on config after 44c14328c08e

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 02 Feb 2024 13:46:25 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=51317515580f9a47b3c7bb205bfe748cbf986f3c

commit 51317515580f9a47b3c7bb205bfe748cbf986f3c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-02-02 13:01:28 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-02-02 13:44:33 +0000

    audio/alsa-plugins: unbreak PULSEAUDIO=on config after 44c14328c08e
    
    For some reason, /usr/local/share/alsa/alsa.conf.d is no longer searched.
    
    $ sed -i '' '/pulse/s/# //' /usr/local/etc/asound.conf
    $ daemon -f pulseaudio
    $ aplay foo.wav
    ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM pcm.pulse
    aplay: main:839: audio open error: No such file or directory
    
    PR:             245321
---
 audio/alsa-plugins/Makefile  | 1 +
 audio/alsa-plugins/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile
index d7789d03fcae..3c0692c7ea99 100644
--- a/audio/alsa-plugins/Makefile
+++ b/audio/alsa-plugins/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	alsa-plugins
 PORTVERSION=	1.2.7.1
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://www.alsa-project.org/files/pub/plugins/
 
diff --git a/audio/alsa-plugins/pkg-plist b/audio/alsa-plugins/pkg-plist
index 1c36365b1d38..8fddd4d644cd 100644
--- a/audio/alsa-plugins/pkg-plist
+++ b/audio/alsa-plugins/pkg-plist
@@ -5,7 +5,7 @@
 %%FFMPEG%%etc/alsa/conf.d/60-a52-encoder.conf
 @comment etc/alsa/conf.d/50-arcam-av-ctl.conf
 @comment etc/alsa/conf.d/50-oss.conf
-@comment etc/alsa/conf.d/50-pulseaudio.conf
+%%PULSEAUDIO%%etc/alsa/conf.d/50-pulseaudio.conf
 %%SPEEX%%etc/alsa/conf.d/60-speex.conf
 @comment etc/alsa/conf.d/60-upmix.conf
 @comment etc/alsa/conf.d/60-vdownmix.conf