summaryrefslogtreecommitdiffstats
path: root/src/sdl_image.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl_image.mk')
-rw-r--r--src/sdl_image.mk17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/sdl_image.mk b/src/sdl_image.mk
index ac2cc0a..fb4186d 100644
--- a/src/sdl_image.mk
+++ b/src/sdl_image.mk
@@ -1,27 +1,22 @@
-# This file is part of mingw-cross-env.
-# See doc/index.html for further information.
+# This file is part of MXE.
+# See index.html for further information.
-# SDL_image
PKG := sdl_image
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.2.10
-$(PKG)_CHECKSUM := 6bae71fdfd795c3dbf39f6c7c0cf8b212914ef97
+$(PKG)_CHECKSUM := 5e3e393d4e366638048bbb10d6a269ea3f4e4cf2
$(PKG)_SUBDIR := SDL_image-$($(PKG)_VERSION)
$(PKG)_FILE := SDL_image-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE := http://www.libsdl.org/projects/SDL_image/
$(PKG)_URL := http://www.libsdl.org/projects/SDL_image/release/$($(PKG)_FILE)
$(PKG)_DEPS := gcc sdl jpeg libpng tiff
define $(PKG)_UPDATE
- wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_image/?sortby=date' | \
- grep '<a name="' | \
- $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \
+ wget -q -O- 'http://hg.libsdl.org/SDL_image/tags' | \
+ $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
- $(SED) -i 's,^\(Requires:.*\),\1 libpng,' '$(1)/SDL_image.pc.in'
- echo 'Libs.private: -ltiff -ljpeg -lz' >> '$(1)/SDL_image.pc.in'
+ $(SED) -i 's,^\(Requires:.*\),\1 libtiff-4 libpng,' '$(1)/SDL_image.pc.in'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \