bump version to 2.3
[ardour.git] / SConstruct
index 473fe33ac892c407ec24c18b04e1b5cbf67d4957..766b4d8376ccba03e3ed78f6e8ad1e383bba6e03 100644 (file)
@@ -16,7 +16,7 @@ import SCons.Node.FS
 SConsignFile()
 EnsureSConsVersion(0, 96)
 
-ardour_version = '2.2'
+ardour_version = '2.3'
 
 subst_dict = { }
 
@@ -31,6 +31,7 @@ opts.AddOptions(
     BoolOption('COREAUDIO', 'Compile with Apple\'s CoreAudio library', 0),
     BoolOption('GTKOSX', 'Compile for use with GTK-OSX, not GTK-X11', 0),
     BoolOption('NATIVE_OSX_KEYS', 'Build key bindings file that matches OS X conventions', 0),
+    BoolOption('OLDFONTS', 'Old school font sizes', 0),
     BoolOption('DEBUG', 'Set to build with debugging information and no optimizations', 0),
     PathOption('DESTDIR', 'Set the intermediate install "prefix"', '/'),
     EnumOption('DIST_TARGET', 'Build target for cross compiling packagers', 'auto', allowed_values=('auto', 'i386', 'i686', 'x86_64', 'powerpc', 'tiger', 'panther', 'leopard', 'none' ), ignorecase=2),
@@ -534,6 +535,7 @@ if env['LV2']:
        if conf.CheckPKGExists ('\"slv2 >= 0.6.0\"'):
                libraries['slv2'] = LibraryInfo()
                libraries['slv2'].ParseConfig('pkg-config --cflags --libs slv2')
+                env.Append (CCFLAGS="-DHAVE_LV2")
        else:
                print 'Building Ardour with LV2 support requires SLV2 >= 0.6.0'
                print 'WARNING: SLV2 not found, or too old.  Ardour will be built without LV2 support.'