[lv2] Fix installation of headers to legacy paths (#20102)

* Fix LV2 old header path mapping

* Update version files
This commit is contained in:
Dominic Clark 2021-09-14 04:22:42 +01:00 committed by GitHub
parent 49ce29005d
commit 88e62788be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -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}"

View File

@ -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",

View File

@ -3990,7 +3990,7 @@
},
"lv2": {
"baseline": "1.18.2",
"port-version": 0
"port-version": 1
},
"lz4": {
"baseline": "1.9.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f78e5138684d16deb9657062f3c28606853f9919",
"version-semver": "1.18.2",
"port-version": 1
},
{
"git-tree": "3a811ec51d55cce1d5eaf4a430a8e274f1916bb9",
"version-semver": "1.18.2",