git: 1821334ec43b - main - multimedia/pipewire: unbreak with --auto-features=enabled

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 20 Mar 2023 19:26:23 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1821334ec43b006c335e84a000526af85ec6e8fe

commit 1821334ec43b006c335e84a000526af85ec6e8fe
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-20 19:09:23 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-20 19:25:44 +0000

    multimedia/pipewire: unbreak with --auto-features=enabled
    
    meson.build:277:0: ERROR: Dependency "avahi-client" not found, tried pkgconfig
    meson.build:285:0: ERROR: Dependency "xfixes" not found, tried pkgconfig and cmake
    meson.build:288:0: ERROR: Dependency "libcanberra" not found, tried pkgconfig and cmake
    meson.build:380:0: ERROR: Dependency "lilv-0" not found, tried pkgconfig and cmake
    spa/meson.build:81:2: ERROR: Dependency "libcamera" not found, tried pkgconfig and cmake
    spa/plugins/meson.build:4:120: ERROR: Feature avb cannot be enabled: AVB support is only available on Linux
    subprojects/media-session/meson.build:68:0: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
    src/modules/meson.build:497:0: ERROR: C header 'roc/config.h' not found
    
    PR:             270361
---
 multimedia/pipewire/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile
index f53b388ca062..b9fb279f5126 100644
--- a/multimedia/pipewire/Makefile
+++ b/multimedia/pipewire/Makefile
@@ -46,7 +46,7 @@ MEDIASESSION_MESON_ENABLED=	alsa pipewire-alsa
 MEDIASESSION_MESON_ON=		-Dsession-managers=media-session
 MEDIASESSION_MESON_OFF=		-Dsession-managers=''
 
-PULSEAUDIO_MESON_ENABLED=	libpulse
+PULSEAUDIO_MESON_ENABLED=	avahi libpulse
 PULSEAUDIO_LIB_DEPENDS=		libpulse.so:audio/pulseaudio \
 				libavahi-common.so:net/avahi-app \
 				libavahi-client.so:net/avahi-app
@@ -65,9 +65,16 @@ MEDIA_SESSION_VERSION=	0.4.1
 MESON_ARGS=	-D pw-cat=enabled \
 		-D v4l2=enabled \
 		-D raop=enabled \
+		-D avb=disabled \
 		-D bluez5=disabled \
 		-D jack=disabled \
+		-D libcamera=disabled \
+		-D libcanberra=disabled \
+		-D lv2=disabled \
+		-D media-session:systemd=disabled \
+		-D roc=disabled \
 		-D systemd=disabled \
+		-D x11-xfixes=disabled \
 		-D pipewire-v4l2=disabled \
 		-D udevrulesdir="${LOCALBASE}/lib/udev/rules.d"