mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:29:08 +08:00
[opus] update to v1.5.1 (#38124)
Fixes https://github.com/microsoft/vcpkg/issues/38111
Modified the feature name and corresponding option as `avx2` because the
upstream change:
84484a6790
.
Tested all feature and usage on the following triplets:
```
x64-windows
x64-windows-static
x86-windows
```
- [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.~
- [ ] ~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.
This commit is contained in:
parent
00abcfb2e3
commit
4912fbd4c1
@ -2,14 +2,14 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO xiph/opus
|
||||
REF "v${VERSION}"
|
||||
SHA512 86df35cd62ebf3551b2739effb8f818d635656d91d386d7d600a424a92c4c0d6bfbc3986f1ec6cf4950910ac87b28dc9640b9df3b9a6a5a75eb37ae71782b72e
|
||||
HEAD_REF master
|
||||
SHA512 ba79ad035993e7bc4c09b7d77964ba913eb0b2be33305e8a04a8c49aaab21c4d96ac828e31ae45484896105851fdfc8c305c63c8400e4481dd76c62a1c12286b
|
||||
HEAD_REF main
|
||||
PATCHES fix-pkgconfig-version.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
avx AVX_SUPPORTED
|
||||
avx2 AVX2_SUPPORTED
|
||||
)
|
||||
|
||||
set(ADDITIONAL_OPUS_OPTIONS "")
|
||||
@ -52,4 +52,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/cmake"
|
||||
"${CURRENT_PACKAGES_DIR}/lib/cmake"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "opus",
|
||||
"version": "1.4",
|
||||
"version": "1.5.1",
|
||||
"description": "Totally open, royalty-free, highly versatile audio codec",
|
||||
"homepage": "https://github.com/xiph/opus",
|
||||
"license": "BSD-3-Clause",
|
||||
@ -15,8 +15,8 @@
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"avx": {
|
||||
"description": "Builds the library with avx instruction set"
|
||||
"avx2": {
|
||||
"description": "Builds the library with avx2 instruction set"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6573,7 +6573,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"opus": {
|
||||
"baseline": "1.4",
|
||||
"baseline": "1.5.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"opusfile": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0f51fa10fe5bff98d91195334aa9b6456bb43422",
|
||||
"version": "1.5.1",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "b1bf537b6144eb7899c56f1a9bda5de3fd4e2025",
|
||||
"version": "1.4",
|
||||
|
Loading…
Reference in New Issue
Block a user