File: meson.build

package info (click to toggle)
spice-protocol 0.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 224 kB
  • sloc: ansic: 1,892; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 755 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# project definition
#
project('spice-protocol',
        version : '0.14.3',
        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)))