From 1c5007eb285ee7eeb510fdf4a6c90ed1d4d4f09a Mon Sep 17 00:00:00 2001 From: Arthur Taylor Date: Tue, 23 Apr 2024 23:02:54 -0700 Subject: [PATCH] man: Don't install man page for start-pulseaudio-x11 if X11 is disabled. Fixes https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/444 --- man/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man/meson.build b/man/meson.build index d72b3cf96..635e47e46 100644 --- a/man/meson.build +++ b/man/meson.build @@ -10,8 +10,13 @@ if get_option('daemon') ['pulse-cli-syntax', '5'], ['pulse-daemon.conf', '5'], ['pulseaudio', '1'], - ['start-pulseaudio-x11', '1'], ] + + if x11_dep.found() + manpages += [ + ['start-pulseaudio-x11', '1'], + ] + endif endif if get_option('client')