aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorDominic Clark <mrdomclark@gmail.com>2021-09-14 04:22:42 +0100
committerGitHub <noreply@github.com>2021-09-13 20:22:42 -0700
commit88e62788be33f9a57963c22e2bea89702edf74fd (patch)
tree807f9a53f5e2e78e5983086d832da5034d694550 /ports
parent49ce29005de4be249dc0cd0c663995064e9b2ed0 (diff)
downloadvcpkg-88e62788be33f9a57963c22e2bea89702edf74fd.tar.gz
vcpkg-88e62788be33f9a57963c22e2bea89702edf74fd.zip
[lv2] Fix installation of headers to legacy paths (#20102)
* Fix LV2 old header path mapping * Update version files
Diffstat (limited to 'ports')
-rw-r--r--ports/lv2/CMakeLists.txt4
-rw-r--r--ports/lv2/vcpkg.json1
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/lv2/CMakeLists.txt b/ports/lv2/CMakeLists.txt
index 6e17095e9..a1d3d13cc 100644
--- a/ports/lv2/CMakeLists.txt
+++ b/ports/lv2/CMakeLists.txt
@@ -18,9 +18,9 @@ install(FILES lv2/core/lv2.h DESTINATION include)
# Install headers to old URI-style paths, using mapping from wscript
file(READ wscript WSCRIPT)
-string(REGEX MATCHALL "'[^']+' *: 'lv2/[^']+'" SPEC_MAP "${WSCRIPT}")
+string(REGEX MATCHALL "'[^']+' *: *'lv2/[^']+'" SPEC_MAP "${WSCRIPT}")
foreach(PAIR ${SPEC_MAP})
- string(REGEX MATCH "'([^']+)' *: '([^']+)'" _ "${PAIR}")
+ string(REGEX MATCH "'([^']+)' *: *'([^']+)'" _ "${PAIR}")
install(
DIRECTORY "lv2/${CMAKE_MATCH_1}/"
DESTINATION "include/${CMAKE_MATCH_2}"
diff --git a/ports/lv2/vcpkg.json b/ports/lv2/vcpkg.json
index 14ff65d9a..8d0b0cda3 100644
--- a/ports/lv2/vcpkg.json
+++ b/ports/lv2/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "lv2",
"version-semver": "1.18.2",
+ "port-version": 1,
"description": "LV2 is a plugin standard for audio systems. It defines a minimal yet extensible C API for plugin code and a format for plugin \"bundles\".",
"homepage": "https://lv2plug.in",
"license": "ISC",