diff options
| author | Long Nguyen <nguyen.long.908132@gmail.com> | 2020-12-02 05:13:58 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 14:13:58 -0800 |
| commit | 02f6b897753e7370f09193805a947e928ef4a1ab (patch) | |
| tree | 2d33be71c963f0ee437f80be59ebf90ba1694aa6 /ports/libogg | |
| parent | 326e8c815666cacd2bd67bd79af6e74011708107 (diff) | |
| download | vcpkg-02f6b897753e7370f09193805a947e928ef4a1ab.tar.gz vcpkg-02f6b897753e7370f09193805a947e928ef4a1ab.zip | |
[many ports] mingw support (#14556)
* [vcpkg_configure_make] Only rename import libs on MSVC
* [x264] Only rename import libs on MSVC
* [x265] Add libc++ and libstdc++ as system libs
* [ffmpeg] mingw support
* [libvpx] Set AS environment variable
* [vcpkg_common_definition] Fix a mistake in the prefix and suffix variables
* [vcpkg_configure_make] Strip leading -l from lib list before joining
* [mp3lame] Use vcpkg_configure_make + mingw support
* [x265] Escape the pluses
* [ffmpeg] Add compiler flags for mingw
* [ffmpeg] Add WINVER define in mf_utils.c
* [ffmpeg] Remove unnecessary patch in 0003-fic-windowsinclude.patch
* [mp3lame] Add missing dollar sign
Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>
* [x265] Remove static lib when building shared with mingw
* [libogg] Change library name to libogg on mingw
* [libogg] Bump port version
* [x265] Remove -l(std)c++ flag in pkgconfig file
* [vcpkg_configure_make] Try to fix huge diff
* [mp3lame] Add comment on deprecated function lame_init_old
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'ports/libogg')
| -rw-r--r-- | ports/libogg/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libogg/portfile.cmake | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/libogg/CONTROL b/ports/libogg/CONTROL index c89497a19..57d1748ee 100644 --- a/ports/libogg/CONTROL +++ b/ports/libogg/CONTROL @@ -1,5 +1,5 @@ Source: libogg Version: 1.3.4 -Port-Version: 2 +Port-Version: 3 Description: Ogg is a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs. Homepage: https://github.com/xiph/ogg diff --git a/ports/libogg/portfile.cmake b/ports/libogg/portfile.cmake index e493687c3..2316a2a8a 100644 --- a/ports/libogg/portfile.cmake +++ b/ports/libogg/portfile.cmake @@ -6,6 +6,10 @@ vcpkg_from_github( HEAD_REF master ) +if(VCPKG_TARGET_IS_MINGW) + vcpkg_replace_string(${SOURCE_PATH}/win32/ogg.def "LIBRARY ogg" "LIBRARY libogg") +endif() + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA |
