comparison src/gdk-pixbuf.mk @ 4706:8b0cb58cc3df

* src/gdk-pixbuf.mk: update update function
author John Donoghue
date Thu, 24 May 2018 08:28:29 -0400
parents 13be64f9f16d
children
comparison
equal deleted inserted replaced
4705:f1578ab72f30 4706:8b0cb58cc3df
12 ifneq ($(MXE_SYSTEM),msvc) 12 ifneq ($(MXE_SYSTEM),msvc)
13 $(PKG)_DEPS += jpeg tiff 13 $(PKG)_DEPS += jpeg tiff
14 endif 14 endif
15 15
16 define $(PKG)_UPDATE 16 define $(PKG)_UPDATE
17 $(WGET) -q -O- 'http://git.gnome.org/browse/gdk-pixbuf/refs/tags' | \ 17 $(WGET) -q -O- 'https://github.com/GNOME/gdk-pixbuf/tags' | \
18 grep '<a href=' | \ 18 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \
19 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \ 19 tail -1
20 grep -v '^2\.9' | \
21 head -1
22 endef 20 endef
23 21
24 $(PKG)_EXTRA_CONFIGURE_OPTIONS := 22 $(PKG)_EXTRA_CONFIGURE_OPTIONS :=
25 ifneq ($(MXE_SYSTEM),msvc) 23 ifneq ($(MXE_SYSTEM),msvc)
26 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --without-gdiplus 24 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --without-gdiplus