Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #823706 ยป 0042-Meson-Enable-audio.patch

Marko Lindqvist, 2019-06-28 03:43 AM

View differences:

gen_headers/meson_fc_config.h.in
/* Produce debug version */
#mesondefine FREECIV_DEBUG
/* enable audio */
#mesondefine AUDIO_SDL
/* audio via SDL2_mixer */
#mesondefine AUDIO_SDL2
/* arpa/inet.h available */
#mesondefine HAVE_ARPA_INET_H
meson.build
pub_conf_data.set('FREECIV_DEBUG', 1)
endif
priv_conf_data.set('AUDIO_SDL', 1)
priv_conf_data.set('AUDIO_SDL2', 1)
c_compiler = meson.get_compiler('c')
pub_headers = [
......
include_directories: client_inc,
link_with: [common_lib],
dependencies: [c_compiler.find_library('m'),
c_compiler.find_library('libSDL2'),
c_compiler.find_library('libSDL2_mixer')]
)
    (1-1/1)