[soundtouch] atlmfc dependency changed for DLL version + CMake include path order (#51162)

This commit is contained in:
Patrick Colis 2026-04-15 04:23:35 +02:00 committed by GitHub
parent 05aff28aa9
commit a0a740034a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 33 additions and 6 deletions

View File

@ -0,0 +1,17 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1234567..abcdefg 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -100,11 +100,11 @@ install(FILES
install(TARGETS SoundTouch
EXPORT SoundTouchTargets
+ COMPONENT SoundTouch
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
- COMPONENT SoundTouch
)
#######################

View File

@ -5,6 +5,8 @@ vcpkg_from_github(
REF ${VERSION}
SHA512 8bd199c6363104ba6c9af1abbd3c4da3567ccda5fe3a68298917817fc9312ecb0914609afba1abd864307b0a596becf450bc7073eeec17b1de5a7c5086fbc45e
HEAD_REF master
PATCHES
fix-install-includes.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,15 +1,12 @@
{
"name": "soundtouch",
"version": "2.4.0",
"port-version": 1,
"description": "SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files.",
"homepage": "https://www.surina.net/soundtouch",
"license": "LGPL-2.1-only",
"supports": "!uwp",
"dependencies": [
{
"name": "atlmfc",
"platform": "windows"
},
{
"name": "vcpkg-cmake",
"host": true
@ -25,7 +22,13 @@
},
"soundtouchdll": {
"description": "Build the SoundTouchDLL C wrapper dynamic library",
"supports": "!staticcrt"
"supports": "!staticcrt",
"dependencies": [
{
"name": "atlmfc",
"platform": "windows"
}
]
}
}
}

View File

@ -9418,7 +9418,7 @@
},
"soundtouch": {
"baseline": "2.4.0",
"port-version": 0
"port-version": 1
},
"soxr": {
"baseline": "0.1.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "063ca0a77cd5817901138ad679d249e829afe086",
"version": "2.4.0",
"port-version": 1
},
{
"git-tree": "bc13dd17e35d60c64e0af1b3ee27cbe3b816e7d5",
"version": "2.4.0",