'libgtk2_ardour',
'libgtkmm2ext',
'libtaglib']
- obj.target = 'ardour-3.0-vst.exe.so'
+ obj.target = 'ardour-' + bld.env['VERSION'] + '-vst.exe.so'
obj.includes = [ '../libs/fst', '.' ]
obj.linkflags = ['-mwindows', '-Wl,--export-dynamic']
obj.defines = ['_POSIX_SOURCE', 'USE_WS_PREFIX']
# just the normal executable version of the GTK GUI
obj = bld(features = 'cxx c cxxprogram')
obj.source = gtk2_ardour_sources
- obj.target = 'ardour-3.0'
+ obj.target = 'ardour-' + bld.env['VERSION']
obj.includes = ['.']
# continue with setup of obj, which could be a shared library
'DATADIR' : os.path.normpath(bld.env['DATADIR']),
'SYSCONFDIR' : os.path.normpath(bld.env['SYSCONFDIR']),
'LIBS' : 'build/libs',
- 'VERSION' : '3.0',
- 'EXECUTABLE' : 'build/gtk2_ardour/ardour-3.0'
+ 'VERSION' : bld.env['VERSION'],
+ 'EXECUTABLE' : 'build/gtk2_ardour/ardour-' + bld.env['VERSION']
}
def set_subst_dict(obj, dict):
--- /dev/null
+#
+# this is sourced by build and package, and executed from within build/{osx,linux}_packaging
+#
+
+release_version=`grep -m 1 '^VERSION = ' ../../wscript | awk '{print $3}' | sed "s/'//g"`
+r=`cut -d'"' -f2 < ../../libs/ardour/revision.cc | sed -e 1d -e "s/$release_version-//"`
+if echo $r | grep -q -e - ; then
+ revcount=`echo $r | cut -d- -f1`
+fi
+commit=`echo $r | cut -d- -f2`
+version=${release_version}${revcount:+.$revcount}
+
+#
+# Figure out the Build Type
+#
+# Note that the name of the cache file may vary from to time
+#
+
+if grep -q "DEBUG = True" ../../build/c4che/_cache.py; then
+ DEBUG="T"
+else
+ DEBUG="F"
+fi
exit 1
fi
-. ./define_versions.sh
+. ../define_versions.sh
echo "Version is $version / $commit"
info_string="$version ($commit) built on `hostname` by `whoami` on `date`"
+++ /dev/null
-#
-# this is sourced by build and package, and executed from within build/linux_packaging
-#
-
-release_version=`grep -m 1 '[^A-Za-z_]LINUX_VERSION = ' ../../wscript | awk '{print $3}' | sed "s/'//g"`
-r=`cut -d'"' -f2 < ../../libs/ardour/revision.cc | sed -e 1d -e "s/$release_version-//"`
-if echo $r | grep -q -e - ; then
- revcount=`echo $r | cut -d- -f1`
-fi
-commit=`echo $r | cut -d- -f2`
-version=${release_version}${revcount:+.$revcount}
-
-#
-# Figure out the Build Type
-#
-# Note that the name of the cache file may vary from to time
-#
-
-if grep -q "DEBUG = True" ../../build/c4che/_cache.py; then
- DEBUG="T"
-else
- DEBUG="F"
-fi
esac
done
-. ./define_versions.sh
+. ../define_versions.sh
if [ x$DEBUG = xT ]; then
BUILDTYPE="dbg"
exit 1
fi
-release_version=`grep -m 1 '[^A-Za-z_]OSX_VERSION = ' ../../wscript | cut -d"'" -f2`
-revision=`grep -m 1 'revision =' ../../libs/ardour/revision.cc | cut -d'"' -f 2 | sed 's/^.*-//g'`
+. ../define_versions.sh
echo "Version is $release_version / $revision"
-info_string="$release_version/$revision built on `hostname` by `whoami` on `date`"
+info_string="$version built on `hostname` by `whoami` on `date`"
echo "Info string is $info_string"
# setup directory structure
# UC_DMG=$APPNAME-${release_version}-${revision}-UC.dmg
# FINAL_DMG=$APPNAME-${release_version}-${revision}.dmg
-UC_DMG=$APPNAME-${release_version}-${revision}.dmg
-VOLNAME=$APPNAME-$release_version
+UC_DMG=$APPNAME-$version.dmg
+VOLNAME=$APPNAME-$version
# TODO use mktemp
export TMPDIR=`pwd`
import subprocess
import sys
-#
-# build scripts need to find the right platform specific version
-#
-
-if sys.platform == 'darwin':
- OSX_VERSION = '3.0'
- VERSION = '3.0beta6'
-else:
- LINUX_VERSION = '3.1'
- VERSION = '3.1'
+VERSION = '3.1'
APPNAME = 'Ardour3'