Try to fix Linux build.
[libsub.git] / src / wscript
index 89c6e897617f0d81c7c69d88a0efeefef9f85a7a..491111744d0e4c28d111afd7fe3fbf219d18ee15 100644 (file)
@@ -8,21 +8,25 @@ def build(bld):
 
     obj.name = 'libsub%s' % bld.env.API_VERSION
     obj.target = 'sub%s' % bld.env.API_VERSION
-    obj.uselib = 'CXML DCP BOOST_FILESYSTEM BOOST_LOCALE'
+    obj.uselib = 'CXML DCP BOOST_FILESYSTEM BOOST_LOCALE BOOST_REGEX ASDCPLIB_CTH'
     obj.use = 'libkumu-libsub%s libasdcp-libsub%s' % (bld.env.API_VERSION, bld.env.API_VERSION)
     obj.export_includes = ['.']
     obj.source = """
                  colour.cc
                  dcp_reader.cc
                  effect.cc
+                 exceptions.cc
                  font_size.cc
-                 interop_dcp_reader.cc
+                 horizontal_position.cc
                  iso6937.cc
                  iso6937_tables.cc
+                 locale_convert.cc
+                 rational.cc
+                 raw_convert.cc
                  raw_subtitle.cc
                  reader.cc
                  reader_factory.cc
-                 smpte_dcp_reader.cc
+                 ssa_reader.cc
                  stl_binary_reader.cc
                  stl_binary_tables.cc
                  stl_binary_writer.cc
@@ -34,11 +38,6 @@ def build(bld):
                  util.cc
                  vertical_reference.cc
                  vertical_position.cc
-                 dcp/font.cc
-                 dcp/interop_load_font.cc
-                 dcp/smpte_load_font.cc
-                 dcp/subtitle.cc
-                 dcp/text.cc
                  """
 
     headers = """
@@ -46,10 +45,17 @@ def build(bld):
               colour.h
               dcp_reader.h
               effect.h
+              exceptions.h
               font_size.h
+              horizontal_position.h
+              horizontal_reference.h
+              rational.h
               raw_subtitle.h
               reader.h
+              reader_factory.h
+              ssa_reader.h
               stl_binary_tables.h
+              stl_binary_reader.h
               stl_binary_writer.h
               stl_text_reader.h
               sub_time.h