[arch-commits] Commit in virtualgl/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Mon Nov 29 12:01:22 UTC 2021
Date: Monday, November 29, 2021 @ 12:01:22
Author: svenstaro
Revision: 1056708
upgpkg: virtualgl 3.0-1
Modified:
virtualgl/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 11:58:45 UTC (rev 1056707)
+++ PKGBUILD 2021-11-29 12:01:22 UTC (rev 1056708)
@@ -3,32 +3,30 @@
# Contributor: Andres Jimenez
pkgname=virtualgl
-pkgver=2.6.5
-pkgrel=2
+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')
+makedepends=('cmake' 'mesa' 'libxtst' 'opencl-headers' 'ninja')
source=("https://downloads.sourceforge.net/project/virtualgl/${pkgver}/VirtualGL-${pkgver}.tar.gz"{,.sig})
-sha512sums=('0ab9e744e400d323bc16f6e2cf310905361745ea4da9e9e9a41cbeb45b1d661eebd38a0fad8ae5df4664d02b341de44c5730af8437e6ef49c7351b4afb953532'
+sha512sums=('9d2f56d44dba936f653ecf0350c581298c4c51d6deb114570df32c044991a61313d59fb140517864e760bc6f7fd93bd27ffd35e2ff8a024243472a822d5cfd98'
'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
+ cd "VirtualGL-$pkgver"
- cmake .. \
+ cmake \
+ -GNinja \
+ -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DTJPEG_INCLUDE_DIR=/usr/include \
-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \
@@ -36,12 +34,12 @@
-DCMAKE_INSTALL_BINDIR=/usr/bin \
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${pkgname} \
-DVGL_FAKEXCB=1
- make
+ ninja -C build
}
package() {
- cd "VirtualGL-$pkgver/build"
- make install DESTDIR="$pkgdir"
+ 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