Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2021 12:35:28 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6e956b306e96 - main - multimedia/pipewire: Enable MEDIASESSION by default.
Message-ID:  <202107271235.16RCZSV3034984@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e956b306e96701704da249305ab3dbfc6b823ed

commit 6e956b306e96701704da249305ab3dbfc6b823ed
Author:     Evgeniy Khramtsov <evgeniy@khramtsov.org>
AuthorDate: 2021-07-27 12:34:11 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2021-07-27 12:34:54 +0000

    multimedia/pipewire: Enable MEDIASESSION by default.
    
    PR:             255348
---
 multimedia/pipewire/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile
index b7c46792301c..120b4e4649c0 100644
--- a/multimedia/pipewire/Makefile
+++ b/multimedia/pipewire/Makefile
@@ -29,7 +29,8 @@ USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	PipeWire
 
-OPTIONS_DEFINE=	GSTREAMER MEDIASESSION PULSEAUDIO VULKAN
+OPTIONS_DEFINE=		GSTREAMER MEDIASESSION PULSEAUDIO VULKAN
+OPTIONS_DEFAULT=	MEDIASESSION
 OPTIONS_SUB=	yes
 
 GSTREAMER_MESON_ENABLED=gstreamer
@@ -56,4 +57,12 @@ MESON_ARGS=	-D bluez5=disabled \
 		-D sdl2=disabled \
 		-D udevrulesdir="${LOCALBASE}/lib/udev/rules.d"
 
+post-patch-MEDIASESSION-on:
+# alsa-seq is not supported & causes SIGSEGV with media session
+	@${REINPLACE_CMD} 's| alsa-seq|\ #alsa-seq|g' \
+		${WRKSRC}/src/daemon/media-session.d/media-session.conf
+# start media session by default
+	@${REINPLACE_CMD} '/manager_args/ s/@comment@//g' \
+		${WRKSRC}/src/daemon/pipewire.conf.in
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107271235.16RCZSV3034984>