-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to v1.2.2 * Fix libwebpmux Windows name breakage The pc file relies on the original output name: No 'lib' prefix for MSVC. No 'liblib' prefix for mingw. * Minor portfile updates * Don't self-depend on default features * Fix the libwebpmux feature * Fix internal tool dependencies * Drop Xrandr patch (fixed in freeglut) * Drop X11 patch (fixed in freeglut) * Cleanup CMake config patch, no extra case hacks * Adjust webp lib names in skia, qt5-imageformats * Adjust downstream WEBP cmake usage * Debug qtimageformats [skip actions] * [tiff] Drive-by fix for CMake warning * Drop non-standard debug postfix * Update indentation * Update port versions * Update versions * Revert qtimageformat debug change * Fixup qt5-imageformats change * Update versions
- Loading branch information
Showing
31 changed files
with
185 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 0 additions & 69 deletions
69
ports/libwebp/0002-cmake-config-add-backwards-compatibility.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/cmake/WebPConfig.cmake.in b/cmake/WebPConfig.cmake.in | ||
index 822fc59..fb31829 100644 | ||
--- a/cmake/WebPConfig.cmake.in | ||
+++ b/cmake/WebPConfig.cmake.in | ||
@@ -5,7 +5,17 @@ set(WEBP_VERSION ${WebP_VERSION}) | ||
|
||
include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") | ||
|
||
-set(WebP_INCLUDE_DIRS "@CMAKE_INSTALL_FULL_INCLUDEDIR@") | ||
+get_filename_component(_vcpkg_libwebp_root "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) | ||
+set(WebP_INCLUDE_DIRS "${_vcpkg_libwebp_root}/include") | ||
set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIRS}) | ||
-set(WebP_LIBRARIES "@INSTALLED_LIBRARIES@") | ||
+set(WebP_LIBRARIES "") | ||
+include(SelectLibraryConfigurations) | ||
+foreach(_vcpkg_libwebp_lib IN ITEMS @INSTALLED_LIBRARIES@) | ||
+ string(REPLACE "libwebpmux" "webpmux" _vcpkg_libwebp_lib "${_vcpkg_libwebp_lib}") # offical OUTPUT_NAME | ||
+ find_library(_vcpkg_${_vcpkg_libwebp_lib}_LIBRARY_RELEASE NAMES ${_vcpkg_libwebp_lib} NAMES_PER_DIR PATHS "${_vcpkg_libwebp_root}/lib" NO_DEFAULT_PATH) | ||
+ find_library(_vcpkg_${_vcpkg_libwebp_lib}_LIBRARY_DEBUG NAMES ${_vcpkg_libwebp_lib}d ${_vcpkg_libwebp_lib} NAMES_PER_DIR PATHS "${_vcpkg_libwebp_root}/debug/lib" NO_DEFAULT_PATH) | ||
+ select_library_configurations(_vcpkg_${_vcpkg_libwebp_lib}) | ||
+ list(APPEND WebP_LIBRARIES ${_vcpkg_${_vcpkg_libwebp_lib}_LIBRARIES}) | ||
+endforeach() | ||
set(WEBP_LIBRARIES "${WebP_LIBRARIES}") | ||
+unset(_vcpkg_libwebp_root) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 77a0f85..4a84ed1 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -410,6 +410,8 @@ endif() | ||
|
||
# Build the executables if asked for. | ||
if(WEBP_BUILD_ANIM_UTILS | ||
+ OR WEBP_BUILD_WEBPINFO | ||
+ OR WEBP_BUILD_WEBPMUX | ||
OR WEBP_BUILD_CWEBP | ||
OR WEBP_BUILD_DWEBP | ||
OR WEBP_BUILD_GIF2WEBP |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.