forked from exaile/moodbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
44 lines (39 loc) · 1.02 KB
/
meson.build
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
project('moodbar', 'cpp',
version : '0.0.1',
license : 'GPL3+',
default_options : 'cpp_std=c++14',
)
conf = configuration_data()
conf.set_quoted('MOODBAR_VERSION_STR', meson.project_version())
configure_file(output : 'moodbar-config.h', configuration : conf)
dep_gstreamer = dependency('gstreamer-1.0')
gstfastspectrum = static_library('gstfastspectrum',
'gst/moodbar/gstfastspectrum.cpp',
'gst/moodbar/plugin.cpp',
dependencies : [
dep_gstreamer,
dependency('gstreamer-audio-1.0'),
dependency('fftw3'),
],
)
moodbar = static_library('moodbar',
'moodbar.cpp',
'src/moodbar/moodbarbuilder.cpp',
'src/moodbar/moodbarpipeline.cpp',
include_directories : include_directories('src'),
link_with : gstfastspectrum,
dependencies : [
dependency('glib-2.0'),
dep_gstreamer,
],
)
moodbar_exe = executable('moodbar',
'moodbar_exe.cpp',
include_directories : include_directories('src'),
link_with : moodbar,
dependencies : [
dependency('gio-2.0'),
dep_gstreamer,
],
install : true,
)