mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:59:02 +08:00
[lv2] Fix installation of headers to legacy paths (#20102)
* Fix LV2 old header path mapping * Update version files
This commit is contained in:
parent
49ce29005d
commit
88e62788be
@ -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}"
|
||||
|
@ -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",
|
||||
|
@ -3990,7 +3990,7 @@
|
||||
},
|
||||
"lv2": {
|
||||
"baseline": "1.18.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"lz4": {
|
||||
"baseline": "1.9.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f78e5138684d16deb9657062f3c28606853f9919",
|
||||
"version-semver": "1.18.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3a811ec51d55cce1d5eaf4a430a8e274f1916bb9",
|
||||
"version-semver": "1.18.2",
|
||||
|
Loading…
Reference in New Issue
Block a user