aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Braun <hannesbraun@mail.de>2022-08-16 14:29:58 +0200
committerDavid Robillard <d@drobilla.net>2022-08-16 10:20:58 -0400
commit58d0fa9e2f0b0f58a1af91a4174dd11300226d12 (patch)
tree9eae3ab2a64b3dc70de2377eae93b1a1815a645c
parentc8fb4d21901a4de2c822df537202b6a313e89edd (diff)
downloadlv2-58d0fa9e2f0b0f58a1af91a4174dd11300226d12.tar.xz
Fix bundle installation directory on Windows
-rw-r--r--README.md14
-rw-r--r--meson.build2
2 files changed, 6 insertions, 10 deletions
diff --git a/README.md b/README.md
index 5f4c438..0b6f0a3 100644
--- a/README.md
+++ b/README.md
@@ -15,15 +15,11 @@ Installation
See the [installation instructions](INSTALL.md) for details on how to
configure, build, and install LV2 with meson.
-By default, everything is installed within the `prefix` with a UNIX-style
-hierarchy, and LV2 bundles are installed in the "lv2" subdirectory of the
-`libdir`. The bundle installation directory can be overridden with the
-`lv2dir` option. For example, standard system-wide values for various
-operating systems are:
-
- meson configure -Dlv2dir=/Library/Audio/Plug-Ins/LV2
- meson configure -Dlv2dir=/boot/common/add-ons/lv2
- meson configure -Dlv2dir=C:/Program Files/Common/LV2
+By default, on UNIX-like systems, everything is installed within the `prefix`,
+and LV2 bundles are installed in the "lv2" subdirectory of the `libdir`. On
+other systems, bundles are installed by default to the standard location for
+plugins on the system. The bundle installation directory can be overridden
+with the `lv2dir` option.
The [specification bundles](lv2) are run-time dependencies of LV2 applications.
Programs expect their data to be available somewhere in `LV2_PATH`. See
diff --git a/meson.build b/meson.build
index 6720203..703080b 100644
--- a/meson.build
+++ b/meson.build
@@ -49,7 +49,7 @@ if lv2dir == ''
elif target_machine.system() == 'haiku' and prefix == '/'
lv2dir = '/boot/common/add-ons/lv2'
elif target_machine.system() == 'windows' and prefix == 'C:/'
- lv2dir = 'C:/Program Files/Common/LV2'
+ lv2dir = 'C:/Program Files/Common Files/LV2'
else
lv2dir = prefix / get_option('libdir') / 'lv2'
endif