summaryrefslogtreecommitdiffstats
path: root/subprojects/gvc/.gitlab-ci/meson.build
blob: d54e1dd56055784345f81eac639dd7f5c08c29b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
project('gnome-volume-control-ci', 'c',
  version: '1.0.0',
  meson_version: '>= 0.47.0',
  license: 'GPLv2+'
)

prefix = get_option('prefix')

datadir = join_paths(prefix, get_option('datadir'))
libdir = join_paths(prefix, get_option('libdir'))

pkgdatadir = join_paths(datadir, meson.project_name())
pkglibdir = join_paths(libdir, meson.project_name())

libgvc = subproject('gvc',
  default_options: [
    'package_name=' + meson.project_name(),
    'package_version=' + meson.project_version(),
    'pkgdatadir=' + pkgdatadir,
    'pkglibdir=' + pkglibdir,
    'alsa=true'
  ]
)