Ladybird can work without pulseaudio, so that dependency should be behind a PULSEAUDIO option. As upstream does autodetection at least in [0] there is currently no way to disable pulseaudio in case it is installed for some reason. For clean build environments with PULSEAUDIO option disabled for all ports just removing the dependency would work fine, but for example qt6-multimedia depends on pulseaudio with default options, so mixed settings of a PULSAUDIO option wouldn't work without support in ladybirds build system. [0]: https://github.com/SerenityOS/serenity/blob/343d6b001fa94d9707d443f00d295fdfcc4f1511/Meta/Lagom/CMakeLists.txt#L136
I have a patch prepared for this purpose which I plan to commit this weekend.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2216387ee48a80e4aaffe994baf9e5dad8f3227 commit c2216387ee48a80e4aaffe994baf9e5dad8f3227 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2024-01-09 19:33:53 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-01-16 16:18:22 +0000 www/ladybird: update to g20240109 - add PULSEAUDIO option to disable use of Pulseaudio - remove upstreamed distribution patches PR: 276222 www/ladybird/Makefile | 10 ++++++--- www/ladybird/distinfo | 26 +++++++++++----------- www/ladybird/files/patch-AK_Format.cpp (gone) | 20 ----------------- ...land_Libraries_LibCore_StandardPaths.cpp (gone) | 21 ----------------- 4 files changed, 20 insertions(+), 57 deletions(-)
Thank you for the request.