mirror of https://git.wownero.com/dsc/mxe.git
Merge pull request #1218 from andrewrk/update-glfw
update glfw3 to 3.1.2
This commit is contained in:
commit
5a390fa52d
14
src/glfw3.mk
14
src/glfw3.mk
|
@ -3,19 +3,15 @@
|
|||
|
||||
PKG := glfw3
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 3.1
|
||||
$(PKG)_CHECKSUM := 4948d5091d71a2249dc6d7e3effab2066089334844cea5cef0489b4a575b0bce
|
||||
$(PKG)_VERSION := 3.1.2
|
||||
$(PKG)_CHECKSUM := 6ac642087682aaf7f8397761a41a99042b2c656498217a1c63ba9706d1eef122
|
||||
$(PKG)_SUBDIR := glfw-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := glfw-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/glfw/glfw/$($(PKG)_VERSION)/$($(PKG)_FILE)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := https://github.com/glfw/glfw/archive/$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://sourceforge.net/projects/glfw/files/glfw/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
grep '^3\.' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
$(call MXE_GET_GITHUB_TAGS, glfw/glfw)
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
Loading…
Reference in New Issue