From 58d0fa9e2f0b0f58a1af91a4174dd11300226d12 Mon Sep 17 00:00:00 2001 From: Hannes Braun Date: Tue, 16 Aug 2022 14:29:58 +0200 Subject: Fix bundle installation directory on Windows --- README.md | 14 +++++--------- meson.build | 2 +- 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 -- cgit v1.2.1