提交 61406802 authored 作者: Michael Jerris's avatar Michael Jerris

use sound_version.txt and moh_version.txt to determine sound file version on windows (FSBUILD-152)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13097 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 6125a1a2
1.0.8
1.0.8
\ No newline at end of file
1.0.8
1.0.8
\ No newline at end of file
......@@ -75,7 +75,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 32khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\32000"
/>
</FileConfiguration>
......@@ -85,7 +85,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 32khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\32000"
/>
</FileConfiguration>
......
......@@ -75,7 +75,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 32khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\music\32000"
/>
</FileConfiguration>
......@@ -85,7 +85,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 32khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\music\32000"
/>
</FileConfiguration>
......
......@@ -75,7 +75,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 16khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\16000"
/>
</FileConfiguration>
......@@ -85,7 +85,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 16khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\16000"
/>
</FileConfiguration>
......
......@@ -75,7 +75,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 16khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\music\16000"
/>
</FileConfiguration>
......@@ -85,7 +85,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 16khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\music\16000"
/>
</FileConfiguration>
......
......@@ -75,7 +75,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 8khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\8000"
/>
</FileConfiguration>
......@@ -85,7 +85,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 8khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\8000"
/>
</FileConfiguration>
......
......@@ -75,7 +75,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 8khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\music\8000"
/>
</FileConfiguration>
......@@ -85,7 +85,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Downloading 8khzsound."
CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\sounds\music\8000"
/>
</FileConfiguration>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论