forked from wwmm/easyeffects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
47 lines (38 loc) · 1.26 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
45
46
47
project(
'pulseeffects',
'c',
'cpp',
default_options : ['cpp_std=c++17','buildtype=debugoptimized'],
version: '4.2.8',
meson_version: '>= 0.40.0'
)
add_global_arguments('-DG_LOG_DOMAIN="pulseeffects"', language : 'c')
add_global_arguments('-DG_LOG_DOMAIN="pulseeffects"', language : 'cpp')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
language:'c')
gnome_mod = import('gnome')
i18n_mod = import('i18n')
prefix = get_option('prefix')
bindir = join_paths(prefix, get_option('bindir'))
datadir = join_paths(prefix, get_option('datadir'))
localedir = join_paths(prefix, get_option('localedir'))
include_dir = include_directories('include')
config_h_dir = include_directories('.')
plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir'))
# Configuration
conf = configuration_data()
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
conf.set_quoted('LOCALE_DIR', localedir)
conf.set_quoted('VERSION', meson.project_version())
conf.set_quoted('PACKAGE', 'PulseEffects')
configure_file(output: 'config.h', configuration: conf)
plugins_cxx_args = [
'-Wl,-Bsymbolic-functions',
'-fvisibility=hidden',
'-fno-strict-aliasing'
]
subdir('data')
subdir('po')
subdir('help')
subdir('src')
meson.add_install_script('meson_post_install.py')