Changeset 71:0357712b0d96
- 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
| r47 |
r71 |
|
| 69 | 69 | 'phapi/gsm', |
|---|
| 70 | 70 | 'phapi/ilbc', |
|---|
| 71 | | # 'phapi/speex', |
|---|
| | 71 | env["speex"] and 'phapi/speex', |
|---|
| 72 | 72 | 'phapi', |
|---|
| 73 | 73 | 'miniua' |
|---|
| … | … | |
| 79 | 79 | |
|---|
| 80 | 80 | print "Verona SConscript" |
|---|
| 81 | | SConscript(dirs = projects) |
|---|
| | 81 | SConscript(dirs = [ x for x in projects if x != False]) |
|---|
| r60 |
r71 |
|
| 18 | 18 | BoolOption('portaudio_oss', "Build PortAudio/OSS", False), |
|---|
| 19 | 19 | BoolOption('portaudio_dsound', "Build PortAudio/DirectSound support", False), |
|---|
| | 20 | BoolOption('speex', "Build speex codec", True), |
|---|
| 20 | 21 | BoolOption('speexwb_replaces_amrwb', "if set replace negotiated AMR-WB payload by SPEEX WB", False), |
|---|
| 21 | 22 | BoolOption('speexwb_replaces_amrnb', "if set replace negotiated AMR-NB payload by SPEEX WB", False), |
|---|
| … | … | |
| 25 | 26 | BoolOption('debug', "Enable debug build", True), |
|---|
| 26 | 27 | BoolOption('qos_debug', "Enable QoS debugging functionality", False), |
|---|
| 27 | | BoolOption('enable_alsa', "Disable ALSA driver", True), |
|---|
| | 28 | BoolOption('enable_alsa', "Disable ALSA driver", False), |
|---|
| 28 | 29 | ('target_os', "Target platform", sys.platform), |
|---|
| 29 | 30 | ('VERONA_VERSION', "Software version", "0.0.2") |
|---|
| r60 |
r71 |
|
| 68 | 68 | IPPSAMPLEROOT = os.environ['IPPSAMPLEROOT'] |
|---|
| 69 | 69 | |
|---|
| 70 | | if IPPROOT and IPPSAMPLEROOT: |
|---|
| 71 | | |
|---|
| | 70 | print [ IPPROOT, IPPSAMPLEROOT ] |
|---|
| | 71 | |
|---|
| 72 | 72 | print "building ipp plugin" |
|---|
| 73 | 73 | ipp_env = BJ.NewEnv() |
|---|
| … | … | |
| 101 | 101 | ipp_env.Append( LIBS = ipp_libs, LIBPATH = ipp_libpath, CPPPATH = ipp_includes) |
|---|
| 102 | 102 | ipp = BJ.Plugin(ipp_env, 'phippplugin', ['phcodec-intel-ipp.c']) |
|---|
| 103 | | |
|---|
| | 103 | Alias("phippplugin", ipp) |
|---|
| | 104 | |
|---|
| 104 | 105 | |
|---|
| 105 | 106 | env = BJ.NewEnv() |
|---|
| … | … | |
| 253 | 254 | defines['PHAPI_VIDEO_LOCAL_HACK'] = 1 |
|---|
| 254 | 255 | |
|---|
| 255 | | if not BJ.osxTarget and not BJ.armlinuxTarget: |
|---|
| | 256 | if not BJ.osxTarget: |
|---|
| 256 | 257 | libs += ['portaudio'] |
|---|
| 257 | 258 | defines['ENABLE_PORTAUDIO'] = 1 |
|---|