File: meson.build

package info (click to toggle)
libhitaki 0.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 472 kB
  • sloc: ansic: 2,311; python: 544; javascript: 5; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
project('hitaki', 'c',
  version: '0.2.1',
  license: 'LGPL-2.1-or-later',
  meson_version: '>= 0.46.0',
)

# Detect support level in Linux sound subsystem.
cc = meson.get_compiler('c')

backport = []
if not cc.has_header_symbol('include/sound/firewire.h',
                            'SNDRV_FIREWIRE_EVENT_FF400_MESSAGE')
  # Use backport header from Linux kernel v6.3 prepatch.
  backport += include_directories('include')
endif

gnome = import('gnome')

subdir('src')
subdir('tests')

if get_option('doc')
  subdir('doc')
endif