From nobody Fri Feb 02 13:46:28 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TRH9w53Xkz58nNF; Fri, 2 Feb 2024 13:46:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TRH9w2Lq0z47kZ; Fri, 2 Feb 2024 13:46:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706881588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lIryMT6goypU9RgYQR5WNiIkByGmh9Cq2TPOwjHIRX0=; b=p0vSKEmeg8gnLDHvhWE9YxLLE6Gj9sJVSt4InNOE4hQZ25OeG3SaxOzhAK8a+Kk0EjIeCh buSyu1HPulCFGvS7V3wX2mZ59IF/r0br5soMYeDkWxm+l6HPVG7JVupUDqCl47mMvvKTWg tza/kHK2zlWLWgYrCbUzEPEavWGDzH327o0GM13ch5Wi+rGQKhD9WVKfQZdJMcDXUz+46Q gVQ49hX8GVSoIulTbVLahPr705+QYOiKjkXMiKuQQRbbDg/yiINbq9cxZIL0KQ21aBV1b8 b1wX3XzIgK1fMk0qLoy4P5mDqe68i8LXe+1qjkzQ6+3Fjab6xN2T2TEhNKWaxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706881588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lIryMT6goypU9RgYQR5WNiIkByGmh9Cq2TPOwjHIRX0=; b=xMjG43Tg/xEkh1dQI7nbStr2/TcnYNxKJ2DfihaTrH1V+PfooLZN631Kz89pyh2370zmgn pl0zBhO+Sl7LJ1Jfjg8Ald85SSWf2+LB5s/CBg6P5h99MnLq5lqCYrz+mvWggLgl5zV9tb rqv2DV4bKrSrBPQOhnpWRN0/wbSThKlpwOd9EciRVppdSB8oW207yMilT4XDjHZppVYSmH 7AflfGyo1vCWx+WdoF2A9oPv579coQHEB4lAQo8HrPFFz8UZAX6duJo12frOdGP4pnwTgm QI0m0kmSRcHQg3SC1E3MyOdRVI1s4qfMDZx7b2zPpcIDk0A1+yyKh2a9AI4+3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706881588; a=rsa-sha256; cv=none; b=OBzOcZP8wJI47lzROqKpHSggyp7QZmWva98An3EBHAYOxPzcF6Gc44rb9bbOn9QMW2mN3z yHjhuW30t24t7ToBnkuZH9Y7iNZC3iR16xeKMQ7BLBHOJkz354gfpyHeFM9NxKUPYTSCxw mg1Qhzct19qJMbxU8S9zsfT8EmDUmus74VDwJUAoWGMT6TEjHT25lkL74ad5JBRL6Q8x75 m/ih/Lkrpv/mtENddgyO+XryNatXB0SMZYzkwm1kSKlGiws8vFFdKXYQ5JwWC+lPnwn08I GTFOye8qWT3sK2aGEzqxnpkGDCGsUEyF24IGMYVtxQOO0BgqiMiIRTNF97Urxw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TRH9w19M2zYYS; Fri, 2 Feb 2024 13:46:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 412DkSx1016480; Fri, 2 Feb 2024 13:46:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 412DkSeX016477; Fri, 2 Feb 2024 13:46:28 GMT (envelope-from git) Date: Fri, 2 Feb 2024 13:46:28 GMT Message-Id: <202402021346.412DkSeX016477@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 06dbf1df62a4 - main - audio/alsa-plugins: convert options to subpackages List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 06dbf1df62a4f54da4cadecbbc0be5f33902eb1c Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=06dbf1df62a4f54da4cadecbbc0be5f33902eb1c commit 06dbf1df62a4f54da4cadecbbc0be5f33902eb1c Author: Jan Beich AuthorDate: 2024-01-30 16:18:28 +0000 Commit: Jan Beich CommitDate: 2024-02-02 13:44:56 +0000 audio/alsa-plugins: convert options to subpackages Reduce heavy dependencies for consumers e.g., - chromium -> pipewire -> alsa-plugins -> pulseaudio - wine -> alsa-plugins -> pulseaudio Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D43667 --- 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, 82 insertions(+), 49 deletions(-) diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile index 127343819c20..80cd0031b0cf 100644 --- a/audio/alsa-plugins/Makefile +++ b/audio/alsa-plugins/Makefile @@ -1,6 +1,6 @@ PORTNAME= alsa-plugins PORTVERSION= 1.2.7.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= https://www.alsa-project.org/files/pub/plugins/ @@ -20,22 +20,27 @@ INSTALL_TARGET= install-strip CPPFLAGS+= -I${.CURDIR}/../alsa-lib/files OPTIONS_DEFINE= FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX -OPTIONS_DEFAULT= PULSEAUDIO +OPTIONS_DEFAULT= FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX OPTIONS_SUB= yes -FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg +FFMPEG_SUBPACKAGES= ffmpeg +LIB_DEPENDS.ffmpeg= ${LIB_DEPENDS} libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE= libav -JACK_LIB_DEPENDS= libjack.so:audio/jack +JACK_SUBPACKAGES= jack +LIB_DEPENDS.jack= ${LIB_DEPENDS} libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack -PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_SUBPACKAGES= pulseaudio +LIB_DEPENDS.pulseaudio= ${LIB_DEPENDS} libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio -SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate +SAMPLERATE_SUBPACKAGES= samplerate +LIB_DEPENDS.samplerate= ${LIB_DEPENDS} libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE= samplerate -SPEEX_LIB_DEPENDS= libspeexdsp.so:audio/speexdsp +SPEEX_SUBPACKAGES= speex +LIB_DEPENDS.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 new file mode 100644 index 000000000000..0e7a7c1ebabe --- /dev/null +++ b/audio/alsa-plugins/pkg-descr.ffmpeg @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..945af4fa9321 --- /dev/null +++ b/audio/alsa-plugins/pkg-descr.jack @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..e26d8290a7ee --- /dev/null +++ b/audio/alsa-plugins/pkg-descr.pulseaudio @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..673f7550eab1 --- /dev/null +++ b/audio/alsa-plugins/pkg-descr.samplerate @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..9bc2f7628467 --- /dev/null +++ b/audio/alsa-plugins/pkg-descr.speex @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..343f2a5c551b --- /dev/null +++ b/audio/alsa-plugins/pkg-message @@ -0,0 +1,13 @@ +[ +{ type: upgrade + maximum_version: "1.2.7.1_2" + message: <