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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
pacat_sources = [
'pacat.c',
]
pacat_aliases = [
'pamon',
'paplay',
'parec',
'parecord',
]
executable('pacat',
pacat_sources,
install: true,
install_rpath : privlibdir,
include_directories : [configinc, topinc],
link_with : [libpulsecommon, libpulse],
dependencies : [sndfile_dep, libintl_dep],
c_args : pa_c_args,
)
foreach alias : pacat_aliases
# FIXME How to handle extension (.exe on windows)?
dst = join_paths(bindir, alias)
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pacat', dst)
meson.add_install_script('sh', '-c', cmd)
endforeach
pactl_sources = [
'pactl.c',
]
executable('pactl',
pactl_sources,
install: true,
install_rpath : privlibdir,
include_directories : [configinc, topinc],
link_with : [libpulsecommon, libpulse],
dependencies : [sndfile_dep, libintl_dep],
c_args : pa_c_args,
)
pasuspender_sources = [
'pasuspender.c',
]
executable('pasuspender',
pasuspender_sources,
install: true,
install_rpath : privlibdir,
include_directories : [configinc, topinc],
link_with : [libpulsecommon, libpulse],
dependencies: [libintl_dep],
c_args : pa_c_args,
)
pacmd_sources = [
'pacmd.c',
]
executable('pacmd',
pacmd_sources,
install: true,
install_rpath : privlibdir,
include_directories : [configinc, topinc],
link_with : [libpulsecommon, libpulse],
dependencies: [libintl_dep],
c_args : pa_c_args,
)
if x11_dep.found()
pax11publish_sources = [
'pax11publish.c',
]
executable('pax11publish',
pax11publish_sources,
install: true,
install_rpath : privlibdir,
include_directories : [configinc, topinc],
link_with : [libpulsecommon, libpulse],
dependencies : [x11_dep, libintl_dep],
c_args : pa_c_args,
)
endif
if cc.has_header('sys/soundcard.h')
libpulsecommon_sources = [
'padsp.c',
]
libpulsedsp = shared_library('pulsedsp',
libpulsecommon_sources,
install: true,
install_dir : padsplibdir,
install_rpath : privlibdir,
include_directories : [configinc, topinc],
link_with : [libpulsecommon, libpulse],
link_args : [nodelete_link_args],
dependencies: [thread_dep, dl_dep],
c_args : [pa_c_args, '-Wno-nonnull-compare']
)
configure_file(
input : 'padsp.in',
output : 'padsp',
configuration : cdata,
install : true,
install_dir : bindir,
)
endif
if dbus_dep.found() and fftw_dep.found()
install_data('qpaeq', install_dir : bindir)
endif
install_data('pa-info', install_dir : bindir)
|