From 672ba53efd1b6a39748b919f015761a7ef270d66 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Nov 2011 23:16:05 +0000 Subject: Fix crash on instantiation. Switch to state extension from persist extension. Correctly mark up features and extension data. Check for extensions using pkgconfig. --- plugins/eg-sampler.lv2/wscript | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'plugins/eg-sampler.lv2/wscript') 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', -- cgit v1.2.1