comparison src/freeglut.mk @ 6241:dfdc997c1e4c

freeglute: update to v3.2.2 * src/freeglut-1-fixes.patch: delete * dist-files.mk: remove ref to deleted file * src/freeglut.mk: update version, checksum, use github for update
author John Donoghue <john.donoghue@ieee.org>
date Fri, 27 May 2022 14:24:36 -0400
parents 51bb9fd02236
children 20e395ae2b8d
comparison
equal deleted inserted replaced
6240:fb7597bb493c 6241:dfdc997c1e4c
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := freeglut 4 PKG := freeglut
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 3.2.1 6 $(PKG)_VERSION := 3.2.2
7 $(PKG)_CHECKSUM := 7a62e0d2caad92ff745bc5037592b2753f0b2f20 7 $(PKG)_CHECKSUM := 8e53cc0251165d02cce8d6d5054159c310958b74
8 $(PKG)_SUBDIR := freeglut-$(word 1,$(subst -, ,$($(PKG)_VERSION))) 8 $(PKG)_SUBDIR := freeglut-$(word 1,$(subst -, ,$($(PKG)_VERSION)))
9 $(PKG)_FILE := freeglut-$($(PKG)_VERSION).tar.gz 9 $(PKG)_FILE := freeglut-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freeglut/freeglut/$($(PKG)_VERSION)/$($(PKG)_FILE) 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freeglut/freeglut/$($(PKG)_VERSION)/$($(PKG)_FILE)
11 $(PKG)_DEPS := mesa 11 $(PKG)_DEPS := mesa
12 ifeq ($(USE_SYSTEM_X11_LIBS),no) 12 ifeq ($(USE_SYSTEM_X11_LIBS),no)
14 endif 14 endif
15 15
16 $(PKG)_CMAKE_FLAGS := 16 $(PKG)_CMAKE_FLAGS :=
17 17
18 define $(PKG)_UPDATE 18 define $(PKG)_UPDATE
19 $(WGET) -q -O- 'http://sourceforge.net/projects/freeglut/files/freeglut/' | \ 19 $(WGET) -q -O- 'https://github.com/FreeGLUTProject/freeglut/tags' | \
20 $(SED) -n 's,.*freeglut-\([0-9][^>]*\)\.tar.*,\1,p' | \ 20 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | \
21 head -1 21 head -1
22 endef 22 endef
23 23
24 define $(PKG)_BUILD 24 define $(PKG)_BUILD
25 mkdir '$(1)/build' 25 mkdir '$(1)/build'