Change from_argb_hex() (which wasn't being used) to from_rgba_hex().
[libsub.git] / src / wscript
index a054a917745da200fedb99cd1459e3062a65644c..563b3319f8e27ea7fe121d8dd8966245a9a36776 100644 (file)
@@ -8,21 +8,23 @@ 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 BOOST_REGEX'
-    obj.use = 'libkumu-libsub%s libasdcp-libsub%s' % (bld.env.API_VERSION, bld.env.API_VERSION)
+    obj.uselib = 'CXML BOOST_FILESYSTEM BOOST_LOCALE BOOST_REGEX'
     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,21 +36,22 @@ 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
+                 web_vtt_reader.cc
                  """
 
     headers = """
               collect.h
               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
@@ -58,6 +61,7 @@ def build(bld):
               subtitle.h
               vertical_position.h
               vertical_reference.h
+              web_vtt_reader.h
               """
 
     bld.install_files('${PREFIX}/include/libsub%s/sub' % bld.env.API_VERSION, headers)