Use FAB subtitler's rather odd DFC -> frame rate mapping.
[libsub.git] / src / wscript
index 7f00d20de35ec0c05ead7ac13f88e09bff2299fc..ef5c787ab370c37fe3313f51c65589aecdcca107 100644 (file)
@@ -8,20 +8,48 @@ def build(bld):
 
     obj.name = 'libsub'
     obj.target = 'sub'
+    obj.uselib = 'CXML BOOST_FILESYSTEM BOOST_LOCALE'
     obj.export_includes = ['.']
     obj.source = """
+                 collect.cc
+                 colour.cc
+                 dcp_reader.cc
+                 effect.cc
+                 frame_time.cc
+                 iso6937.cc
+                 iso6937_tables.cc
+                 metric_time.cc
+                 raw_subtitle.cc
                  reader.cc
-                 stl_reader.cc
-                 stl_writer.cc
-                 sub_time.cc
+                 reader_factory.cc
+                 stl_binary_reader.cc
+                 stl_binary_tables.cc
+                 stl_binary_writer.cc
+                 stl_text_reader.cc
+                 stl_util.cc
+                 time_pair.cc
+                 subtitle.cc
+                 vertical_reference.cc
+                 vertical_position.cc
                  """
 
     headers = """
+              collect.h
+              colour.h
+              dcp_reader.h
+              effect.h
+              font_size.h
+              frame_time.h
+              metric_time.h
+              raw_subtitle.h
               reader.h
-              stl_reader.h
-              stl_writer.h
-              sub_time.h
-              writer.h
+              stl_binary_tables.h
+              stl_binary_writer.h
+              stl_text_reader.h
+              subtitle.h
+              time_pair.h
+              vertical_position.h
+              vertical_reference.h
               """
 
     bld.install_files('${PREFIX}/include/libsub', headers)