diff options
| author | David Robillard <d@drobilla.net> | 2019-10-17 21:27:05 +0200 | 
|---|---|---|
| committer | David Robillard <d@drobilla.net> | 2019-10-17 21:27:05 +0200 | 
| commit | 49777ffd4a2e5e508d52aa336c3e4599c42215c8 (patch) | |
| tree | 1db33a9fc5d373dd6861ef7362adf26681f2545c | |
| parent | 54948d111305314fbab01d051209e16750a120a7 (diff) | |
| download | lv2-49777ffd4a2e5e508d52aa336c3e4599c42215c8.tar.xz | |
Set Gtk as a system dependency to suppress warnings
| -rw-r--r-- | plugins/eg-sampler.lv2/wscript | 5 | ||||
| -rw-r--r-- | plugins/eg-scope.lv2/wscript | 5 | 
2 files changed, 8 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript index 1ff4bbd..20233c7 100644 --- a/plugins/eg-sampler.lv2/wscript +++ b/plugins/eg-sampler.lv2/wscript @@ -22,7 +22,10 @@ def configure(conf):      conf.check_pkg('lv2 >= 1.2.1', uselib_store='LV2')      conf.check_pkg('sndfile >= 1.0.0', uselib_store='SNDFILE') -    conf.check_pkg('gtk+-2.0 >= 2.18.0', uselib_store='GTK2', mandatory=False) +    conf.check_pkg('gtk+-2.0 >= 2.18.0', +                   uselib_store='GTK2', +                   system=True, +                   mandatory=False)      conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False)  def build(bld): diff --git a/plugins/eg-scope.lv2/wscript b/plugins/eg-scope.lv2/wscript index 5c91da6..847d5d1 100644 --- a/plugins/eg-scope.lv2/wscript +++ b/plugins/eg-scope.lv2/wscript @@ -22,7 +22,10 @@ def configure(conf):      conf.check_pkg('lv2 >= 1.2.1', uselib_store='LV2')      conf.check_pkg('cairo >= 1.8.10', uselib_store='CAIRO') -    conf.check_pkg('gtk+-2.0 >= 2.18.0', uselib_store='GTK2', mandatory=False) +    conf.check_pkg('gtk+-2.0 >= 2.18.0', +                   uselib_store='GTK2', +                   system=True, +                   mandatory=False)  def build(bld):      bundle = 'eg-scope.lv2'  |