Changeset 71:0357712b0d96

Show
Ignore:
Timestamp:
09/04/06 11:03:17 (2 years ago)
Author:
Vadim@jim
Message:

fixes for conditional speex build

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • SConscript

    r47 r71  
    6969        'phapi/gsm', 
    7070        'phapi/ilbc', 
    71 #      'phapi/speex', 
     71       env["speex"] and 'phapi/speex', 
    7272        'phapi', 
    7373        'miniua' 
     
    7979 
    8080print "Verona SConscript" 
    81 SConscript(dirs = projects
     81SConscript(dirs = [ x for x in projects if x != False]
  • SConstruct

    r60 r71  
    1818        BoolOption('portaudio_oss', "Build PortAudio/OSS",  False), 
    1919        BoolOption('portaudio_dsound', "Build PortAudio/DirectSound support",  False), 
     20    BoolOption('speex', "Build speex codec",  True), 
    2021        BoolOption('speexwb_replaces_amrwb', "if set replace negotiated AMR-WB payload by SPEEX WB", False), 
    2122        BoolOption('speexwb_replaces_amrnb', "if set replace negotiated AMR-NB payload by SPEEX WB", False), 
     
    2526        BoolOption('debug', "Enable debug build", True), 
    2627        BoolOption('qos_debug', "Enable QoS debugging functionality", False), 
    27         BoolOption('enable_alsa', "Disable ALSA driver", True), 
     28        BoolOption('enable_alsa', "Disable ALSA driver", False), 
    2829        ('target_os', "Target platform", sys.platform), 
    2930        ('VERONA_VERSION', "Software version", "0.0.2") 
  • phapi/SConscript

    r60 r71  
    6868        IPPSAMPLEROOT = os.environ['IPPSAMPLEROOT'] 
    6969 
    70     if IPPROOT and IPPSAMPLEROOT: 
    71  
     70    print [ IPPROOT, IPPSAMPLEROOT ] 
     71  
    7272        print "building ipp plugin" 
    7373        ipp_env = BJ.NewEnv() 
     
    101101        ipp_env.Append( LIBS = ipp_libs,  LIBPATH = ipp_libpath,  CPPPATH = ipp_includes)  
    102102        ipp = BJ.Plugin(ipp_env, 'phippplugin', ['phcodec-intel-ipp.c']) 
    103  
     103        Alias("phippplugin", ipp) 
     104         
    104105 
    105106env = BJ.NewEnv() 
     
    253254        defines['PHAPI_VIDEO_LOCAL_HACK'] = 1 
    254255 
    255 if not BJ.osxTarget and not BJ.armlinuxTarget
     256if not BJ.osxTarget
    256257        libs += ['portaudio'] 
    257258        defines['ENABLE_PORTAUDIO'] = 1