[Spice-commits] meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 4 12:35:52 UTC 2020


 meson.build |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 08a3c234079f767186ee730516ea48dca3057549
Author: Eduardo Lima (Etrunko) <etrunko at redhat.com>
Date:   Tue Mar 3 09:06:04 2020 -0300

    meson: generate spice-protocol.spec
    
    Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/meson.build b/meson.build
index 75e64c4..f2c194b 100644
--- a/meson.build
+++ b/meson.build
@@ -23,3 +23,12 @@ pkgconfig.generate(name : meson.project_name(),
                    subdirs : 'spice-1',
                    install_dir : pkgconfig_dir,
                    variables : 'datadir=@0@'.format(join_paths('${prefix}', datadir)))
+
+#
+# spice-protocol.spec
+#
+config_data = configuration_data()
+config_data.set ('VERSION', meson.project_version())
+configure_file(input : 'spice-protocol.spec.in',
+               output : 'spice-protcol.spec',
+               configuration : config_data)


More information about the Spice-commits mailing list