do not use https for pingbacks
[ardour.git] / libs / ardour / wscript
index 65466df09f568ec49cf95514278d5fa9f090e599..b4a50a888b0eca3e2e57296c255e0fbff901466d 100644 (file)
@@ -23,7 +23,7 @@ CURRENT_SESSION_FILE_VERSION = 3001
 # Variables for 'waf dist'
 APPNAME = 'libardour3'
 VERSION = LIBARDOUR_VERSION
-I18N_PACKAGE = 'libardour3'
+I18N_PACKAGE = 'ardour3'
 
 # Mandatory variables
 top = '.'
@@ -55,6 +55,7 @@ libardour_sources = [
         'automation.cc',
         'automation_control.cc',
         'automation_list.cc',
+        'automation_watch.cc',
         'beats_frames_converter.cc',
         'broadcast_info.cc',
         'buffer.cc',
@@ -62,7 +63,6 @@ libardour_sources = [
         'buffer_set.cc',
         'bundle.cc',
         'butler.cc',
-        'callback.cc',
         'capturing_processor.cc',
         'chan_count.cc',
         'chan_mapping.cc',
@@ -115,6 +115,7 @@ libardour_sources = [
         'ladspa_plugin.cc',
         'location.cc',
         'location_importer.cc',
+        'ltc_slave.cc',
         'meter.cc',
         'midi_automation_list_binder.cc',
         'midi_buffer.cc',
@@ -138,7 +139,6 @@ libardour_sources = [
         'mtc_slave.cc',
         'mtdm.cc',
         'mute_master.cc',
-        'named_selection.cc',
         'onset_detector.cc',
         'operations.cc',
         'pan_controllable.cc',
@@ -184,6 +184,7 @@ libardour_sources = [
         'session_events.cc',
         'session_export.cc',
         'session_handle.cc',
+        'session_ltc.cc',
         'session_metadata.cc',
         'session_midi.cc',
         'session_object.cc',
@@ -194,7 +195,6 @@ libardour_sources = [
         'session_state_utils.cc',
         'session_time.cc',
         'session_transport.cc',
-        'session_utils.cc',
         'slave.cc',
         'smf_source.cc',
         'sndfile_helpers.cc',
@@ -217,7 +217,7 @@ libardour_sources = [
         'user_bundle.cc',
         'utils.cc',
         'version.cc',
-        'worker.cc',
+        'worker.cc'
 ]
 
 def flac_supported():
@@ -259,6 +259,8 @@ def configure(conf):
     if Options.options.lv2:
         autowaf.check_pkg(conf, 'lv2', uselib_store='LV2',
                           atleast_version='1.0.0', mandatory=True)
+        autowaf.check_pkg(conf, 'lv2', uselib_store='NEW_LV2',
+                          atleast_version='1.0.15', mandatory=False)
         autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD',
                           atleast_version='0.14.0', mandatory=True)
         autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',
@@ -267,6 +269,8 @@ def configure(conf):
                           atleast_version='0.2.0', mandatory=True)
         autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',
                           atleast_version='0.14.0', mandatory=True)
+        autowaf.check_pkg(conf, 'lilv-0', uselib_store='NEW_LILV',
+                          atleast_version='0.15.0', mandatory=False)
         autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL',
                           atleast_version='0.6.0', mandatory=False)
         conf.define ('LV2_SUPPORT', 1)
@@ -337,6 +341,19 @@ int main(int argc, char **argv) {
                   mandatory = True,
                   errmsg = missing_jack_message)
 
+    conf.check_cc(fragment = '''
+#include <jack/transport.h>
+int main(int argc, char** argv) {
+  jack_position_t pos;
+  pos.valid & JackVideoFrameOffset;
+  return 0;
+}''',
+                  uselib= [ 'JACK' ],
+                  msg = 'Checking for JackVideoFrameOffset',
+                  define_name = 'HAVE_JACK_VIDEO_SUPPORT',
+                  mandatory = False,
+                  okmsg = 'present')
+
     if flac_supported():
         conf.define ('HAVE_FLAC', 1)
     if ogg_supported():
@@ -364,7 +381,7 @@ def build(bld):
                         'OSX','BOOST','CURL','DL']
     obj.use          = ['libpbd','libmidipp','libevoral','libvamphost',
                         'libvampplugin','libtaglib','librubberband',
-                        'libaudiographer']
+                        'libaudiographer','libltc']
     obj.vnum         = LIBARDOUR_LIB_VERSION
     obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
     obj.defines      = [
@@ -372,7 +389,8 @@ def build(bld):
         'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
         'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
         'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
-        'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"'
+        'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"',
+        'EVORAL_MIDI_XML=1' 
         ]
 
     #obj.source += ' st_stretch.cc st_pitch.cc '
@@ -444,6 +462,7 @@ def build(bld):
                 test/control_surfaces_test.cc
                 test/combine_regions_test.cc
                 test/region_naming_test.cc
+                test/load_sessions_test.cc
                 test/mtdm_test.cc
                 test/testrunner.cc
         '''.split()