From 1403d34fca93ee75a84347fd838506539fb20625 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Apr 2019 09:52:21 +0200 Subject: Add option to override LV2_PATH in applications --- lilv/lilv.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lilv/lilv.h') diff --git a/lilv/lilv.h b/lilv/lilv.h index 52493ed..6ce93d0 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -529,12 +529,20 @@ lilv_world_new(void); */ #define LILV_OPTION_DYN_MANIFEST "http://drobilla.net/ns/lilv#dyn-manifest" +/** + Set application-specific LV2_PATH. This overrides the LV2_PATH from the + environment, so that lilv will only look inside the given path. This can be + used to make self-contained applications. +*/ +#define LILV_OPTION_LV2_PATH "http://drobilla.net/ns/lilv#lv2-path" + /** Set an option option for `world`. Currently recognized options: @ref LILV_OPTION_FILTER_LANG @ref LILV_OPTION_DYN_MANIFEST + @ref LILV_OPTION_LV2_PATH */ LILV_API void lilv_world_set_option(LilvWorld* world, -- cgit v1.2.1