Repeat INSENSITIVE colors instead of relying on inheritance
[ardour.git] / libs / plugins / reasonablesynth.lv2 / wscript
index b534e2011b9edf87551532ba1ac931b2e45cfda8..cedda4c308bdfa6aa5707a4cde4156dabc10ffb7 100644 (file)
@@ -3,7 +3,7 @@ import os
 import re
 import shutil
 import waflib.extras.autowaf as autowaf
-from waflib import Options
+import waflib.Options as Options, waflib.Utils as Utils
 
 # Mandatory variables
 top = '.'
@@ -15,10 +15,9 @@ def options(opt):
 def configure(conf):
     conf.load('compiler_c')
     autowaf.configure(conf)
-    autowaf.set_c99_mode(conf)
     if Options.options.lv2:
-        autowaf.check_pkg(conf, 'lv2', atleast_version='1.4.0',
-                uselib_store='LV2_1_4_0')
+        autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0',
+                uselib_store='LV2_1_0_0')
 
 def build(bld):
     bundle = 'reasonablesynth.lv2'
@@ -32,6 +31,7 @@ def build(bld):
                 source       = i + '.in',
                 target       = '../../LV2/%s/%s' % (bundle, i),
                 install_path = '${LV2DIR}/%s' % bundle,
+                chmod        = Utils.O644,
                 LIB_EXT      = module_ext)
 
         # Build plugin library
@@ -41,7 +41,7 @@ def build(bld):
                   name         = 'reasonablesynth',
                   target       = '../../LV2/%s/reasonablesynth' % bundle,
                   install_path = '${LV2DIR}/%s' % bundle,
-                  use          = 'LV2_1_4_0'
+                  use          = 'LV2_1_0_0'
                   )
         obj.env.cshlib_PATTERN = module_pat