Fork of the doubango IMS client library, upstream at https://github.com/DoubangoTelecom/doubango
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
doubango/version_w32.sh

48 lines
1.4 KiB

###
# Copyright (C) 2013 Mamadou DIOP
###
VERSION_MAJOR=2
VERSION_MINOR=0
VERSION_MICRO=0
SVN_VERSION=$(svnversion -n)
export IFS=":"
i=0
for word in $SVN_VERSION; do
SVN_REVISION[i++]="$word"
done
# path
UpdateVersion()
{
echo "Processing: $1"
sed -i "s/[0-9]\+\,[0-9]\+\,[0-9]\+\,[0-9]\+/$VERSION_MAJOR\,$VERSION_MINOR\,$VERSION_MICRO\,${SVN_REVISION[0]}/g" $1
sed -i "s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION_MAJOR\.$VERSION_MINOR\.$VERSION_MICRO\.${SVN_REVISION[0]}/g" $1
#sed -i "s/2.0.0.1128/2.0.0.1156/g" $1
#sed -i "s/2,0,0,1128/2,0,0,1156/g" $1
}
UpdateVersion tinyBFCP/version.rc
UpdateVersion tinyDAV/version.rc
UpdateVersion tinyHTTP/version.rc
UpdateVersion tinyIPSec/version.rc
UpdateVersion tinyMEDIA/version.rc
UpdateVersion tinyMSRP/version.rc
UpdateVersion tinyNET/version.rc
UpdateVersion tinyRTP/version.rc
UpdateVersion tinySAK/version.rc
UpdateVersion tinySDP/version.rc
UpdateVersion tinySIGCOMP/version.rc
UpdateVersion tinySIP/version.rc
UpdateVersion tinySMS/version.rc
UpdateVersion tinyXCAP/version.rc
UpdateVersion bindings/version.rc
UpdateVersion plugins/pluginCUDA/version.rc
UpdateVersion plugins/pluginDirectShow/version.rc
UpdateVersion plugins/pluginWASAPI/version.rc
UpdateVersion plugins/pluginWinAudioDSP/version.rc
UpdateVersion plugins/pluginWinMF/version.rc
UpdateVersion plugins/pluginWinIPSecVista/version.rc
UpdateVersion plugins/pluginWinDD/version.rc