meson: Install ALSA udevrules
authorArnaud Rebillout <arnaud.rebillout@collabora.com>
Mon, 26 Nov 2018 08:12:29 +0000 (15:12 +0700)
committerArun Raghavan <arun@arunraghavan.net>
Sat, 8 Jun 2019 09:57:00 +0000 (11:57 +0200)
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
src/modules/alsa/meson.build

index 6bacdfe32019d72a26b90a9f9cf4b367cd96308d..345d679d9ef26e17e40192785750cb761c179c75 100644 (file)
@@ -36,4 +36,14 @@ libalsa_util = shared_library('libalsa_util',
   install_dir : modlibexecdir,
 )
 
+alsa_udevrules = [
+  '90-pulseaudio.rules',
+]
+
+if udev_dep.found()
+  install_data(alsa_udevrules,
+    install_dir : udevrulesdir,
+  )
+endif
+
 subdir('mixer')