mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-20 18:42:23 +00:00
aedi: update webp to 1.2.2
This commit is contained in:
parent
f0646bdd13
commit
397c14c12f
2 changed files with 15 additions and 3 deletions
|
@ -413,12 +413,13 @@ class WebpTarget(CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.0.tar.gz',
|
||||
'2fc8bbde9f97f2ab403c0224fb9ca62b2e6852cbc519e91ceaa7c153ffd88a0c')
|
||||
'https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.2.tar.gz',
|
||||
'7656532f837af5f4cec3ff6bafe552c044dc39bf453587bd5b77450802f4aee6',
|
||||
patches='webp-fix-cmake')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
option_suffices = (
|
||||
'ANIM_UTILS', 'CWEBP', 'DWEBP', 'EXTRAS', 'GIF2WEBP', 'IMG2WEBP', 'VWEBP', 'WEBPINFO', 'WEBPMUX'
|
||||
'ANIM_UTILS', 'CWEBP', 'DWEBP', 'EXTRAS', 'GIF2WEBP', 'IMG2WEBP', 'LIBWEBPMUX', 'VWEBP', 'WEBPINFO',
|
||||
)
|
||||
|
||||
for suffix in option_suffices:
|
||||
|
|
11
patch/webp-fix-cmake.diff
Normal file
11
patch/webp-fix-cmake.diff
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/cmake/WebPConfig.cmake.in
|
||||
+++ b/cmake/WebPConfig.cmake.in
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||
|
||||
-set(WebP_INCLUDE_DIRS "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
|
||||
+set(WebP_INCLUDE_DIRS "webp")
|
||||
set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIRS})
|
||||
set(WebP_LIBRARIES "@INSTALLED_LIBRARIES@")
|
||||
set(WEBP_LIBRARIES "${WebP_LIBRARIES}")
|
Loading…
Reference in a new issue