SConsignFile()
EnsureSConsVersion(0, 96)
-ardour_version = '2.6.1'
+ardour_version = '2.7.1'
subst_dict = { }
else:
print 'LV2 support is not enabled. Build with \'scons LV2=1\' to enable.'
-if env['WIIMOTE']:
- wiimote_surface = [ 'libs/surfaces/wiimote' ]
-else:
- wiimote_surface = [ ]
+if not env['WIIMOTE']:
print 'WIIMOTE not enabled. Build with \'scons WIIMOTE=1\' to enable support.'
libraries['jack'] = LibraryInfo()
def prep_libcheck(topenv, libinfo):
if topenv['IS_OSX']:
#
- # rationale: GTK-Quartz uses jhbuild and installs to /opt/gtk by default.
- # All libraries needed should be built against this location
- # However.. now jhbuild installs to ~/gtk/inst by default.. changed to accomodate this
+ # rationale: GTK-Quartz uses jhbuild and installs to ~/gtk/inst by default.
+ # All libraries needed should be built against this location
if topenv['GTKOSX']:
- GTKROOT = os.path.expanduser ('~/gtk/inst')
- libinfo.Append(CPPPATH= GTKROOT + "/include", LIBPATH= GTKROOT + "/lib")
- libinfo.Append(CXXFLAGS="-I" + GTKROOT + "/include", LINKFLAGS="-L" + GTKROOT + "/lib")
- #libinfo.Append(CPPPATH="/opt/local/include", LIBPATH="/opt/local/lib")
- #libinfo.Append(CXXFLAGS="-I/opt/local/include", LINKFLAGS="-L/opt/local/lib")
+ GTKROOT = os.path.expanduser ('~/gtk/inst')
+ libinfo.Append(CPPPATH= GTKROOT + "/include", LIBPATH= GTKROOT + "/lib")
+ libinfo.Append(CXXFLAGS="-I" + GTKROOT + "/include", LINKFLAGS="-L" + GTKROOT + "/lib")
+
+
+
prep_libcheck(env, env)
env = conf.Finish()
+if env['GTKOSX']:
+ clearlooks_version = 'libs/clearlooks-newer'
+else:
+ clearlooks_version = 'libs/clearlooks-older'
+
if env['SYSLIBS']:
syslibdeps = \
# 'libs/flowcanvas',
'libs/gtkmm2ext',
'gtk2_ardour',
- 'libs/clearlooks'
+ clearlooks_version
]
else:
'libs/libgnomecanvasmm',
'libs/gtkmm2ext',
'gtk2_ardour',
- 'libs/clearlooks'
+ clearlooks_version
]
#
# * always build the LGPL control protocol lib, since we link against it from libardour
# * ditto for generic MIDI
-# * tranzport checks whether it should build internally, but we need here so that
-# its included in the tarball
+# * tranzport & wiimote check whether they should build internally, but we need them here
+# so that they are included in the tarball
#
surface_subdirs = [ 'libs/surfaces/control_protocol',
'libs/surfaces/generic_midi',
'libs/surfaces/tranzport',
'libs/surfaces/mackie',
- 'libs/surfaces/powermate'
+ 'libs/surfaces/powermate',
+ 'libs/surfaces/wiimote'
]
-surface_subdirs += wiimote_surface
if env['SURFACES']:
if have_libusb:
'icons/icon/ardour_icon_tango_48px_blue.png',
'icons/icon/ardour_icon_tango_48px_red.png'
] +
- glob.glob ('DOCUMENTATION/AUTHORS*') +
- glob.glob ('DOCUMENTATION/CONTRIBUTORS*') +
- glob.glob ('DOCUMENTATION/TRANSLATORS*') +
- glob.glob ('DOCUMENTATION/BUILD*') +
- glob.glob ('DOCUMENTATION/FAQ*') +
- glob.glob ('DOCUMENTATION/README*')
+ glob.glob ('ardour.1*') +
+ glob.glob ('libs/clearlooks-newer/*.c') +
+ glob.glob ('libs/clearlooks-newer/*.h') +
+ glob.glob ('libs/clearlooks-newer/SConscript')
)
srcdist = env.Tarball(env['TARBALL'], [ env['DISTTREE'], the_revision ])