mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
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>
73 lines
1.3 KiB
Meson
73 lines
1.3 KiB
Meson
libpulse_sources = [
|
|
'channelmap.c',
|
|
'context.c',
|
|
'direction.c',
|
|
'error.c',
|
|
'ext-device-manager.c',
|
|
'ext-device-restore.c',
|
|
'ext-stream-restore.c',
|
|
'format.c',
|
|
'introspect.c',
|
|
'mainloop-api.c',
|
|
'mainloop-signal.c',
|
|
'mainloop.c',
|
|
'operation.c',
|
|
'proplist.c',
|
|
'rtclock.c',
|
|
'sample.c',
|
|
'scache.c',
|
|
'stream.c',
|
|
'subscribe.c',
|
|
'thread-mainloop.c',
|
|
'timeval.c',
|
|
'utf8.c',
|
|
'util.c',
|
|
'volume.c',
|
|
'xmalloc.c',
|
|
]
|
|
|
|
libpulse_headers = [
|
|
'cdecl.h',
|
|
'channelmap.h',
|
|
'context.h',
|
|
'def.h',
|
|
'direction.h',
|
|
'error.h',
|
|
'ext-device-manager.h',
|
|
'ext-device-restore.h',
|
|
'ext-stream-restore.h',
|
|
'format.h',
|
|
'gccmacro.h',
|
|
'internal.h',
|
|
'introspect.h',
|
|
'mainloop-api.h',
|
|
'mainloop-signal.h',
|
|
'mainloop.h',
|
|
'operation.h',
|
|
'proplist.h',
|
|
'pulseaudio.h',
|
|
'rtclock.h',
|
|
'sample.h',
|
|
'scache.h',
|
|
'stream.h',
|
|
'subscribe.h',
|
|
'thread-mainloop.h',
|
|
'timeval.h',
|
|
'utf8.h',
|
|
'util.h',
|
|
'volume.h',
|
|
'xmalloc.h',
|
|
]
|
|
|
|
libpulse = shared_library('pulse',
|
|
libpulse_sources,
|
|
libpulse_headers,
|
|
version : libversion,
|
|
include_directories : [configinc, topinc],
|
|
c_args : [pa_c_args],
|
|
soversion : soversion,
|
|
install : true,
|
|
dependencies : [libm_dep, thread_dep, libpulsecommon_dep, dbus_dep],
|
|
implicit_include_directories : false)
|
|
|
|
libpulse_dep = declare_dependency(link_with: libpulse)
|