void-packages/srcpkgs/phodav/patches/fix-udev.patch
2019-02-27 09:39:07 -03:00

29 lines
738 B
Diff

diff --git meson.build meson.build
index 1b7fa2f..f002194 100644
--- meson.build
+++ meson.build
@@ -53,7 +53,7 @@ if systemd.found()
)
endif
-udev = dependency('udev', required : get_option('systemd'))
+udev = dependency('udev', required : get_option('udev'))
if udev.found()
install_data(
'data/70-spice-webdavd.rules',
diff --git meson_options.txt meson_options.txt
index d72a44b..724a0d3 100644
--- meson_options.txt
+++ meson_options.txt
@@ -10,6 +10,10 @@ option('systemd',
type : 'feature',
description : 'Install systemd units/configuration')
+option('udev',
+ type : 'feature',
+ description : 'Install udev rules')
+
option('build-id',
type : 'integer',
value : 0,