[opus] update to v1.5.2 (#40768) (#40771)

This commit is contained in:
Jiangjie 2024-09-09 02:52:43 +08:00 committed by GitHub
parent b5141d7721
commit 4ed66755ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 3 deletions

View File

@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO xiph/opus REPO xiph/opus
REF "v${VERSION}" REF "v${VERSION}"
SHA512 ba79ad035993e7bc4c09b7d77964ba913eb0b2be33305e8a04a8c49aaab21c4d96ac828e31ae45484896105851fdfc8c305c63c8400e4481dd76c62a1c12286b SHA512 4ffefd9c035671024f9720c5129bfe395dea04f0d6b730041c2804e89b1db6e4d19633ad1ae58855afc355034233537361e707f26dc53adac916554830038fab
HEAD_REF main HEAD_REF main
PATCHES fix-pkgconfig-version.patch PATCHES fix-pkgconfig-version.patch
) )
@ -21,6 +21,10 @@ if(VCPKG_TARGET_IS_MINGW)
list(APPEND ADDITIONAL_OPUS_OPTIONS "-DOPUS_USE_NEON=OFF") # for version 1.3.1 (remove for future Opus release) list(APPEND ADDITIONAL_OPUS_OPTIONS "-DOPUS_USE_NEON=OFF") # for version 1.3.1 (remove for future Opus release)
list(APPEND ADDITIONAL_OPUS_OPTIONS "-DOPUS_DISABLE_INTRINSICS=ON") # for HEAD (and future Opus release) list(APPEND ADDITIONAL_OPUS_OPTIONS "-DOPUS_DISABLE_INTRINSICS=ON") # for HEAD (and future Opus release)
endif() endif()
elseif(VCPKG_TARGET_IS_WINDOWS)
if(VCPKG_CRT_LINKAGE STREQUAL "static")
list(APPEND ADDITIONAL_OPUS_OPTIONS "-DOPUS_STATIC_RUNTIME=ON")
endif()
elseif(VCPKG_TARGET_IS_EMSCRIPTEN) elseif(VCPKG_TARGET_IS_EMSCRIPTEN)
set(STACK_PROTECTOR OFF) set(STACK_PROTECTOR OFF)
else() else()

View File

@ -1,6 +1,6 @@
{ {
"name": "opus", "name": "opus",
"version": "1.5.1", "version": "1.5.2",
"description": "Totally open, royalty-free, highly versatile audio codec", "description": "Totally open, royalty-free, highly versatile audio codec",
"homepage": "https://github.com/xiph/opus", "homepage": "https://github.com/xiph/opus",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",

View File

@ -6721,7 +6721,7 @@
"port-version": 0 "port-version": 0
}, },
"opus": { "opus": {
"baseline": "1.5.1", "baseline": "1.5.2",
"port-version": 0 "port-version": 0
}, },
"opusfile": { "opusfile": {

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "368f8193c8c240a844cd342a3a485a0fa62e5774",
"version": "1.5.2",
"port-version": 0
},
{ {
"git-tree": "0f51fa10fe5bff98d91195334aa9b6456bb43422", "git-tree": "0f51fa10fe5bff98d91195334aa9b6456bb43422",
"version": "1.5.1", "version": "1.5.1",