diff options
Diffstat (limited to 'audio/fluidsynth/files/patch-CMakeLists.txt')
-rw-r--r-- | audio/fluidsynth/files/patch-CMakeLists.txt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/audio/fluidsynth/files/patch-CMakeLists.txt b/audio/fluidsynth/files/patch-CMakeLists.txt index 680dba236fda..4a521b894da9 100644 --- a/audio/fluidsynth/files/patch-CMakeLists.txt +++ b/audio/fluidsynth/files/patch-CMakeLists.txt @@ -1,22 +1,22 @@ ---- CMakeLists.txt.orig 2012-08-16 04:01:13 UTC +--- CMakeLists.txt.orig 2018-05-06 07:05:11 UTC +++ CMakeLists.txt -@@ -61,6 +61,7 @@ option ( enable-debug "enable debugging - option ( enable-libsndfile "compile libsndfile support (if it is available)" on ) - option ( enable-aufile "compile support for sound file output" on ) +@@ -68,6 +68,7 @@ option ( enable-midishare "compile MidiS + option ( enable-oss "compile OSS support (if it is available)" on ) + option ( enable-pkgconfig "use pkg-config to locate fluidsynth's (mostly optional) dependencies" on ) option ( enable-pulseaudio "compile PulseAudio support (if it is available)" on ) +option ( enable-sndio "compile Sndio support (if it is available)" on ) - option ( enable-jack "compile JACK support (if it is available)" on ) - option ( enable-midishare "compile MidiShare support (if it is available)" on ) option ( enable-readline "compile readline lib line editing (if it is available)" on ) -@@ -313,6 +314,11 @@ else ( enable-pulseaudio ) - unset_pkg_config ( PULSE ) - endif ( enable-pulseaudio ) -+unset ( SNDIO_SUPPORT CACHE ) -+if ( enable-sndio ) -+ set ( SNDIO_SUPPORT 1 ) -+endif ( enable-sndio ) + # Platform specific options +@@ -358,6 +359,11 @@ else(NOT enable-pkgconfig) + unset_pkg_config ( PULSE ) + endif ( enable-pulseaudio ) + ++ unset ( SNDIO_SUPPORT CACHE ) ++ if ( enable-sndio ) ++ set ( SNDIO_SUPPORT 1 ) ++ endif ( enable-sndio ) + - unset ( ALSA_SUPPORT CACHE ) - if ( enable-alsa ) - pkg_check_modules ( ALSA alsa>=0.9.1 ) + unset ( ALSA_SUPPORT CACHE ) + if ( enable-alsa ) + pkg_check_modules ( ALSA alsa>=0.9.1 ) |