mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[soundtouch] Update to 2.3.3, add supports for feature soundtouchdll (#38038)
<!-- If your PR fixes issues, please note that here by adding "Fixes #NNNNNN." for each fixed issue on separate lines. --> Fixes #38022 <!-- If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/. --> - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. All features passed with following triplets: ``` x86-windows x64-windows x64-windows-static ``` Usage test passed on `x64-windows`. <!-- If this PR adds a new port, please uncomment and fill out this checklist: - [ ] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines. - [ ] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all `find_package` calls are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or disabled with [CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html). - [ ] The versioning scheme in `vcpkg.json` matches what upstream says. - [ ] The license declaration in `vcpkg.json` matches what upstream says. - [ ] The installed as the "copyright" file matches what upstream says. - [ ] The source code of the component installed comes from an authoritative source. - [ ] The generated "usage text" is accurate. See [adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md) for context. - [ ] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [ ] Only one version is in the new port's versions file. - [ ] Only one version is added to each modified port's versions file. END OF NEW PORT CHECKLIST (delete this line) --> --------- Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
parent
7846093a43
commit
67b2c31c9e
@ -3,10 +3,8 @@ vcpkg_from_github(
|
||||
GITHUB_HOST https://codeberg.org
|
||||
REPO soundtouch/soundtouch
|
||||
REF ${VERSION}
|
||||
SHA512 93f757b2c1abe16be589e0d191e6c0416c5980843bd416cd5cb820b65a705d98081c0fc7ca0d9880af54b5343318262c77ba39a096bb240ceec084e93ceef964
|
||||
SHA512 9cc507e15be065fe404e3f9ac71cdc596474c4a86b04a4b969c6c3ed4aff865cdf6aee24929046818a7d3791f005778aea112d74ef4d8f60b05460755a08dbe3
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
use-o3-emscripten.patch # Upstream PR: https://codeberg.org/soundtouch/soundtouch/pulls/29
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
@ -1,34 +0,0 @@
|
||||
From 405c4586d4556982fd5bbddf1c70bc4815465c51 Mon Sep 17 00:00:00 2001
|
||||
Date: Sat, 2 Mar 2024 23:02:06 +0100
|
||||
Subject: [PATCH] Use -O3 instead of -Ofast when targeting Emscripten (WASM)
|
||||
|
||||
---
|
||||
CMakeLists.txt | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 14f23e8..dabcb9c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -3,11 +3,16 @@ project(SoundTouch VERSION 2.3.2 LANGUAGES CXX)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
+set(COMPILE_OPTIONS)
|
||||
+
|
||||
if(MSVC)
|
||||
set(COMPILE_DEFINITIONS /O2 /fp:fast)
|
||||
- set(COMPILE_OPTIONS )
|
||||
else()
|
||||
- set(COMPILE_OPTIONS -Ofast)
|
||||
+ if(EMSCRIPTEN)
|
||||
+ list(APPEND COMPILE_OPTIONS -O3)
|
||||
+ else()
|
||||
+ list(APPEND COMPILE_OPTIONS -Ofast)
|
||||
+ endif()
|
||||
endif()
|
||||
|
||||
#####################
|
||||
--
|
||||
2.43.0
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "soundtouch",
|
||||
"version": "2.3.2",
|
||||
"port-version": 3,
|
||||
"version": "2.3.3",
|
||||
"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": [
|
||||
{
|
||||
@ -24,7 +24,8 @@
|
||||
"description": "Build the soundstretch command line tool"
|
||||
},
|
||||
"soundtouchdll": {
|
||||
"description": "Build the SoundTouchDLL C wrapper dynamic library"
|
||||
"description": "Build the SoundTouchDLL C wrapper dynamic library",
|
||||
"supports": "!staticcrt"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8225,8 +8225,8 @@
|
||||
"port-version": 2
|
||||
},
|
||||
"soundtouch": {
|
||||
"baseline": "2.3.2",
|
||||
"port-version": 3
|
||||
"baseline": "2.3.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"soxr": {
|
||||
"baseline": "0.1.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d0278d07d154448d3466b034bf90b111be54e521",
|
||||
"version": "2.3.3",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "a30af1c2b397ee59f6c0048c5453ebbdf4626415",
|
||||
"version": "2.3.2",
|
||||
|
Loading…
Reference in New Issue
Block a user