[arch-commits] Commit in glew/repos/staging-x86_64 (4 files)

Andreas Radke andyrtr at archlinux.org
Sat Apr 25 08:59:19 UTC 2020


    Date: Saturday, April 25, 2020 @ 08:59:19
  Author: andyrtr
Revision: 381534

archrelease: copy trunk to staging-x86_64

Added:
  glew/repos/staging-x86_64/PKGBUILD
    (from rev 381533, glew/trunk/PKGBUILD)
  glew/repos/staging-x86_64/glew-install.patch
    (from rev 381533, glew/trunk/glew-install.patch)
Deleted:
  glew/repos/staging-x86_64/PKGBUILD
  glew/repos/staging-x86_64/glew-install.patch

--------------------+
 PKGBUILD           |   74 ++++++++++++-------------
 glew-install.patch |  146 +++++++++++++++++++++++++--------------------------
 2 files changed, 110 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-25 08:59:11 UTC (rev 381533)
+++ PKGBUILD	2020-04-25 08:59:19 UTC (rev 381534)
@@ -1,37 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: SleepyDog
-
-pkgname=glew
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="The OpenGL Extension Wrangler Library"
-arch=('x86_64')
-url="https://github.com/nigels-com/glew"
-license=('BSD' 'MIT' 'GPL')
-depends=('libxmu' 'libxi' 'glu')
-povides=('libGLEW.so')
-# https://sourceforge.net/projects/glew/files/glew/
-source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz
-        glew-install.patch)
-sha1sums=('22d6e9b9e691080eb6313407dbf51cfebc3345ea'
-          'e1bfa1e6ae3c7a553920978111092ea9d3a33c95')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -Np1 -i ../glew-install.patch
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  make \
-   STRIP= \
-   LIBDIR=/usr/lib
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make install.all DESTDIR="$pkgdir" \
-    LIBDIR=/usr/lib
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: glew/repos/staging-x86_64/PKGBUILD (from rev 381533, glew/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-25 08:59:19 UTC (rev 381534)
@@ -0,0 +1,37 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=2.2.0
+pkgrel=2
+pkgdesc="The OpenGL Extension Wrangler Library"
+arch=('x86_64')
+url="https://github.com/nigels-com/glew"
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'glu')
+provides=('libGLEW.so')
+# https://sourceforge.net/projects/glew/files/glew/
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz
+        glew-install.patch)
+sha1sums=('22d6e9b9e691080eb6313407dbf51cfebc3345ea'
+          'e1bfa1e6ae3c7a553920978111092ea9d3a33c95')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../glew-install.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make \
+   STRIP= \
+   LIBDIR=/usr/lib
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make install.all DESTDIR="$pkgdir" \
+    LIBDIR=/usr/lib
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: glew-install.patch
===================================================================
--- glew-install.patch	2020-04-25 08:59:11 UTC (rev 381533)
+++ glew-install.patch	2020-04-25 08:59:19 UTC (rev 381534)
@@ -1,73 +0,0 @@
---- glew-2.2.0/Makefile	2020-03-15 12:53:59.000000000 +0100
-+++ glew-2.2.0/Makefile	2020-04-17 11:51:25.568482195 +0200
-@@ -120,7 +120,7 @@
- endif
- 
- $(LIB.SHARED.DIR)/$(LIB.SHARED): $(LIB.SOBJS)
--	$(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
-+	$(LD) $(LDFLAGS.SO) $(LDFLAGS) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
- ifneq ($(LN),)
- 	$(LN) $(LIB.SHARED) $(LIB.SHARED.DIR)/$(LIB.SONAME)
- 	$(LN) $(LIB.SHARED) $(LIB.SHARED.DIR)/$(LIB.DEVLNK)
-@@ -131,11 +131,11 @@
- 
- tmp/$(SYSTEM)/default/static/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
- 	@mkdir -p $(dir $@)
--	$(CC) -DGLEW_NO_GLU -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
-+	$(CC) -DGLEW_NO_GLU -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
- 
- tmp/$(SYSTEM)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
- 	@mkdir -p $(dir $@)
--	$(CC) -DGLEW_NO_GLU -DGLEW_BUILD $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
-+	$(CC) -DGLEW_NO_GLU -DGLEW_BUILD $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
- 
- # Force re-write of glew.pc, GLEW_DEST can vary
- 
-@@ -180,13 +180,13 @@
- 	mkdir bin
- 
- 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)
- ifneq ($(STRIP),)
- 	$(STRIP) -x $@
- endif
- 
- 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)
- ifneq ($(STRIP),)
- 	$(STRIP) -x $@
- endif
-@@ -193,11 +193,11 @@
- 
- $(GLEWINFO.BIN.OBJ): $(GLEWINFO.BIN.SRC) include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
- 	@mkdir -p $(dir $@)
--	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
-+	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
- 
- $(VISUALINFO.BIN.OBJ): $(VISUALINFO.BIN.SRC) include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
- 	@mkdir -p $(dir $@)
--	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
-+	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
- 
- # Install targets
- 
---- glew-2.1.0/Makefile.install	2018-08-15 13:51:45.220637107 +0200
-+++ glew-2.1.0/Makefile	2018-08-15 13:52:02.168740876 +0200
-@@ -231,6 +231,7 @@ install.bin: glew.bin
- 
- install.include:
- 	$(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)"
-+	$(INSTALL) -m 0644 include/GL/eglew.h "$(DESTDIR)$(INCDIR)/"
- 	$(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/"
- 	$(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/"
- 	$(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/"
-@@ -241,6 +242,7 @@ install.pkgconfig: glew.pc
- 	$(INSTALL) -m 0644 glew.pc "$(DESTDIR)$(PKGDIR)/"
- 
- uninstall:
-+	$(RM) "$(DESTDIR)$(INCDIR)/eglew.h"
- 	$(RM) "$(DESTDIR)$(INCDIR)/wglew.h"
- 	$(RM) "$(DESTDIR)$(INCDIR)/glew.h"
- 	$(RM) "$(DESTDIR)$(INCDIR)/glxew.h"

Copied: glew/repos/staging-x86_64/glew-install.patch (from rev 381533, glew/trunk/glew-install.patch)
===================================================================
--- glew-install.patch	                        (rev 0)
+++ glew-install.patch	2020-04-25 08:59:19 UTC (rev 381534)
@@ -0,0 +1,73 @@
+--- glew-2.2.0/Makefile	2020-03-15 12:53:59.000000000 +0100
++++ glew-2.2.0/Makefile	2020-04-17 11:51:25.568482195 +0200
+@@ -120,7 +120,7 @@
+ endif
+ 
+ $(LIB.SHARED.DIR)/$(LIB.SHARED): $(LIB.SOBJS)
+-	$(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
++	$(LD) $(LDFLAGS.SO) $(LDFLAGS) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
+ ifneq ($(LN),)
+ 	$(LN) $(LIB.SHARED) $(LIB.SHARED.DIR)/$(LIB.SONAME)
+ 	$(LN) $(LIB.SHARED) $(LIB.SHARED.DIR)/$(LIB.DEVLNK)
+@@ -131,11 +131,11 @@
+ 
+ tmp/$(SYSTEM)/default/static/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+-	$(CC) -DGLEW_NO_GLU -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
++	$(CC) -DGLEW_NO_GLU -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
+ 
+ tmp/$(SYSTEM)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+-	$(CC) -DGLEW_NO_GLU -DGLEW_BUILD $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
++	$(CC) -DGLEW_NO_GLU -DGLEW_BUILD $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
+ 
+ # Force re-write of glew.pc, GLEW_DEST can vary
+ 
+@@ -180,13 +180,13 @@
+ 	mkdir bin
+ 
+ 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)
+ ifneq ($(STRIP),)
+ 	$(STRIP) -x $@
+ endif
+ 
+ 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)
+ ifneq ($(STRIP),)
+ 	$(STRIP) -x $@
+ endif
+@@ -193,11 +193,11 @@
+ 
+ $(GLEWINFO.BIN.OBJ): $(GLEWINFO.BIN.SRC) include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+-	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
++	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
+ 
+ $(VISUALINFO.BIN.OBJ): $(VISUALINFO.BIN.SRC) include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+-	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
++	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
+ 
+ # Install targets
+ 
+--- glew-2.1.0/Makefile.install	2018-08-15 13:51:45.220637107 +0200
++++ glew-2.1.0/Makefile	2018-08-15 13:52:02.168740876 +0200
+@@ -231,6 +231,7 @@ install.bin: glew.bin
+ 
+ install.include:
+ 	$(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)"
++	$(INSTALL) -m 0644 include/GL/eglew.h "$(DESTDIR)$(INCDIR)/"
+ 	$(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/"
+ 	$(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/"
+ 	$(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/"
+@@ -241,6 +242,7 @@ install.pkgconfig: glew.pc
+ 	$(INSTALL) -m 0644 glew.pc "$(DESTDIR)$(PKGDIR)/"
+ 
+ uninstall:
++	$(RM) "$(DESTDIR)$(INCDIR)/eglew.h"
+ 	$(RM) "$(DESTDIR)$(INCDIR)/wglew.h"
+ 	$(RM) "$(DESTDIR)$(INCDIR)/glew.h"
+ 	$(RM) "$(DESTDIR)$(INCDIR)/glxew.h"



More information about the arch-commits mailing list