aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-07 23:16:05 +0000
committerDavid Robillard <d@drobilla.net>2011-11-07 23:16:05 +0000
commit672ba53efd1b6a39748b919f015761a7ef270d66 (patch)
treef6d3ae796bace14e63fccdfd06cc0e6a4bb6f923 /plugins/eg-sampler.lv2/wscript
parent5ed31770103274b1ad780a2f5d47b8df4fcef86f (diff)
downloadlv2-672ba53efd1b6a39748b919f015761a7ef270d66.tar.xz
Fix crash on instantiation.
Switch to state extension from persist extension. Correctly mark up features and extension data. Check for extensions using pkgconfig.
Diffstat (limited to 'plugins/eg-sampler.lv2/wscript')
-rw-r--r--plugins/eg-sampler.lv2/wscript11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript
index 70273c3..0e93cf3 100644
--- a/plugins/eg-sampler.lv2/wscript
+++ b/plugins/eg-sampler.lv2/wscript
@@ -22,10 +22,13 @@ def configure(conf):
autowaf.configure(conf)
autowaf.display_header('Sampler Configuration')
- autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/lv2core/lv2.h')
- autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/atom/atom-buffer.h')
- autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/urid/urid.h')
- autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/persist/persist.h')
+ autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE')
+ autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-urid',
+ uselib_store='LV2_URID')
+ autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-atom',
+ uselib_store='LV2_ATOM')
+ autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-state',
+ uselib_store='LV2_STATE')
autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE',
atleast_version='1.0.0', mandatory=True)
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2',