Skip to content

Commit

Permalink
[soundtouch] Update to 2.3.3, add supports for feature soundtouchdll (m…
Browse files Browse the repository at this point in the history
…icrosoft#38038)

<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->
Fixes microsoft#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 <[email protected]>
  • Loading branch information
LilyWangLL and Lily Wang authored Apr 9, 2024
1 parent 7846093 commit 67b2c31
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 42 deletions.
4 changes: 1 addition & 3 deletions ports/soundtouch/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
34 changes: 0 additions & 34 deletions ports/soundtouch/use-o3-emscripten.patch

This file was deleted.

7 changes: 4 additions & 3 deletions ports/soundtouch/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand All @@ -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"
}
}
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/soundtouch.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d0278d07d154448d3466b034bf90b111be54e521",
"version": "2.3.3",
"port-version": 0
},
{
"git-tree": "a30af1c2b397ee59f6c0048c5453ebbdf4626415",
"version": "2.3.2",
Expand Down

0 comments on commit 67b2c31

Please sign in to comment.