1pacat_sources = [ 2 'pacat.c', 3] 4 5pacat_aliases = [ 6 'pamon', 7 'paplay', 8 'parec', 9 'parecord', 10] 11 12executable('pacat', 13 pacat_sources, 14 install: true, 15 install_rpath : privlibdir, 16 include_directories : [configinc, topinc], 17 link_with : [libpulsecommon, libpulse], 18 dependencies : [sndfile_dep, libintl_dep], 19 c_args : pa_c_args, 20) 21 22foreach alias : pacat_aliases 23 # FIXME How to handle extension (.exe on windows)? 24 dst = join_paths(bindir, alias) 25 cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pacat', dst) 26 meson.add_install_script('sh', '-c', cmd) 27endforeach 28 29pactl_sources = [ 30 'pactl.c', 31] 32 33executable('pactl', 34 pactl_sources, 35 install: true, 36 install_rpath : privlibdir, 37 include_directories : [configinc, topinc], 38 link_with : [libpulsecommon, libpulse], 39 dependencies : [sndfile_dep, libintl_dep], 40 c_args : pa_c_args, 41) 42 43pasuspender_sources = [ 44 'pasuspender.c', 45] 46 47executable('pasuspender', 48 pasuspender_sources, 49 install: true, 50 install_rpath : privlibdir, 51 include_directories : [configinc, topinc], 52 link_with : [libpulsecommon, libpulse], 53 dependencies: [libintl_dep], 54 c_args : pa_c_args, 55) 56 57pacmd_sources = [ 58 'pacmd.c', 59] 60 61executable('pacmd', 62 pacmd_sources, 63 install: true, 64 install_rpath : privlibdir, 65 include_directories : [configinc, topinc], 66 link_with : [libpulsecommon, libpulse], 67 dependencies: [libintl_dep], 68 c_args : pa_c_args, 69) 70 71if x11_dep.found() 72 pax11publish_sources = [ 73 'pax11publish.c', 74 ] 75 76 executable('pax11publish', 77 pax11publish_sources, 78 install: true, 79 install_rpath : privlibdir, 80 include_directories : [configinc, topinc], 81 link_with : [libpulsecommon, libpulse], 82 dependencies : [x11_dep, libintl_dep], 83 c_args : pa_c_args, 84 ) 85endif 86 87if cc.has_header('sys/soundcard.h') 88 libpulsecommon_sources = [ 89 'padsp.c', 90 ] 91 92 libpulsedsp = shared_library('pulsedsp', 93 libpulsecommon_sources, 94 install: true, 95 install_dir : padsplibdir, 96 install_rpath : privlibdir, 97 include_directories : [configinc, topinc], 98 link_with : [libpulsecommon, libpulse], 99 link_args : [nodelete_link_args], 100 dependencies: [thread_dep, dl_dep], 101 c_args : [pa_c_args, '-Wno-nonnull-compare'] 102 ) 103 104 configure_file( 105 input : 'padsp.in', 106 output : 'padsp', 107 configuration : cdata, 108 install : true, 109 install_dir : bindir, 110 ) 111endif 112 113if dbus_dep.found() and fftw_dep.found() 114 install_data('qpaeq', install_dir : bindir) 115endif 116 117install_data('pa-info', install_dir : bindir) 118