setenv ("VAMP_PATH", path.c_str(), 1);
+ path += dir_path;
+ path += "/../Frameworks";
+ setenv ("SUIL_MODULE_DIR", path.c_str(), 1);
+
cstr = getenv ("ARDOUR_CONTROL_SURFACE_PATH");
if (cstr) {
path = cstr;
setenv ("VAMP_PATH", path.c_str(), 1);
+ cstr = getenv ("SUIL_MODULE_DIR");
+ if (cstr) {
+ path = cstr;
+ path += ':';
+ } else {
+ path = "";
+ }
+ path += dir_path;
+ path += "/lib";
+
+ setenv ("SUIL_MODULE_DIR", path.c_str(), 1);
+
cstr = getenv ("ARDOUR_CONTROL_SURFACE_PATH");
if (cstr) {
path = cstr;
# VAMP plugins that we use
cp ../../libs/vamp-plugins/libardourvampplugins.so* $Libraries
+# SUIL modules
+cp $GTKROOT/suil-0/libsuil* $Libraries
+
OURLIBDIR=../../libs
OURLIBS=$OURLIBDIR/vamp-sdk:$OURLIBDIR/surfaces/control_protocol:$OURLIBDIR/ardour:$OURLIBDIR/midi++2:$OURLIBDIR/pbd:$OURLIBDIR/rubberband:$OURLIBDIR/soundtouch:$OURLIBDIR/gtkmm2ext:$OURLIBDIR/sigc++2:$OURLIBDIR/glibmm2:$OURLIBDIR/gtkmm2/atk:$OURLIBDIR/gtkmm2/pango:$OURLIBDIR/gtkmm2/gdk:$OURLIBDIR/gtkmm2/gtk:$OURLIBDIR/libgnomecanvasmm:$OURLIBDIR/libsndfile
# VAMP plugins that we use
cp ../../libs/vamp-plugins/libardourvampplugins.dylib $Frameworks
+# SUIL Modules
+cp $HOME/a3/inst/lib/suil-0/libsuil* $Frameworks
+
while [ true ] ; do
missing=false
for file in $APPROOT/MacOS/* $Frameworks/* $Frameworks/modules/* $Plugins/*.so ; do