aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--ports/lv2/CMakeLists.txt4
-rw-r--r--ports/lv2/vcpkg.json1
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/l-/lv2.json5
4 files changed, 9 insertions, 3 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",
diff --git a/versions/baseline.json b/versions/baseline.json
index dde7de7a2..9303aaef3 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3990,7 +3990,7 @@
},
"lv2": {
"baseline": "1.18.2",
- "port-version": 0
+ "port-version": 1
},
"lz4": {
"baseline": "1.9.3",
diff --git a/versions/l-/lv2.json b/versions/l-/lv2.json
index 039be1d3c..d9206bb14 100644
--- a/versions/l-/lv2.json
+++ b/versions/l-/lv2.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "f78e5138684d16deb9657062f3c28606853f9919",
+ "version-semver": "1.18.2",
+ "port-version": 1
+ },
+ {
"git-tree": "3a811ec51d55cce1d5eaf4a430a8e274f1916bb9",
"version-semver": "1.18.2",
"port-version": 0