-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[soundtouch] update to 2.3.1 #20017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[soundtouch] update to 2.3.1 #20017
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,37 @@ | ||
| vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT) | ||
| vcpkg_fail_port_install(ON_TARGET "UWP") | ||
|
|
||
| if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") | ||
| message(FATAL_ERROR "WindowsStore not supported") | ||
| endif() | ||
|
|
||
| set(VERSION 2.0.0) | ||
|
|
||
| vcpkg_download_distfile(ARCHIVE | ||
| URLS "https://www.surina.net/soundtouch/soundtouch-${VERSION}.zip" | ||
| FILENAME "soundtouch-${VERSION}.zip" | ||
| SHA512 50ef36b6cd21c16e235b908c5518e29b159b11f658a014c47fe767d3d8acebaefefec0ce253b4ed322cbd26387c69c0ed464ddace0c098e61d56d55c198117a5 | ||
| vcpkg_from_gitlab( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| GITLAB_URL https://gitlab.com | ||
| REPO soundtouch/soundtouch | ||
| REF 2.3.1 | ||
| SHA512 1eea5c06dc5af633b5c16902c6a951593190daf75bd6aa12e00c745080f9363e9c45ab52ddc434bd905e4195b306cc38c9143e813430c15c19a275ae1a82df24 | ||
| HEAD_REF master | ||
| ) | ||
|
|
||
| vcpkg_extract_source_archive_ex( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| ARCHIVE ${ARCHIVE} | ||
| vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
| FEATURES | ||
| soundstretch SOUNDSTRETCH | ||
| soundtouchdll SOUNDTOUCH_DLL | ||
| ) | ||
|
|
||
| file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) | ||
| if(SOUNDTOUCH_DLL) | ||
| vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) | ||
| endif() | ||
|
|
||
| vcpkg_configure_cmake( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| PREFER_NINJA | ||
| vcpkg_cmake_configure( | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| OPTIONS ${FEATURE_OPTIONS} | ||
| ) | ||
| vcpkg_cmake_install() | ||
|
|
||
| vcpkg_install_cmake() | ||
| vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/SoundTouch) | ||
| vcpkg_fixup_pkgconfig() | ||
| vcpkg_copy_pdbs() | ||
|
|
||
| file(INSTALL ${SOURCE_PATH}/source/SoundTouchDLL/SoundTouchDLL.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
| if(SOUNDSTRETCH) | ||
| vcpkg_copy_tools(TOOL_NAMES soundstretch AUTO_CLEAN) | ||
| endif() | ||
|
|
||
| file(INSTALL ${SOURCE_PATH}/COPYING.TXT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
| file(INSTALL "${SOURCE_PATH}/COPYING.TXT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,29 @@ | ||
| { | ||
| "name": "soundtouch", | ||
| "version-string": "2.0.0", | ||
| "port-version": 7, | ||
| "version": "2.3.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", | ||
| "supports": "!uwp", | ||
| "dependencies": [ | ||
| { | ||
| "name": "atlmfc", | ||
| "platform": "windows" | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ], | ||
| "features": { | ||
| "soundstretch": { | ||
| "description": "Build the soundstretch command line tool" | ||
| }, | ||
| "soundtouchdll": { | ||
| "description": "Build the SoundTouchDLL C wrapper dynamic library" | ||
| } | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.