Ticket #69539: patch-meson.build.diff
File patch-meson.build.diff, 1.8 KB (added by barracuda156, 7 months ago) |
---|
-
meson.build
150 150 cdata.set_quoted('PA_MACHINE_ID_FALLBACK', join_paths(localstatedir, 'lib', 'dbus', 'machine-id')) 151 151 cdata.set_quoted('PA_SRCDIR', join_paths(meson.current_source_dir(), 'src')) 152 152 cdata.set_quoted('PA_BUILDDIR', meson.current_build_dir()) 153 if host_machine.system() == 'windows' 154 cdata.set_quoted('PA_SOEXT', '.dll') 155 elif host_machine.system() == 'darwin' 156 cdata.set_quoted('PA_SOEXT', '.dylib') 157 else 158 cdata.set_quoted('PA_SOEXT', '.so') 159 endif 153 cdata.set_quoted('PA_SOEXT', '.dylib') 160 154 cdata.set_quoted('PA_DEFAULT_CONFIG_DIR', pulsesysconfdir) 161 155 cdata.set('PA_DEFAULT_CONFIG_DIR_UNQUOTED', pulsesysconfdir) 162 156 cdata.set_quoted('PA_BINARY', join_paths(bindir, 'pulseaudio')) … … 177 171 178 172 # Platform specifics 179 173 # First some defaults to keep config file generation happy 180 cdata.set('HAVE_COREAUDIO', 0)181 174 cdata.set('HAVE_WAVEOUT', 0) 182 175 cdata.set('OS_IS_FREEBSD', 0) 183 176 … … 193 186 if host_machine.system() == 'darwin' 194 187 cdata.set('OS_IS_DARWIN', 1) 195 188 cdata.set('_DARWIN_C_SOURCE', '200112L') # Needed to get NSIG on Mac OS 189 cdata.set('HAVE_COREAUDIO', 1) 196 190 elif host_machine.system() == 'windows' 197 191 cdata.set('OS_IS_WIN32', 1) 198 192 cdata.set('HAVE_WINDOWS_H', 1) … … 995 989 'Enable Alsa: @0@'.format(alsa_dep.found()), 996 990 'Enable Jack: @0@'.format(jack_dep.found()), 997 991 'Enable LIRC: @0@'.format(lirc_dep.found()), 998 # 'Enable CoreAudio: @0@'.format(${ENABLE_COREAUDIO}),992 'Enable CoreAudio: @0@'.format(cdata.has('ENABLE_COREAUDIO')), 999 993 # 'Enable Solaris: @0@'.format(${ENABLE_SOLARIS}), 1000 994 # 'Enable WaveOut: @0@'.format(${ENABLE_WAVEOUT}), 1001 995 'Enable GSettings: @0@'.format(gio_dep.found()),