mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 14:18:31 +00:00
Put final SPEC file in GIT repository directly to avoid having to bump Meson version to use distribution script. To avoid having incoherent version numbers check the versions from CI. Remove 'c' as project language, project don't need to compile any files. Meson however needs C compiler even if is not used so add to package requirements. Update CI to build RPM from package directly. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
26 lines
755 B
Meson
26 lines
755 B
Meson
#
|
|
# project definition
|
|
#
|
|
project('spice-protocol',
|
|
version : '0.14.2',
|
|
license : 'BSD',
|
|
meson_version : '>= 0.41.0')
|
|
|
|
subdir('spice')
|
|
|
|
spice_protocol_dep = declare_dependency(include_directories : include_directories('.'))
|
|
|
|
#
|
|
# spice-protocol.pc generation
|
|
#
|
|
datadir = get_option('datadir')
|
|
pkgconfig_dir = join_paths(get_option('prefix'), datadir, 'pkgconfig')
|
|
|
|
pkgconfig = import('pkgconfig')
|
|
pkgconfig.generate(name : meson.project_name(),
|
|
description : 'SPICE protocol headers',
|
|
version : meson.project_version(),
|
|
subdirs : 'spice-1',
|
|
install_dir : pkgconfig_dir,
|
|
variables : 'datadir=@0@'.format(join_paths('${prefix}', datadir)))
|