comparison src/sdl_image.mk @ 6306:358d242b5875

* src/sdl_image.mk: disable updates on old package
author John Donoghue <john.donoghue@ieee.org>
date Tue, 12 Jul 2022 15:52:15 -0400
parents 3c91c69aad7e
children
comparison
equal deleted inserted replaced
6305:5c4b89a8328d 6306:358d242b5875
9 $(PKG)_FILE := SDL_image-$($(PKG)_VERSION).tar.gz 9 $(PKG)_FILE := SDL_image-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := http://www.libsdl.org/projects/SDL_image/release/$($(PKG)_FILE) 10 $(PKG)_URL := http://www.libsdl.org/projects/SDL_image/release/$($(PKG)_FILE)
11 $(PKG)_DEPS := sdl jpeg libpng tiff 11 $(PKG)_DEPS := sdl jpeg libpng tiff
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'http://hg.libsdl.org/SDL_image/tags' | \ 14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
15 $(SED) -n 's,.*release-\([0-9][^<"]*\).*,\1,p' | \ 15 echo $($(PKG)_VERSION)
16 $(GREP) "^1" | \
17 head -1
18 endef 16 endef
19 17
20 define $(PKG)_BUILD 18 define $(PKG)_BUILD
21 $(SED) -i 's,^\(Requires:.*\),\1 libtiff-4 libpng,' '$(1)/SDL_image.pc.in' 19 $(SED) -i 's,^\(Requires:.*\),\1 libtiff-4 libpng,' '$(1)/SDL_image.pc.in'
22 cd '$(1)' && ./configure \ 20 cd '$(1)' && ./configure \