mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
udev: Make Udev optional
In order to further simplify "unprivileged" builds, add "udev" boolean, which make installing Udev rules optional. I.e. without requiring any ugly hacks (mktemp -d), an privileged build capable of running PulseAudio and JACK applications, can be configured trivially: meson --prefix=~/.local build meson configure build -Dsystemd-user-unit-dir=$HOME/.config/systemd/user meson configure build -Dpipewire-alsa=false meson configure build -Dudev=false Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
This commit is contained in:
parent
86576f1e63
commit
7aabd50d1e
2 changed files with 5 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ executable('test-timer',
|
|||
install : false,
|
||||
)
|
||||
|
||||
if libudev_dep.found()
|
||||
if get_option('udev') and libudev_dep.found()
|
||||
install_data(alsa_udevrules,
|
||||
install_dir : udevrulesdir,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue