diff --git a/ports/soundtouch/fix-install-includes.patch b/ports/soundtouch/fix-install-includes.patch new file mode 100644 index 00000000000000..38edfdc89d2f7f --- /dev/null +++ b/ports/soundtouch/fix-install-includes.patch @@ -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 + ) + + ####################### diff --git a/ports/soundtouch/portfile.cmake b/ports/soundtouch/portfile.cmake index 09fdcdb0cd2410..b51479e17067ad 100644 --- a/ports/soundtouch/portfile.cmake +++ b/ports/soundtouch/portfile.cmake @@ -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 diff --git a/ports/soundtouch/vcpkg.json b/ports/soundtouch/vcpkg.json index 3d0fba1495698c..6858f627a2742e 100644 --- a/ports/soundtouch/vcpkg.json +++ b/ports/soundtouch/vcpkg.json @@ -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" + } + ] } } } diff --git a/versions/baseline.json b/versions/baseline.json index 28f51b3816201f..8f25550b8bcf5f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9418,7 +9418,7 @@ }, "soundtouch": { "baseline": "2.4.0", - "port-version": 0 + "port-version": 1 }, "soxr": { "baseline": "0.1.3", diff --git a/versions/s-/soundtouch.json b/versions/s-/soundtouch.json index 1b2d47ecf64923..fdae3123b6fb3d 100644 --- a/versions/s-/soundtouch.json +++ b/versions/s-/soundtouch.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "063ca0a77cd5817901138ad679d249e829afe086", + "version": "2.4.0", + "port-version": 1 + }, { "git-tree": "bc13dd17e35d60c64e0af1b3ee27cbe3b816e7d5", "version": "2.4.0",