mirror of
https://github.com/pulseaudio/pulseaudio.git
synced 2024-11-23 09:53:32 +08:00
build-sys: meson: Generate version.h
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
3e36c28e23
commit
012dfc4631
@ -33,6 +33,10 @@ cdata.set_quoted('PACKAGE', 'pulseaudio')
|
||||
cdata.set_quoted('PACKAGE_NAME', 'pulseaudio')
|
||||
cdata.set_quoted('PACKAGE_VERSION', pa_version)
|
||||
cdata.set_quoted('CANONICAL_HOST', host_machine.cpu())
|
||||
cdata.set('PA_MAJOR', pa_version_major)
|
||||
cdata.set('PA_MINOR', pa_version_minor)
|
||||
cdata.set('PA_API_VERSION', pa_api_version)
|
||||
cdata.set('PA_PROTOCOL_VERSION', pa_protocol_version)
|
||||
cdata.set_quoted('PA_MACHINE_ID', join_paths(sysconfdir, 'machine-id'))
|
||||
cdata.set_quoted('PA_MACHINE_ID_FALLBACK', join_paths(localstatedir, 'lib', 'dbus', 'machine-id'))
|
||||
cdata.set_quoted('PA_SRCDIR', join_paths(meson.current_source_dir(), 'src'))
|
||||
|
@ -1,3 +1,5 @@
|
||||
configure_file(input : 'version.h.in', output : 'version.h', configuration : cdata)
|
||||
|
||||
libpulse_sources = [
|
||||
'channelmap.c',
|
||||
'context.c',
|
||||
|
Loading…
Reference in New Issue
Block a user