summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:03:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:03:18 +0000
commit2dd5bc6a074165ddfbd57c4bd52c2d2dac8f47a1 (patch)
tree465b29cb405d3af0b0ad50c78e1dccc636594fec /src/modules/alsa/meson.build
parentInitial commit. (diff)
downloadpulseaudio-2dd5bc6a074165ddfbd57c4bd52c2d2dac8f47a1.tar.xz
pulseaudio-2dd5bc6a074165ddfbd57c4bd52c2d2dac8f47a1.zip
Adding upstream version 14.2.upstream/14.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/modules/alsa/meson.build')
-rw-r--r--src/modules/alsa/meson.build51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/modules/alsa/meson.build b/src/modules/alsa/meson.build
new file mode 100644
index 0000000..f31eeb5
--- /dev/null
+++ b/src/modules/alsa/meson.build
@@ -0,0 +1,51 @@
+libalsa_util_sources = [
+ 'alsa-util.c',
+ 'alsa-ucm.c',
+ 'alsa-mixer.c',
+ 'alsa-sink.c',
+ 'alsa-source.c',
+ '../reserve-wrap.c',
+]
+
+libalsa_util_headers = [
+ 'alsa-util.h',
+ 'alsa-ucm.h',
+ 'alsa-mixer.h',
+ 'alsa-sink.h',
+ 'alsa-source.h',
+ '../reserve-wrap.h',
+]
+
+if dbus_dep.found()
+ libalsa_util_sources += [ '../reserve.c', '../reserve-monitor.c' ]
+ libalsa_util_headers += [ '../reserve.h', '../reserve-monitor.h' ]
+endif
+
+if udev_dep.found()
+ libalsa_util_sources += [ '../udev-util.c' ]
+ libalsa_util_headers += [ '../udev-util.h' ]
+endif
+
+libalsa_util = shared_library('alsa-util',
+ libalsa_util_sources,
+ libalsa_util_headers,
+ c_args : [pa_c_args, server_c_args],
+ link_args : [nodelete_link_args],
+ include_directories : [configinc, topinc],
+ dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, alsa_dep, dbus_dep, libatomic_ops_dep, libm_dep, udev_dep, libintl_dep],
+ install : true,
+ install_rpath : privlibdir,
+ install_dir : modlibexecdir,
+)
+
+alsa_udevrules = [
+ '90-pulseaudio.rules',
+]
+
+if udev_dep.found()
+ install_data(alsa_udevrules,
+ install_dir : udevrulesdir,
+ )
+endif
+
+subdir('mixer')