git: 7dd904d9178a - main - audio/alsa-plugins: temporarily drop subpackages

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 14:28:02 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7dd904d9178aef2ac7369c77551e6c7774997564

commit 7dd904d9178aef2ac7369c77551e6c7774997564
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-02-20 20:21:14 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-02-21 14:27:19 +0000

    audio/alsa-plugins: temporarily drop subpackages
    
    https://github.com/freebsd/poudriere/issues/1113
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276845
    
    Requested by:   makc (kde), bdrewery (pkgmgr)
    Suggested by:   pizzamig (portmgr)
    
    This reverts commit 06dbf1df62a4f54da4cadecbbc0be5f33902eb1c.
---
 audio/alsa-plugins/Makefile             | 19 +++-----
 audio/alsa-plugins/pkg-descr.ffmpeg     |  3 --
 audio/alsa-plugins/pkg-descr.jack       |  3 --
 audio/alsa-plugins/pkg-descr.pulseaudio |  3 --
 audio/alsa-plugins/pkg-descr.samplerate |  3 --
 audio/alsa-plugins/pkg-descr.speex      |  3 --
 audio/alsa-plugins/pkg-message          | 13 -----
 audio/alsa-plugins/pkg-plist            | 84 ++++++++++++++++-----------------
 8 files changed, 49 insertions(+), 82 deletions(-)

diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile
index 80cd0031b0cf..127343819c20 100644
--- a/audio/alsa-plugins/Makefile
+++ b/audio/alsa-plugins/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	alsa-plugins
 PORTVERSION=	1.2.7.1
-PORTREVISION=	3
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	https://www.alsa-project.org/files/pub/plugins/
 
@@ -20,27 +20,22 @@ INSTALL_TARGET=	install-strip
 CPPFLAGS+=	-I${.CURDIR}/../alsa-lib/files
 
 OPTIONS_DEFINE=		FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX
-OPTIONS_DEFAULT=	FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX
+OPTIONS_DEFAULT=	PULSEAUDIO
 OPTIONS_SUB=		yes
 
-FFMPEG_SUBPACKAGES=		ffmpeg
-LIB_DEPENDS.ffmpeg=		${LIB_DEPENDS} libavcodec.so:multimedia/ffmpeg
+FFMPEG_LIB_DEPENDS=		libavcodec.so:multimedia/ffmpeg
 FFMPEG_CONFIGURE_ENABLE=	libav
 
-JACK_SUBPACKAGES=	jack
-LIB_DEPENDS.jack=	${LIB_DEPENDS} libjack.so:audio/jack
+JACK_LIB_DEPENDS=	libjack.so:audio/jack
 JACK_CONFIGURE_ENABLE=	jack
 
-PULSEAUDIO_SUBPACKAGES=		pulseaudio
-LIB_DEPENDS.pulseaudio=		${LIB_DEPENDS} libpulse.so:audio/pulseaudio
+PULSEAUDIO_LIB_DEPENDS=		libpulse.so:audio/pulseaudio
 PULSEAUDIO_CONFIGURE_ENABLE=	pulseaudio
 
-SAMPLERATE_SUBPACKAGES=		samplerate
-LIB_DEPENDS.samplerate=		${LIB_DEPENDS} libsamplerate.so:audio/libsamplerate
+SAMPLERATE_LIB_DEPENDS=		libsamplerate.so:audio/libsamplerate
 SAMPLERATE_CONFIGURE_ENABLE=	samplerate
 
-SPEEX_SUBPACKAGES=	speex
-LIB_DEPENDS.speex=	${LIB_DEPENDS} libspeexdsp.so:audio/speexdsp
+SPEEX_LIB_DEPENDS=	libspeexdsp.so:audio/speexdsp
 SPEEX_CONFIGURE_ON=	--with-speex=lib
 SPEEX_CONFIGURE_OFF=	--without-speex
 
diff --git a/audio/alsa-plugins/pkg-descr.ffmpeg b/audio/alsa-plugins/pkg-descr.ffmpeg
deleted file mode 100644
index 0e7a7c1ebabe..000000000000
--- a/audio/alsa-plugins/pkg-descr.ffmpeg
+++ /dev/null
@@ -1,3 +0,0 @@
-The Advanced Linux Sound Architecture (ALSA) plugins
-
-This package provides FFmpeg-based plugins.
diff --git a/audio/alsa-plugins/pkg-descr.jack b/audio/alsa-plugins/pkg-descr.jack
deleted file mode 100644
index 945af4fa9321..000000000000
--- a/audio/alsa-plugins/pkg-descr.jack
+++ /dev/null
@@ -1,3 +0,0 @@
-The Advanced Linux Sound Architecture (ALSA) plugins
-
-This package provides jack plugin.
diff --git a/audio/alsa-plugins/pkg-descr.pulseaudio b/audio/alsa-plugins/pkg-descr.pulseaudio
deleted file mode 100644
index e26d8290a7ee..000000000000
--- a/audio/alsa-plugins/pkg-descr.pulseaudio
+++ /dev/null
@@ -1,3 +0,0 @@
-The Advanced Linux Sound Architecture (ALSA) plugins
-
-This package provides pulseaudio plugin.
diff --git a/audio/alsa-plugins/pkg-descr.samplerate b/audio/alsa-plugins/pkg-descr.samplerate
deleted file mode 100644
index 673f7550eab1..000000000000
--- a/audio/alsa-plugins/pkg-descr.samplerate
+++ /dev/null
@@ -1,3 +0,0 @@
-The Advanced Linux Sound Architecture (ALSA) plugins
-
-This package provides samplerate plugin.
diff --git a/audio/alsa-plugins/pkg-descr.speex b/audio/alsa-plugins/pkg-descr.speex
deleted file mode 100644
index 9bc2f7628467..000000000000
--- a/audio/alsa-plugins/pkg-descr.speex
+++ /dev/null
@@ -1,3 +0,0 @@
-The Advanced Linux Sound Architecture (ALSA) plugins
-
-This package provides speex plugin.
diff --git a/audio/alsa-plugins/pkg-message b/audio/alsa-plugins/pkg-message
deleted file mode 100644
index 343f2a5c551b..000000000000
--- a/audio/alsa-plugins/pkg-message
+++ /dev/null
@@ -1,13 +0,0 @@
-[
-{ type: upgrade
-  maximum_version: "1.2.7.1_2"
-  message: <<EOD
-Plugins with extra dependencies moved into subpackages:
-- alsa-plugins-ffmpeg
-- alsa-plugins-jack
-- alsa-plugins-pulseaudio
-- alsa-plugins-samplerate
-- alsa-plugins-speex
-EOD
-}
-]
diff --git a/audio/alsa-plugins/pkg-plist b/audio/alsa-plugins/pkg-plist
index ae0942cbfd88..afe367876651 100644
--- a/audio/alsa-plugins/pkg-plist
+++ b/audio/alsa-plugins/pkg-plist
@@ -1,65 +1,65 @@
-%%FFMPEG%%@@ffmpeg@@etc/alsa/conf.d/10-rate-lav.conf
-%%SAMPLERATE%%@@samplerate@@etc/alsa/conf.d/10-samplerate.conf
-%%SPEEX%%@@speex@@etc/alsa/conf.d/10-speexrate.conf
-%%JACK%%@@jack@@etc/alsa/conf.d/50-jack.conf
-%%FFMPEG%%@@ffmpeg@@etc/alsa/conf.d/60-a52-encoder.conf
+%%FFMPEG%%etc/alsa/conf.d/10-rate-lav.conf
+%%SAMPLERATE%%etc/alsa/conf.d/10-samplerate.conf
+%%SPEEX%%etc/alsa/conf.d/10-speexrate.conf
+%%JACK%%etc/alsa/conf.d/50-jack.conf
+%%FFMPEG%%etc/alsa/conf.d/60-a52-encoder.conf
 @comment etc/alsa/conf.d/50-arcam-av-ctl.conf
 etc/alsa/conf.d/50-oss.conf
-%%PULSEAUDIO%%@@pulseaudio@@etc/alsa/conf.d/50-pulseaudio.conf
-%%SPEEX%%@@speex@@etc/alsa/conf.d/60-speex.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
 @comment etc/alsa/conf.d/98-usb-stream.conf
 @comment etc/alsa/conf.d/99-pulseaudio-default.conf.example
-%%PULSEAUDIO%%@@pulseaudio@@lib/alsa-lib/libasound_module_conf_pulse.la
-%%PULSEAUDIO%%@@pulseaudio@@lib/alsa-lib/libasound_module_conf_pulse.so
+%%PULSEAUDIO%%lib/alsa-lib/libasound_module_conf_pulse.la
+%%PULSEAUDIO%%lib/alsa-lib/libasound_module_conf_pulse.so
 lib/alsa-lib/libasound_module_ctl_arcam_av.la
 lib/alsa-lib/libasound_module_ctl_arcam_av.so
 lib/alsa-lib/libasound_module_ctl_oss.la
 lib/alsa-lib/libasound_module_ctl_oss.so
-%%PULSEAUDIO%%@@pulseaudio@@lib/alsa-lib/libasound_module_ctl_pulse.la
-%%PULSEAUDIO%%@@pulseaudio@@lib/alsa-lib/libasound_module_ctl_pulse.so
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_pcm_a52.la
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_pcm_a52.so
-%%JACK%%@@jack@@lib/alsa-lib/libasound_module_pcm_jack.la
-%%JACK%%@@jack@@lib/alsa-lib/libasound_module_pcm_jack.so
+%%PULSEAUDIO%%lib/alsa-lib/libasound_module_ctl_pulse.la
+%%PULSEAUDIO%%lib/alsa-lib/libasound_module_ctl_pulse.so
+%%FFMPEG%%lib/alsa-lib/libasound_module_pcm_a52.la
+%%FFMPEG%%lib/alsa-lib/libasound_module_pcm_a52.so
+%%JACK%%lib/alsa-lib/libasound_module_pcm_jack.la
+%%JACK%%lib/alsa-lib/libasound_module_pcm_jack.so
 lib/alsa-lib/libasound_module_pcm_oss.la
 lib/alsa-lib/libasound_module_pcm_oss.so
-%%PULSEAUDIO%%@@pulseaudio@@lib/alsa-lib/libasound_module_pcm_pulse.la
-%%PULSEAUDIO%%@@pulseaudio@@lib/alsa-lib/libasound_module_pcm_pulse.so
-%%SPEEX%%@@speex@@lib/alsa-lib/libasound_module_pcm_speex.la
-%%SPEEX%%@@speex@@lib/alsa-lib/libasound_module_pcm_speex.so
+%%PULSEAUDIO%%lib/alsa-lib/libasound_module_pcm_pulse.la
+%%PULSEAUDIO%%lib/alsa-lib/libasound_module_pcm_pulse.so
+%%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.la
+%%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.so
 lib/alsa-lib/libasound_module_pcm_upmix.la
 lib/alsa-lib/libasound_module_pcm_upmix.so
 lib/alsa-lib/libasound_module_pcm_usb_stream.la
 lib/alsa-lib/libasound_module_pcm_usb_stream.so
 lib/alsa-lib/libasound_module_pcm_vdownmix.la
 lib/alsa-lib/libasound_module_pcm_vdownmix.so
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_rate_lavrate.la
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_rate_lavrate.so
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_rate_lavrate_fast.so
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_rate_lavrate_faster.so
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_rate_lavrate_high.so
-%%FFMPEG%%@@ffmpeg@@lib/alsa-lib/libasound_module_rate_lavrate_higher.so
-%%SAMPLERATE%%@@samplerate@@lib/alsa-lib/libasound_module_rate_samplerate.la
-%%SAMPLERATE%%@@samplerate@@lib/alsa-lib/libasound_module_rate_samplerate.so
-%%SAMPLERATE%%@@samplerate@@lib/alsa-lib/libasound_module_rate_samplerate_best.so
-%%SAMPLERATE%%@@samplerate@@lib/alsa-lib/libasound_module_rate_samplerate_linear.so
-%%SAMPLERATE%%@@samplerate@@lib/alsa-lib/libasound_module_rate_samplerate_medium.so
-%%SAMPLERATE%%@@samplerate@@lib/alsa-lib/libasound_module_rate_samplerate_order.so
-%%SPEEX%%@@speex@@lib/alsa-lib/libasound_module_rate_speexrate.la
-%%SPEEX%%@@speex@@lib/alsa-lib/libasound_module_rate_speexrate.so
-%%SPEEX%%@@speex@@lib/alsa-lib/libasound_module_rate_speexrate_best.so
-%%SPEEX%%@@speex@@lib/alsa-lib/libasound_module_rate_speexrate_medium.so
-%%FFMPEG%%@@ffmpeg@@share/alsa/alsa.conf.d/10-rate-lav.conf
-%%SAMPLERATE%%@@samplerate@@share/alsa/alsa.conf.d/10-samplerate.conf
-%%SPEEX%%@@speex@@share/alsa/alsa.conf.d/10-speexrate.conf
+%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate.la
+%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate.so
+%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_fast.so
+%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_faster.so
+%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_high.so
+%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_higher.so
+%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.la
+%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.so
+%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_best.so
+%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_linear.so
+%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_medium.so
+%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_order.so
+%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate.la
+%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate.so
+%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_best.so
+%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_medium.so
+%%FFMPEG%%share/alsa/alsa.conf.d/10-rate-lav.conf
+%%SAMPLERATE%%share/alsa/alsa.conf.d/10-samplerate.conf
+%%SPEEX%%share/alsa/alsa.conf.d/10-speexrate.conf
 @comment share/alsa/alsa.conf.d/50-arcam-av-ctl.conf
-%%JACK%%@@jack@@share/alsa/alsa.conf.d/50-jack.conf
+%%JACK%%share/alsa/alsa.conf.d/50-jack.conf
 share/alsa/alsa.conf.d/50-oss.conf
-%%PULSEAUDIO%%@@pulseaudio@@share/alsa/alsa.conf.d/50-pulseaudio.conf
-%%FFMPEG%%@@ffmpeg@@share/alsa/alsa.conf.d/60-a52-encoder.conf
-%%SPEEX%%@@speex@@share/alsa/alsa.conf.d/60-speex.conf
+%%PULSEAUDIO%%share/alsa/alsa.conf.d/50-pulseaudio.conf
+%%FFMPEG%%share/alsa/alsa.conf.d/60-a52-encoder.conf
+%%SPEEX%%share/alsa/alsa.conf.d/60-speex.conf
 @comment share/alsa/alsa.conf.d/60-upmix.conf
 @comment share/alsa/alsa.conf.d/60-vdownmix.conf
 @comment share/alsa/alsa.conf.d/98-usb-stream.conf