Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.7KB

  1. --- fluidsynth-static-1.1.11.orig/src/CMakeLists.txt
  2. +++ fluidsynth-static-1.1.11/src/CMakeLists.txt
  3. @@ -168,11 +168,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. @@ -319,30 +314,14 @@ target_link_libraries ( libfluidsynth
  16. # ************ CLI program ************
  17. -set ( fluidsynth_SOURCES fluidsynth.c )
  18. -
  19. -add_executable ( fluidsynth
  20. - ${fluidsynth_SOURCES}
  21. -)
  22. -
  23. -if ( FLUID_CPPFLAGS )
  24. - set_target_properties ( fluidsynth
  25. - PROPERTIES COMPILE_FLAGS ${FLUID_CPPFLAGS} )
  26. -endif ( FLUID_CPPFLAGS )
  27. -
  28. -target_link_libraries ( fluidsynth
  29. - libfluidsynth
  30. - ${FLUID_LIBS}
  31. -)
  32. -
  33. if ( MACOSX_FRAMEWORK )
  34. - install ( TARGETS fluidsynth libfluidsynth
  35. + install ( TARGETS libfluidsynth
  36. RUNTIME DESTINATION ${BIN_INSTALL_DIR}
  37. FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
  38. ARCHIVE DESTINATION ${FRAMEWORK_INSTALL_DIR}
  39. )
  40. else ( MACOSX_FRAMEWORK )
  41. - install ( TARGETS fluidsynth libfluidsynth
  42. + install ( TARGETS libfluidsynth
  43. RUNTIME DESTINATION ${BIN_INSTALL_DIR}
  44. LIBRARY DESTINATION ${LIB_INSTALL_DIR}
  45. ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
  46. --- fluidsynth-static-1.1.11.orig/src/utils/fluid_settings.c
  47. +++ fluidsynth-static-1.1.11/src/utils/fluid_settings.c
  48. @@ -331,8 +331,6 @@ fluid_settings_init(fluid_settings_t *settings)
  49. fluid_shell_settings(settings);
  50. fluid_player_settings(settings);
  51. fluid_file_renderer_settings(settings);
  52. - fluid_audio_driver_settings(settings);
  53. - fluid_midi_driver_settings(settings);
  54. }
  55. static int