vcpkg/versions
Julian Xhokaxhiu cec6b3798e
[libvorbis] Fix libogg find_package (#39067)
- [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.

---

Fix Ogg find_package.

Libogg now ships with an `OggConfig.cmake` file and the current way to
find it does not work anymore.
All the patch does adds the CONFIG notation to the find_package
function.

---

Repro case:

1. Add this to your own `vcpkg.json`
```json
{
  "name": "test",
  "version": "0.0.1",
  "dependencies": [
    {
      "name": "ffmpeg",
      "default-features": false,
      "features": [
        "vorbis"
      ],
      "platform": "windows"
    }
  ]
}
```

2. Add this line to your own `CMakeLists.txt`
```cmake
find_package(FFmpeg COMPONENTS AVFORMAT AVUTIL AVCODEC SWRESAMPLE)
```

3. See CMake failing with an error similar to this one:
```
CMake Error at REDACTED/vcpkg_installed/x86-windows-static/share/Vorbis/VorbisTargets.cmake:60 (set_target_properties):
  The link interface of target "Vorbis::vorbis" contains:

    Ogg::ogg

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  REDACTED/vcpkg_installed/x86-windows-static/share/Vorbis/VorbisConfig.cmake:30 (include)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
  REDACTED/vcpkg_installed/x86-windows-static/share/ffmpeg/vcpkg-cmake-wrapper.cmake:190 (find_package)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  CMakeLists.txt:1 (find_package)
```

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-06-03 22:40:39 -07:00
..
3- [3fd|python3] switch to vcpkg-msbuild (#33026) 2023-08-09 10:29:22 -07:00
7- [7zip] Switch download source to github (#36228) 2024-01-24 09:57:01 -08:00
a- [boost-math] Fix build on x64-linux-dynamic, add feature legacy (#38728) 2024-05-30 09:53:46 -07:00
b- [BitSerializer] Update to v0.70 (#39074) 2024-06-03 22:14:02 -07:00
c- [folly related] update to 05.27 (#39012) 2024-05-30 10:36:20 -07:00
d- [directx-dxc, directx12-agility] updates ports for latest releases (#39007) 2024-05-29 23:40:14 -07:00
e- [eventpp] Optimize build (#38516) 2024-05-07 20:48:36 -07:00
f- [freeimage] patch typedef for MacOS (#38261) 2024-05-31 03:00:58 -07:00
g- [gsl] update to 2.8 (#38944) 2024-05-27 15:26:45 -07:00
h- [hdf5] Update version to 1.14.4.3 (#38911) 2024-06-02 21:59:19 -07:00
i- [imgui] Update to 1.90.7 (#39017) 2024-05-30 10:25:32 -07:00
j- [Jsonifier] to v0.9.95 and [DiscordCoreAPI] to v2.0.6 (#38556) 2024-05-03 15:26:46 -07:00
k- [kerbal] update to v2024.5.1; support installation of pretty-printer (#39071) 2024-06-03 22:34:01 -07:00
l- [libvorbis] Fix libogg find_package (#39067) 2024-06-03 22:40:39 -07:00
m- [mp3lame] Fix MinGW-w64 compatibility (#38995) 2024-05-30 10:41:43 -07:00
n- [nanoflann] Update to 1.5.5 (#38853) 2024-05-24 19:20:07 -07:00
o- [osg] Enable macro NOMINMAX on windows (#38780) 2024-05-31 12:41:16 -07:00
p- [pixman] Fix x86 builds not using MSVC (#38851) 2024-06-03 22:17:32 -07:00
q- [quill] Update to 4.3.0 (#39049) 2024-06-02 22:14:47 -07:00
r- [realm-core] Update to 14.8.0, cleanup, fix (#39043) 2024-06-02 23:13:24 -07:00
s- [sdl2] Update to 2.30.3 (#39097) 2024-06-03 22:07:22 -07:00
t- [taocpp-json] Misc fixes (#39069) 2024-06-03 22:36:58 -07:00
u- [uriparser] Update to version 0.9.8 (#39047) 2024-06-02 23:16:14 -07:00
v- [vladimirshaleev-ipaddress] Update to 1.1.0 (#39091) 2024-06-03 22:09:07 -07:00
w- [wolfmqtt] update to 1.19.0 (#38849) 2024-05-31 12:44:32 -07:00
x- [xbyak] Update to 7.06 (#38726) 2024-05-15 15:22:35 -07:00
y- [yyjson] Update to 0.9.0 (#38889) 2024-05-27 14:34:10 -07:00
z- [zycore] Update to 1.5.0 (#38694) 2024-05-16 14:52:18 -07:00
baseline.json [libvorbis] Fix libogg find_package (#39067) 2024-06-03 22:40:39 -07:00