[wavpack] Update to 5.7.0 (#41244)

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
This commit is contained in:
Crindzebra Sjimo 2024-09-30 23:56:14 +08:00 committed by GitHub
parent b0186b1c29
commit 2071237e14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 54 additions and 6 deletions

View File

@ -0,0 +1,25 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c9f9e70..74b6ba2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -624,8 +624,19 @@ if(WAVPACK_INSTALL_CMAKE_MODULE)
write_basic_package_version_file(wavpack-config-version.cmake COMPATIBILITY SameMinorVersion)
endif()
+ configure_package_config_file(
+ ${CMAKE_CURRENT_LIST_DIR}/wavpack-config.cmake.in
+ "${CMAKE_CURRENT_BINARY_DIR}/wavpack-config.cmake"
+ INSTALL_DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}
+ )
+
+ install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/wavpack-config.cmake"
+ DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}
+ )
+
install(EXPORT wavpack-targets
- FILE wavpack-config.cmake
+ FILE wavpack-targets.cmake
NAMESPACE WavPack::
DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}
)

View File

@ -0,0 +1,16 @@
diff --git a/wavpack-config.cmake.in b/wavpack-config.cmake.in
new file mode 100644
index 0000000..eb6afd8
--- /dev/null
+++ b/wavpack-config.cmake.in
@@ -0,0 +1,9 @@
+@PACKAGE_INIT@
+
+include(CMakeFindDependencyMacro)
+
+if(NOT WIN32 AND "@WAVPACK_ENABLE_THREADS@")
+ find_dependency(Threads)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/wavpack-targets.cmake")
\ No newline at end of file

View File

@ -1,8 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO dbry/WavPack
REF 5.6.0
SHA512 16e1b5a74261843dff148eee6a83a0c84717477c06907af3ee1bc799f9157ba8c0d3c71eee9d93d74a1081151198a8a23d84c14a60c4b35fc145d10ee901cca1
REF ${VERSION}
SHA512 7a0b00ee19a784b5a2ae40c1d86ddf47d989b0302ee32e6b2f4db828d632b877566f9bb8c1998d129b022f988966f29db05b7a2b59cefdd5b603292ea20464ec
PATCHES
CMakeLists-patch.diff
config-patch.diff
)
vcpkg_cmake_configure(

View File

@ -1,7 +1,6 @@
{
"name": "wavpack",
"version": "5.6.0",
"port-version": 2,
"version": "5.7.0",
"description": "WavPack encode/decode library, command-line programs, and several plugins",
"homepage": "https://github.com/dbry/WavPack",
"license": "BSD-3-Clause",

View File

@ -9513,8 +9513,8 @@
"port-version": 0
},
"wavpack": {
"baseline": "5.6.0",
"port-version": 2
"baseline": "5.7.0",
"port-version": 0
},
"wayland": {
"baseline": "1.21.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a761d9ea9e181d39ee982c68be01ad8fecce6f16",
"version": "5.7.0",
"port-version": 0
},
{
"git-tree": "7f568a69d6cfea01660bacc223ad2f5c61063a32",
"version": "5.6.0",