summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-09-09 14:23:01 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-09-09 14:23:01 (GMT)
commitc41829f89e23817ec91ac27946efc5279ef1e74a (patch)
tree3fa7122b8761a78a1a2cd70f43d223e4af028102
parent84ba7a959cb851409dbe849c0fd44e7119a90b92 (diff)
downloadmxe-c41829f89e23817ec91ac27946efc5279ef1e74a.zip
mxe-c41829f89e23817ec91ac27946efc5279ef1e74a.tar.gz
mxe-c41829f89e23817ec91ac27946efc5279ef1e74a.tar.bz2
sdl2_image: require libwebp as a dependency
See previous commit. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r--src/sdl2_image.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl2_image.mk b/src/sdl2_image.mk
index e8e17d9..3505853 100644
--- a/src/sdl2_image.mk
+++ b/src/sdl2_image.mk
@@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 20b1b0db9dd540d6d5e40c7da8a39c6a81248865
$(PKG)_SUBDIR := SDL2_image-$($(PKG)_VERSION)
$(PKG)_FILE := SDL2_image-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.libsdl.org/projects/SDL_image/release/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc sdl2 jpeg libpng tiff
+$(PKG)_DEPS := gcc sdl2 jpeg libpng libwebp tiff
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://hg.libsdl.org/SDL_image/tags' | \
@@ -17,7 +17,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- $(SED) -i 's,^\(Requires:.*\),\1\nRequires.private: libtiff-4 libpng,' '$(1)/SDL2_image.pc.in'
+ $(SED) -i 's,^\(Requires:.*\),\1\nRequires.private: libtiff-4 libpng libwebp,' '$(1)/SDL2_image.pc.in'
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--with-sdl-prefix='$(PREFIX)/$(TARGET)' \