From 93895b28ea7bc8cda10f156c5d336f3fc070f8b1 Mon Sep 17 00:00:00 2001 From: Pierre Wendling <50808272+FtZPetruska@users.noreply.github.com> Date: Tue, 14 Feb 2023 13:37:09 -0500 Subject: [PATCH] [opusfile] Fix CMake config on case-sensitive filesystem (#29640) * [opusfile] Fix CMake config for case-sensitive FS. On case-sensitive filesystems, `OpusFileConfig.cmake` is unable to find the exported targets due to mismatch case. See xiph/opusfile#42 * [opusfile] Update baseline. --- ports/opusfile/portfile.cmake | 2 ++ ports/opusfile/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/o-/opusfile.json | 5 +++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ports/opusfile/portfile.cmake b/ports/opusfile/portfile.cmake index 67edb4ae8afd54..bed5e96ee44cfd 100644 --- a/ports/opusfile/portfile.cmake +++ b/ports/opusfile/portfile.cmake @@ -9,6 +9,8 @@ vcpkg_from_github( file(WRITE "${SOURCE_PATH}/package_version" "PACKAGE_VERSION=${VERSION}") +vcpkg_replace_string("${SOURCE_PATH}/cmake/OpusFileConfig.cmake.in" "opusfileTargets.cmake" "OpusFileTargets.cmake") + vcpkg_check_features( OUT_FEATURE_OPTIONS FEATURE_OPTIONS INVERTED_FEATURES diff --git a/ports/opusfile/vcpkg.json b/ports/opusfile/vcpkg.json index a06beb587ac2d8..fcb3308a675e0a 100644 --- a/ports/opusfile/vcpkg.json +++ b/ports/opusfile/vcpkg.json @@ -1,6 +1,7 @@ { "name": "opusfile", "version": "0.12+20221121", + "port-version": 1, "description": "Stand-alone decoder library for .opus streams", "homepage": "https://github.com/xiph/opusfile", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index ab7ad1a4e68f32..120db7ddfc0793 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5802,7 +5802,7 @@ }, "opusfile": { "baseline": "0.12+20221121", - "port-version": 0 + "port-version": 1 }, "orc": { "baseline": "1.7.6", diff --git a/versions/o-/opusfile.json b/versions/o-/opusfile.json index f6b364815c4f36..0f439c53959569 100644 --- a/versions/o-/opusfile.json +++ b/versions/o-/opusfile.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "6b39a2d4ff309c4e2bedf74adeb1cd18f7ab16c9", + "version": "0.12+20221121", + "port-version": 1 + }, { "git-tree": "7694ad3ef2bc0532b9c18a69dc120f2382cf06b2", "version": "0.12+20221121",