diff options
Diffstat (limited to 'src/sdl_image.mk')
-rw-r--r-- | src/sdl_image.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/sdl_image.mk b/src/sdl_image.mk index ac2cc0a..422e7eb 100644 --- a/src/sdl_image.mk +++ b/src/sdl_image.mk @@ -4,8 +4,8 @@ # SDL_image PKG := sdl_image $(PKG)_IGNORE := -$(PKG)_VERSION := 1.2.10 -$(PKG)_CHECKSUM := 6bae71fdfd795c3dbf39f6c7c0cf8b212914ef97 +$(PKG)_VERSION := 1.2.12 +$(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/ @@ -13,15 +13,13 @@ $(PKG)_URL := http://www.libsdl.org/projects/SDL_image/release/$($(PKG)_FIL $(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 \ |