summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/serialisation/Serialiser.cpp2
-rw-r--r--src/server/wscript15
-rw-r--r--wscript9
3 files changed, 15 insertions, 11 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index 84e05022..faf95c09 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -166,7 +166,7 @@ Serialiser::Impl::write_manifest(const std::string& bundle_path,
Sord::Curie(world, "lv2:binary"),
Sord::URI(world, binary_path));
- symlink(Glib::Module::build_path(INGEN_MODULE_DIR, "ingen_lv2").c_str(),
+ symlink(Glib::Module::build_path(INGEN_BUNDLE_DIR, "ingen_lv2").c_str(),
Glib::Module::build_path(bundle_path, "ingen_lv2").c_str());
finish();
diff --git a/src/server/wscript b/src/server/wscript
index 04731313..2a5e687f 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -76,12 +76,11 @@ def build(bld):
autowaf.use_lib(bld, obj, core_libs + ' JACK')
# Ingen LV2 wrapper
- obj = bld(features = 'cxx cxxshlib',
- source = ' ingen_lv2.cpp ',
- includes = ['.', '../..', '../../include'],
- name = 'libingen_lv2',
- target = 'ingen_lv2',
- #install_path = '${LIBDIR}',
- install_path = '${LV2DIR}/ingen.lv2/',
- use = 'libingen_server libingen_shared')
+ obj = bld(features = 'cxx cxxshlib',
+ source = ' ingen_lv2.cpp ',
+ includes = ['.', '../..', '../../include'],
+ name = 'libingen_lv2',
+ target = 'ingen_lv2',
+ install_path = '${LV2DIR}/ingen.lv2/',
+ use = 'libingen_server libingen_shared')
autowaf.use_lib(bld, obj, core_libs)
diff --git a/wscript b/wscript
index b89286b5..5455fc93 100644
--- a/wscript
+++ b/wscript
@@ -104,8 +104,12 @@ def configure(conf):
if conf.is_defined('HAVE_JACK'):
autowaf.define(conf, 'HAVE_JACK_MIDI', 1)
- autowaf.define(conf, 'INGEN_DATA_DIR', os.path.join(conf.env['DATADIR'], 'ingen'))
- autowaf.define(conf, 'INGEN_MODULE_DIR', conf.env['LIBDIR'])
+ autowaf.define(conf, 'INGEN_DATA_DIR',
+ os.path.join(conf.env['DATADIR'], 'ingen'))
+ autowaf.define(conf, 'INGEN_MODULE_DIR',
+ conf.env['LIBDIR'])
+ autowaf.define(conf, 'INGEN_BUNDLE_DIR',
+ os.path.join(conf.env['LV2DIR'], 'ingen.lv2'))
if Options.options.log_debug:
autowaf.define(conf, 'RAUL_LOG_DEBUG', 1)
@@ -122,6 +126,7 @@ def configure(conf):
autowaf.display_msg(conf, "HTTP", conf.is_defined('HAVE_SOUP'))
autowaf.display_msg(conf, "LV2", conf.is_defined('HAVE_LILV'))
autowaf.display_msg(conf, "GUI", str(conf.env['INGEN_BUILD_GUI'] == 1))
+ autowaf.display_msg(conf, "LV2 Bundle", conf.env['INGEN_BUNDLE_DIR'])
autowaf.display_msg(conf, "HTML plugin documentation support",
conf.is_defined('HAVE_WEBKIT'))
print('')