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

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


    Date: Monday, November 29, 2021 @ 12:12:12
  Author: svenstaro
Revision: 1056719

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 12:12:02 UTC (rev 1056718)
+++ PKGBUILD	2021-11-29 12:12:12 UTC (rev 1056719)
@@ -1,45 +0,0 @@
-# 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
-}

Copied: virtualgl/repos/community-x86_64/PKGBUILD (from rev 1056718, virtualgl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 12:12:12 UTC (rev 1056719)
@@ -0,0 +1,46 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: FigoDaPaura <ffigoDaPaura>
+# Contributor: Andres Jimenez
+
+pkgname=virtualgl
+pkgver=3.0
+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' '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
+  mv "$pkgdir"/usr/bin/eglinfo "$pkgdir"/usr/bin/veglinfo
+}



More information about the arch-commits mailing list