|
|
@ -210,11 +210,11 @@ if( WITH_XIPH_DECODER )
|
|
|
|
check_include_file( "OggFLAC/seekable_stream_decoder.h" HAVE_OGGFLAC_H )
|
|
|
|
check_include_file( "OggFLAC/seekable_stream_decoder.h" HAVE_OGGFLAC_H )
|
|
|
|
if( HAVE_OGGFLAC_H )
|
|
|
|
if( HAVE_OGGFLAC_H )
|
|
|
|
tde_save_and_set( CMAKE_REQUIRED_LIBRARIES m OggFLAC FLAC )
|
|
|
|
tde_save_and_set( CMAKE_REQUIRED_LIBRARIES m OggFLAC FLAC )
|
|
|
|
check_library_exits( OggFLAC OggFLAC__seekable_stream_decoder_process_single "" HAVE_LIBOGGFLAC )
|
|
|
|
check_library_exists( OggFLAC OggFLAC__seekable_stream_decoder_process_single "" HAVE_LIBOGGFLAC )
|
|
|
|
tde_restore( CMAKE_REQUIRED_LIBRARIES )
|
|
|
|
tde_restore( CMAKE_REQUIRED_LIBRARIES )
|
|
|
|
if( HAVE_LIBOGGFLAC )
|
|
|
|
if( HAVE_LIBOGGFLAC )
|
|
|
|
set( OGGFLAC_LIBRARIES "-lOggFLAC" )
|
|
|
|
set( OGGFLAC_LIBRARIES "-lOggFLAC" )
|
|
|
|
endif( HAVE_LIBFLAC )
|
|
|
|
endif( HAVE_LIBOGGFLAC )
|
|
|
|
endif( HAVE_OGGFLAC_H )
|
|
|
|
endif( HAVE_OGGFLAC_H )
|
|
|
|
endif( NOT HAVE_LIBFLAC113 )
|
|
|
|
endif( NOT HAVE_LIBFLAC113 )
|
|
|
|
endif( FLAC_FOUND )
|
|
|
|
endif( FLAC_FOUND )
|
|
|
@ -237,7 +237,7 @@ if( WITH_XIPH_DECODER )
|
|
|
|
pkg_search_module( SPEEX speex>=1.1 )
|
|
|
|
pkg_search_module( SPEEX speex>=1.1 )
|
|
|
|
if( SPEEX_FOUND )
|
|
|
|
if( SPEEX_FOUND )
|
|
|
|
set( HAVE_SPEEX11 1 )
|
|
|
|
set( HAVE_SPEEX11 1 )
|
|
|
|
check_library_exits( speex speex_decode_int "" HAVE_SPEEX_DECODE_INT )
|
|
|
|
check_library_exitss( speex speex_decode_int "" HAVE_SPEEX_DECODE_INT )
|
|
|
|
if( NOT HAVE_SPEEX_DECODE_INT )
|
|
|
|
if( NOT HAVE_SPEEX_DECODE_INT )
|
|
|
|
set( BROKEN_SPEEX11 1 )
|
|
|
|
set( BROKEN_SPEEX11 1 )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
@ -267,6 +267,11 @@ endif( WITH_XIPH_DECODER )
|
|
|
|
|
|
|
|
|
|
|
|
if( WITH_XIPH_DECODER )
|
|
|
|
if( WITH_XIPH_DECODER )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pkg_search_module( OGG ogg )
|
|
|
|
|
|
|
|
if( NOT OGG_FOUND )
|
|
|
|
|
|
|
|
tde_message_fatal( "ogg are required, but not found on your system" )
|
|
|
|
|
|
|
|
endif( NOT OGG_FOUND )
|
|
|
|
|
|
|
|
|
|
|
|
pkg_search_module( VORBIS vorbis )
|
|
|
|
pkg_search_module( VORBIS vorbis )
|
|
|
|
if( NOT VORBIS_FOUND )
|
|
|
|
if( NOT VORBIS_FOUND )
|
|
|
|
tde_message_fatal( "ogg/vorbis are required, but not found on your system" )
|
|
|
|
tde_message_fatal( "ogg/vorbis are required, but not found on your system" )
|
|
|
|