[arch-commits] Commit in virtualgl/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Mon Nov 29 12:01:33 UTC 2021


    Date: Monday, November 29, 2021 @ 12:01:33
  Author: svenstaro
Revision: 1056709

archrelease: copy trunk to community-x86_64

Added:
  virtualgl/repos/community-x86_64/PKGBUILD
    (from rev 1056708, virtualgl/trunk/PKGBUILD)
Deleted:
  virtualgl/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   92 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 45 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 12:01:22 UTC (rev 1056708)
+++ PKGBUILD	2021-11-29 12:01:33 UTC (rev 1056709)
@@ -1,47 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: FigoDaPaura <ffigoDaPaura>
-# Contributor: Andres Jimenez
-
-pkgname=virtualgl
-pkgver=2.6.5
-pkgrel=2
-pkgdesc="Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card"
-arch=('x86_64')
-url="https://virtualgl.org"
-license=('LGPL')
-depends=('libxv' 'glu' 'libjpeg-turbo' 'xcb-util-keysyms' 'opencl-driver' 'ocl-icd' 'xorg-xhost')
-makedepends=('cmake' 'mesa' 'libxtst' 'opencl-headers')
-source=("https://downloads.sourceforge.net/project/virtualgl/${pkgver}/VirtualGL-${pkgver}.tar.gz"{,.sig})
-sha512sums=('0ab9e744e400d323bc16f6e2cf310905361745ea4da9e9e9a41cbeb45b1d661eebd38a0fad8ae5df4664d02b341de44c5730af8437e6ef49c7351b4afb953532'
-            'SKIP')
-validpgpkeys=('AE1A7BA4EFFF9A9987E1474C4BACCAB36E7FE9A1') # The VirtualGL Project (Signing key for official binaries) <information at VirtualGL.org>
-
-prepare() {
-  cd VirtualGL-$pkgver
-
-  # FS#48403
-  export LDFLAGS="${LDFLAGS/--as-needed,}"
-
-  mkdir build
-}
-
-build() {
-  cd "VirtualGL-$pkgver"/build
-
-  cmake .. \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DTJPEG_INCLUDE_DIR=/usr/include \
-      -DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \
-      -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-      -DCMAKE_INSTALL_BINDIR=/usr/bin \
-      -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${pkgname} \
-      -DVGL_FAKEXCB=1
-  make
-}
-
-package() {
-  cd "VirtualGL-$pkgver/build"
-  make install DESTDIR="$pkgdir"
-
-  mv "$pkgdir"/usr/bin/glxinfo "$pkgdir"/usr/bin/vglxinfo
-}

Copied: virtualgl/repos/community-x86_64/PKGBUILD (from rev 1056708, virtualgl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 12:01:33 UTC (rev 1056709)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: FigoDaPaura <ffigoDaPaura>
+# Contributor: Andres Jimenez
+
+pkgname=virtualgl
+pkgver=3.0
+pkgrel=1
+pkgdesc="Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card"
+arch=('x86_64')
+url="https://virtualgl.org"
+license=('LGPL')
+depends=('libxv' 'glu' 'libjpeg-turbo' 'xcb-util-keysyms' 'opencl-driver' 'ocl-icd' 'xorg-xhost')
+makedepends=('cmake' 'mesa' 'libxtst' 'opencl-headers' 'ninja')
+source=("https://downloads.sourceforge.net/project/virtualgl/${pkgver}/VirtualGL-${pkgver}.tar.gz"{,.sig})
+sha512sums=('9d2f56d44dba936f653ecf0350c581298c4c51d6deb114570df32c044991a61313d59fb140517864e760bc6f7fd93bd27ffd35e2ff8a024243472a822d5cfd98'
+            'SKIP')
+validpgpkeys=('AE1A7BA4EFFF9A9987E1474C4BACCAB36E7FE9A1') # The VirtualGL Project (Signing key for official binaries) <information at VirtualGL.org>
+
+prepare() {
+  # FS#48403
+  export LDFLAGS="${LDFLAGS/--as-needed,}"
+}
+
+build() {
+  cd "VirtualGL-$pkgver"
+
+  cmake \
+      -GNinja \
+      -Bbuild \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DTJPEG_INCLUDE_DIR=/usr/include \
+      -DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \
+      -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+      -DCMAKE_INSTALL_BINDIR=/usr/bin \
+      -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${pkgname} \
+      -DVGL_FAKEXCB=1
+  ninja -C build
+}
+
+package() {
+  cd "VirtualGL-$pkgver"
+  DESTDIR="$pkgdir" ninja -C build install
+
+  mv "$pkgdir"/usr/bin/glxinfo "$pkgdir"/usr/bin/vglxinfo
+}



More information about the arch-commits mailing list