OSX: CMake & scons update for Ogg/Vorbis/FLAC added support to lib SNDFILE

Note that you need to svn up the precompiled lib folder (darwin-*) too to be able to build with SNDFILE
This commit is contained in:
Damien Plisson
2010-04-03 09:54:38 +00:00
parent c1e55a75b8
commit 939a83e347
2 changed files with 4 additions and 4 deletions

View File

@@ -460,8 +460,8 @@ IF(APPLE)
IF(WITH_SNDFILE) IF(WITH_SNDFILE)
SET(SNDFILE ${LIBDIR}/sndfile) SET(SNDFILE ${LIBDIR}/sndfile)
SET(SNDFILE_INC ${SNDFILE}/include) SET(SNDFILE_INC ${SNDFILE}/include)
SET(SNDFILE_LIB sndfile) SET(SNDFILE_LIB sndfile FLAC ogg vorbis vorbisenc)
SET(SNDFILE_LIBPATH ${SNDFILE}/lib) SET(SNDFILE_LIBPATH ${SNDFILE}/lib ${FFMPEG}/lib)
ENDIF(WITH_SNDFILE) ENDIF(WITH_SNDFILE)
SET(PYTHON_VERSION 3.1) SET(PYTHON_VERSION 3.1)

View File

@@ -131,8 +131,8 @@ BF_JACK_LIBPATH = '${BF_JACK}/lib'
WITH_BF_SNDFILE = True WITH_BF_SNDFILE = True
BF_SNDFILE = LIBDIR + '/sndfile' BF_SNDFILE = LIBDIR + '/sndfile'
BF_SNDFILE_INC = '${BF_SNDFILE}/include' BF_SNDFILE_INC = '${BF_SNDFILE}/include'
BF_SNDFILE_LIB = 'sndfile' BF_SNDFILE_LIB = 'sndfile FLAC ogg vorbis vorbisenc'
BF_SNDFILE_LIBPATH = '${BF_SNDFILE}/lib' BF_SNDFILE_LIBPATH = '${BF_SNDFILE}/lib ${BF_FFMPEG}/lib' #ogg libs are stored in ffmpeg dir
WITH_BF_SDL = True WITH_BF_SDL = True
BF_SDL = LIBDIR + '/sdl' #$(shell sdl-config --prefix) BF_SDL = LIBDIR + '/sdl' #$(shell sdl-config --prefix)