[arch-commits] Commit in freeglut/repos/extra-x86_64 (PKGBUILD PKGBUILD glut.diff)

Jan Steffens heftig at archlinux.org
Mon Sep 30 17:24:30 UTC 2019


    Date: Monday, September 30, 2019 @ 17:24:29
  Author: heftig
Revision: 363574

archrelease: copy trunk to extra-x86_64

Added:
  freeglut/repos/extra-x86_64/PKGBUILD
    (from rev 363573, freeglut/trunk/PKGBUILD)
Deleted:
  freeglut/repos/extra-x86_64/PKGBUILD
  freeglut/repos/extra-x86_64/glut.diff

-----------+
 PKGBUILD  |   81 ++++++++++++++++++++++++++++--------------------------------
 glut.diff |   21 ---------------
 2 files changed, 39 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-30 17:24:11 UTC (rev 363573)
+++ PKGBUILD	2019-09-30 17:24:29 UTC (rev 363574)
@@ -1,42 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=freeglut
-pkgver=3.2.0
-pkgrel=1
-pkgdesc="Provides functionality for small OpenGL programs"
-arch=(x86_64)
-url="http://freeglut.sourceforge.net/"
-license=(MIT)
-depends=(libxi libxrandr libgl)
-makedepends=(mesa glu libxxf86vm cmake)
-replaces=(glut)
-provides=(glut)
-conflicts=(glut)
-source=(https://downloads.sourceforge.net/freeglut/${pkgname}-${pkgver}.tar.gz
-        glut.diff)
-sha512sums=('78da1eaa845607ddd97a6744f3a97ff26cdb562fdf990695c8ac97a60d9d692496e4bf3672acfc522add60823c2f3bc7435e19e8041fbbb5d95851c0b641a818'
-            '6778538722707460a7c71eceee430f3945fcfcff351d0a05623417a183af4e8f85a497e24208b73756b2713bb5c11d39dbd4e6de7f06b8865fd81a1faa23b9a4')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../glut.diff
-}
-
-build() {
-  cmake -H$pkgname-$pkgver -Bbuild \
-    -DFREEGLUT_BUILD_STATIC_LIBS=OFF \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_BUILD_TYPE=None
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --build build --target install
-  ln -sr "$pkgdir"/usr/lib/pkgconfig/{glut,freeglut}.pc
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING
-}
-
-# vim: ts=2 sw=2 et:

Copied: freeglut/repos/extra-x86_64/PKGBUILD (from rev 363573, freeglut/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-30 17:24:29 UTC (rev 363574)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=freeglut
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="Provides functionality for small OpenGL programs"
+arch=(x86_64)
+url="http://freeglut.sourceforge.net/"
+license=(MIT)
+depends=(libxi libxrandr libgl)
+makedepends=(mesa glu libxxf86vm cmake)
+replaces=(glut)
+provides=(glut)
+conflicts=(glut)
+source=(https://downloads.sourceforge.net/freeglut/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('aced4bbcd36269ce6f4ee1982e0f9e3fffbf18c94f785d3215ac9f4809b992e166c7ada496ed6174e13d77c0f7ef3ca4c57d8a282e96cbbe6ff086339ade3b08')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cmake -H$pkgname-$pkgver -Bbuild \
+    -DFREEGLUT_BUILD_STATIC_LIBS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_BUILD_TYPE=None
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --build build --target install
+  ln -sr "$pkgdir"/usr/lib/pkgconfig/{glut,freeglut}.pc
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING
+}
+
+# vim: ts=2 sw=2 et:

Deleted: glut.diff
===================================================================
--- glut.diff	2019-09-30 17:24:11 UTC (rev 363573)
+++ glut.diff	2019-09-30 17:24:29 UTC (rev 363574)
@@ -1,21 +0,0 @@
-diff -u -r freeglut-3.2.0/CMakeLists.txt freeglut-3.2.0-glut/CMakeLists.txt
---- freeglut-3.2.0/CMakeLists.txt	2019-03-26 18:55:42.000000000 +0000
-+++ freeglut-3.2.0-glut/CMakeLists.txt	2019-09-18 22:02:21.093590716 +0000
-@@ -73,7 +73,7 @@
-     include/GL/freeglut_std.h
- )
- IF(FREEGLUT_REPLACE_GLUT)
--    LIST(APPEND FREEGLUT_SRCS
-+    LIST(APPEND FREEGLUT_HEADERS
-         include/GL/glut.h
-     )
- ENDIF()
-@@ -622,7 +622,7 @@
-     "${CMAKE_CURRENT_BINARY_DIR}/FreeGLUT/FreeGLUTConfig.cmake"
-     @ONLY
- )
--SET(ConfigPackageLocation lib/cmake/FreeGLUT)
-+SET(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/FreeGLUT)
- INSTALL(EXPORT FreeGLUTTargets
-     FILE FreeGLUTTargets.cmake
-     NAMESPACE FreeGLUT::


More information about the arch-commits mailing list