diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-09-09 14:17:48 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-09-09 14:18:31 (GMT) |
commit | 84ba7a959cb851409dbe849c0fd44e7119a90b92 (patch) | |
tree | 7a3772edc1bc1674484a167c8f44ff31f471786a /src/sdl_image.mk | |
parent | 5339e2c6d3bbf397275f7756d5b045f9277cb276 (diff) | |
download | mxe-84ba7a959cb851409dbe849c0fd44e7119a90b92.zip mxe-84ba7a959cb851409dbe849c0fd44e7119a90b92.tar.gz mxe-84ba7a959cb851409dbe849c0fd44e7119a90b92.tar.bz2 |
sdl_image: explicitly depend on libwebp
Based on a patch by Luis Saavedra <luis94855510@gmail.com>.
Fixes #505.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/sdl_image.mk')
-rw-r--r-- | src/sdl_image.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sdl_image.mk b/src/sdl_image.mk index 7e7b28d..67252b1 100644 --- a/src/sdl_image.mk +++ b/src/sdl_image.mk @@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 5e3e393d4e366638048bbb10d6a269ea3f4e4cf2 $(PKG)_SUBDIR := SDL_image-$($(PKG)_VERSION) $(PKG)_FILE := SDL_image-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.libsdl.org/projects/SDL_image/release/$($(PKG)_FILE) -$(PKG)_DEPS := gcc sdl jpeg libpng tiff +$(PKG)_DEPS := gcc sdl jpeg libpng libwebp tiff define $(PKG)_UPDATE $(WGET) -q -O- 'http://hg.libsdl.org/SDL_image/tags' | \ @@ -19,7 +19,7 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - $(SED) -i 's,^\(Requires:.*\),\1 libtiff-4 libpng,' '$(1)/SDL_image.pc.in' + $(SED) -i 's,^\(Requires:.*\),\1 libtiff-4 libpng libwebp,' '$(1)/SDL_image.pc.in' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \ @@ -29,6 +29,7 @@ define $(PKG)_BUILD --disable-jpg-shared \ --disable-png-shared \ --disable-tif-shared \ + --disable-webp-shared \ WINDRES='$(TARGET)-windres' \ LIBS='-lz' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |