-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
30 lines (25 loc) · 735 Bytes
/
Copy pathmeson.build
File metadata and controls
30 lines (25 loc) · 735 Bytes
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
26
27
28
29
30
project('prismriver', 'c',
version : '0.1',
meson_version: '>=1.2.0',
default_options : ['warning_level=2'],
license: 'EUPL-1.2',
license_files: ['COPYING'])
cc = meson.get_compiler('c')
add_project_dependencies(
dependency('libpipewire-0.3'),
dependency('fftw3f'),
cc.find_library('m', required : false),
language : 'c')
executable('prismriver', 'prismriver.c',
override_options : {
'c_std': 'gnu2x'
},
install : true)
conf = configuration_data()
conf.set('BINDIR', get_option('prefix') / get_option('bindir'))
configure_file(
input : 'systemd/prismriver.service.in',
output : 'prismriver.service',
configuration : conf,
install : true,
install_dir : 'lib/systemd/user')