Cleanup
[carla.git] / data / patches / fluidsynth-skip-drivers-build.patch
blob2e433268f4030b7ff5fa4f8642d51cab25b670f5
1 --- fluidsynth-static-1.1.11.orig/src/CMakeLists.txt
2 +++ fluidsynth-static-1.1.11/src/CMakeLists.txt
3 @@ -175,11 +175,6 @@ set ( libfluidsynth_SOURCES
4 midi/fluid_midi_router.h
5 midi/fluid_seqbind.c
6 midi/fluid_seq.c
7 - drivers/fluid_adriver.c
8 - drivers/fluid_adriver.h
9 - drivers/fluid_mdriver.c
10 - drivers/fluid_mdriver.h
11 - drivers/fluid_aufile.c
12 bindings/fluid_cmd.c
13 bindings/fluid_cmd.h
14 bindings/fluid_filerenderer.c
15 @@ -335,32 +330,14 @@ target_link_libraries ( libfluidsynth
16 ${LIBFLUID_LIBS}
19 -# ************ CLI program ************
21 -set ( fluidsynth_SOURCES fluidsynth.c )
23 -add_executable ( fluidsynth
24 - ${fluidsynth_SOURCES}
27 -if ( FLUID_CPPFLAGS )
28 - set_target_properties ( fluidsynth
29 - PROPERTIES COMPILE_FLAGS ${FLUID_CPPFLAGS} )
30 -endif ( FLUID_CPPFLAGS )
32 -target_link_libraries ( fluidsynth
33 - libfluidsynth
34 - ${FLUID_LIBS}
37 if ( MACOSX_FRAMEWORK )
38 - install ( TARGETS fluidsynth libfluidsynth
39 + install ( TARGETS libfluidsynth
40 RUNTIME DESTINATION ${BIN_INSTALL_DIR}
41 FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
42 ARCHIVE DESTINATION ${FRAMEWORK_INSTALL_DIR}
44 else ( MACOSX_FRAMEWORK )
45 - install ( TARGETS fluidsynth libfluidsynth
46 + install ( TARGETS libfluidsynth
47 RUNTIME DESTINATION ${BIN_INSTALL_DIR}
48 LIBRARY DESTINATION ${LIB_INSTALL_DIR}
49 ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
50 --- fluidsynth-static-1.1.11.orig/src/utils/fluid_settings.c
51 +++ fluidsynth-static-1.1.11/src/utils/fluid_settings.c
52 @@ -297,8 +297,6 @@ fluid_settings_init(fluid_settings_t* se
53 fluid_shell_settings(settings);
54 fluid_player_settings(settings);
55 fluid_file_renderer_settings(settings);
56 - fluid_audio_driver_settings(settings);
57 - fluid_midi_driver_settings(settings);
60 static int