[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] build-sys: meson: Generate version.h

Arun Raghavan gitlab at gitlab.freedesktop.org
Mon Sep 17 05:05:45 UTC 2018


Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
012dfc46 by Arnaud Rebillout at 2018-09-15T15:11:35Z
build-sys: meson: Generate version.h

Signed-off-by: Arnaud Rebillout <arnaud.rebillout at collabora.com>

- - - - -


2 changed files:

- meson.build
- src/pulse/meson.build


Changes:

=====================================
meson.build
=====================================
@@ -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'))


=====================================
src/pulse/meson.build
=====================================
@@ -1,3 +1,5 @@
+configure_file(input : 'version.h.in', output :  'version.h', configuration : cdata)
+
 libpulse_sources = [
   'channelmap.c',
   'context.c',



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/012dfc4631258608bf3b92dfec9124e98d2ab7fd

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/012dfc4631258608bf3b92dfec9124e98d2ab7fd
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20180917/6d7972e9/attachment.html>


More information about the pulseaudio-commits mailing list