summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-02-16 10:25:01 +0000
committernia <nia@pkgsrc.org>2021-02-16 10:25:01 +0000
commitd39e7a016e47cc6f721f62557447b4d9edfc245e (patch)
tree5be7a2c4479217c525b2c3b5a0046708fd80c212
parent32364aa7790c6b68117c59520ce19d3a18436706 (diff)
downloadpkgsrc-d39e7a016e47cc6f721f62557447b4d9edfc245e.tar.gz
glew: Update to 2.2.0
Changes: new extensions and minor bug fixes
-rw-r--r--graphics/glew/Makefile9
-rw-r--r--graphics/glew/PLIST4
-rw-r--r--graphics/glew/distinfo12
-rw-r--r--graphics/glew/patches/patch-Makefile23
4 files changed, 20 insertions, 28 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile
index a861b4cee20..7c1c90e5c8e 100644
--- a/graphics/glew/Makefile
+++ b/graphics/glew/Makefile
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.25 2020/03/20 11:57:48 nia Exp $
+# $NetBSD: Makefile,v 1.26 2021/02/16 10:25:01 nia Exp $
-DISTNAME= glew-2.1.0
+DISTNAME= glew-2.2.0
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=glew/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=nigels-com/}
+GITHUB_RELEASE= ${DISTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://glew.sourceforge.net/
+HOMEPAGE= https://github.com/nigels-com/glew
COMMENT= OpenGL Extension Wrangler Library
LICENSE= modified-bsd AND mit
diff --git a/graphics/glew/PLIST b/graphics/glew/PLIST
index 41bb367745a..2cfbe3eae6a 100644
--- a/graphics/glew/PLIST
+++ b/graphics/glew/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2019/05/29 17:36:43 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/02/16 10:25:01 nia Exp $
bin/glewinfo
bin/visualinfo
include/GL/glew.h
@@ -7,5 +7,5 @@ include/GL/wglew.h
lib/libGLEW.a
lib/libGLEW.so
lib/libGLEW.so.${PKGVERSION}
-lib/libGLEW.so.2.1
+lib/libGLEW.so.2.2
lib/pkgconfig/glew.pc
diff --git a/graphics/glew/distinfo b/graphics/glew/distinfo
index 43c5f170ea1..8f552f53039 100644
--- a/graphics/glew/distinfo
+++ b/graphics/glew/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.25 2019/05/29 17:36:43 adam Exp $
+$NetBSD: distinfo,v 1.26 2021/02/16 10:25:01 nia Exp $
-SHA1 (glew-2.1.0.tgz) = 18eca05460d0b61709fc115e632b6fe320718b44
-RMD160 (glew-2.1.0.tgz) = 5eb23369a518f1f88970f8205bd060cd6d56eb8d
-SHA512 (glew-2.1.0.tgz) = 9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab
-Size (glew-2.1.0.tgz) = 764073 bytes
-SHA1 (patch-Makefile) = 2700c7dc81a6c4eea837ae649db6d5b1298b364e
+SHA1 (glew-2.2.0.tgz) = 22d6e9b9e691080eb6313407dbf51cfebc3345ea
+RMD160 (glew-2.2.0.tgz) = d36b8aea152ad3b18889e048eb680ab9772959c9
+SHA512 (glew-2.2.0.tgz) = 57453646635609d54f62fb32a080b82b601fd471fcfd26e109f479b3fef6dfbc24b83f4ba62916d07d62cd06d1409ad7aa19bc1cd7cf3639c103c815b8be31d1
+Size (glew-2.2.0.tgz) = 835861 bytes
+SHA1 (patch-Makefile) = 40e1cc85e625c99f7a6c3aa068b261601419c43a
SHA1 (patch-config_Makefile.freebsd) = dcfdf2a6bde59529412bff2529d976df6c9bf6a4
SHA1 (patch-config_Makefile.linux) = 49ae0366211065225c944cd0088af6e591f12aa9
SHA1 (patch-config_Makefile.netbsd) = b7df2081f77ec7df0a6e7727c3ddcb68129e7e9c
diff --git a/graphics/glew/patches/patch-Makefile b/graphics/glew/patches/patch-Makefile
index b0b59c69127..41c30c086ae 100644
--- a/graphics/glew/patches/patch-Makefile
+++ b/graphics/glew/patches/patch-Makefile
@@ -1,9 +1,9 @@
-$NetBSD: patch-Makefile,v 1.1 2019/05/29 17:36:43 adam Exp $
+$NetBSD: patch-Makefile,v 1.2 2021/02/16 10:25:01 nia Exp $
On Darwin, do not put GLU as required lib in glew.pc.
Use LDFLAGS for linking.
---- Makefile.orig 2017-07-31 11:25:39.000000000 +0000
+--- Makefile.orig 2020-03-15 11:53:59.000000000 +0000
+++ Makefile
@@ -48,8 +48,10 @@ INCDIR ?= $(GLEW_DEST)/include/GL
PKGDIR ?= $(GLEW_DEST)/lib/pkgconfig
@@ -16,28 +16,19 @@ Use LDFLAGS for linking.
DIST_NAME ?= glew-$(GLEW_VERSION)
DIST_SRC_ZIP ?= $(shell pwd)/$(DIST_NAME).zip
-@@ -119,7 +121,7 @@ ifneq ($(STRIP),)
- endif
-
- lib/$(LIB.SHARED): $(LIB.SOBJS)
-- $(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
-+ $(CC) $(LDFLAGS) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
- ifneq ($(LN),)
- $(LN) $(LIB.SHARED) lib/$(LIB.SONAME)
- $(LN) $(LIB.SHARED) lib/$(LIB.DEVLNK)
-@@ -178,13 +180,13 @@ bin:
+@@ -180,13 +182,13 @@ bin:
mkdir bin
- bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.OBJ) lib/$(LIB.SHARED)
+ bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
- $(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.OBJ) $(BIN.LIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(GLEWINFO.BIN.OBJ) $(BIN.LIBS)
++ $(CC) $(LDFLAGS) -o $@ $(GLEWINFO.BIN.OBJ) $(BIN.LIBS)
ifneq ($(STRIP),)
$(STRIP) -x $@
endif
- bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.OBJ) lib/$(LIB.SHARED)
+ bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
- $(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.OBJ) $(BIN.LIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(VISUALINFO.BIN.OBJ) $(BIN.LIBS)
++ $(CC) $(LDFLAGS) -o $@ $(VISUALINFO.BIN.OBJ) $(BIN.LIBS)
ifneq ($(STRIP),)
$(STRIP) -x $@
endif