Remove LengthChanged that no-one was listening to.
[ardour.git] / libs / clearlooks-newer / wscript
index b33d216032943c2458eef5f9ccf3092890f5adf5..77936ba12b7394a4ede231e40e9e96a38007c46a 100644 (file)
@@ -1,22 +1,22 @@
 #!/usr/bin/env python
-import autowaf
+from waflib.extras import autowaf as autowaf
 import os
 import sys
 
-srcdir = '.'
-blddir = 'build'
+top = '.'
+out = 'build'
 
 path_prefix = 'libs/clearlooks-newer'
 
-def set_options(opt):
+def options(opt):
     autowaf.set_options(opt)
 
 def configure(conf):
+    conf.load('compiler_c')
     autowaf.configure(conf)
-    conf.check_tool('compiler_cc')
 
 def build(bld):
-    obj = bld.new_task_gen('cc', 'shlib')
+    obj = bld(features = 'c cshlib')
     obj.source = '''
     animation.c
     cairo-support.c
@@ -40,9 +40,8 @@ def build(bld):
     if sys.platform == 'darwin':
         # Bit of a hack: make a symlink to the .dylib that meets GTK's criteria for finding it (namely that the library must be a *.so
         # and that it must reside in a directory called `engines')
-        obj = bld.new_task_gen(target = 'engines', rule = 'mkdir -p ${TGT} && rm -f ${TGT}/libclearlooks.so && ln -s ../libclearlooks.dylib ${TGT}/libclearlooks.so')
+        obj = bld(target = 'engines', rule = 'mkdir -p ${TGT} && rm -f ${TGT}/libclearlooks.so && ln -s ../libclearlooks.dylib ${TGT}/libclearlooks.so')
 
 
 def shutdown():
     autowaf.shutdown()
-