pulseaudio/src/modules/alsa/meson.build
Arun Raghavan 114cdfbdde build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.

There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.

To use this, install meson (distro package, or mesonbuild.com) and run:

  $ cd <pulseaudio src dir>
  $ meson <builddir>
  $ ninja -C <builddir>
2018-06-21 05:50:29 +05:30

31 lines
714 B
Meson

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
libalsa_util = static_library('libalsa_util',
libalsa_util_sources,
libalsa_util_headers,
c_args : [pa_c_args, server_c_args],
include_directories : [configinc, topinc],
dependencies : [libpulse_dep, libpulsecore_dep, alsa_dep, dbus_dep],
install : false
)