aboutsummaryrefslogtreecommitdiff
path: root/ports/lv2
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2021-09-08 22:45:37 +0800
committerGitHub <noreply@github.com>2021-09-08 07:45:37 -0700
commit5b2ac1fed8943460726163946ed13154ab81c9ea (patch)
tree74f1d106b76b152ac6dd7bc9f4b29b198e4f93e1 /ports/lv2
parent615547c1d5b363d3586d2012c4cd7d075a0516b8 (diff)
downloadvcpkg-5b2ac1fed8943460726163946ed13154ab81c9ea.tar.gz
vcpkg-5b2ac1fed8943460726163946ed13154ab81c9ea.zip
[libhsplasma/libpcap/lv2/libcrafter] Update to the latest version (#19965)
* [libhsplasma/libpcap/lv2] Update to the latest version * [libpcap] Remove unused comments * Update version files * [lv2] Fix usage [libpcap] Update ci.baseline.txt * [libhsplasma] Remove x64-windows-static=fail from ci.baseline.txt * [libcrafter] Update to 1.0 * [libcrafter] Add vcpkg.json * Update version files * Add CRT check for libpcap and update version as versin-semver for libpcap * Update version files Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/lv2')
-rw-r--r--ports/lv2/CMakeLists.txt2
-rw-r--r--ports/lv2/portfile.cmake14
-rw-r--r--ports/lv2/vcpkg.json14
3 files changed, 19 insertions, 11 deletions
diff --git a/ports/lv2/CMakeLists.txt b/ports/lv2/CMakeLists.txt
index fb51906cd..6e17095e9 100644
--- a/ports/lv2/CMakeLists.txt
+++ b/ports/lv2/CMakeLists.txt
@@ -31,5 +31,5 @@ endforeach()
install(
EXPORT lv2-config
NAMESPACE lv2::
- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/lv2"
+ DESTINATION share/lv2
)
diff --git a/ports/lv2/portfile.cmake b/ports/lv2/portfile.cmake
index 393bd5dc9..1c4e8640d 100644
--- a/ports/lv2/portfile.cmake
+++ b/ports/lv2/portfile.cmake
@@ -1,22 +1,20 @@
-vcpkg_from_gitlab(
- GITLAB_URL https://gitlab.com
+vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO lv2/lv2
- REF v1.18.0
- SHA512 f84c5f2b31f42ed5cab10976d1975743c62f06025a5b67bc99778ba5d0f354c06cb9fad8f5899a52b8c1131f4c9085f5867c83da4d8269c234fd2a22a2c6a689
+ REF cd152104c84bcee9fec22ef780cec2af7ba85d0c #v1.18.2
+ SHA512 77220524481e97222b12782a89efdcfcb73ee6ac9b9aac88741475c60a2c21049153297860a24b77c0ebd4de32d38a38232ba4fc64d12b8558a56ef50b316801
HEAD_REF master
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
- PREFER_NINJA
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets()
+vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(
INSTALL "${SOURCE_PATH}/COPYING"
diff --git a/ports/lv2/vcpkg.json b/ports/lv2/vcpkg.json
index 8192f734a..14ff65d9a 100644
--- a/ports/lv2/vcpkg.json
+++ b/ports/lv2/vcpkg.json
@@ -1,7 +1,17 @@
{
"name": "lv2",
- "version-string": "1.18.0",
+ "version-semver": "1.18.2",
"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"
+ "license": "ISC",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
}