1 # Contributor: FigoDaPaura <ffigoDaPaura>
8 pkgdesc="Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card."
10 url="http://virtualgl.org"
12 depends=('libgl' 'libxv' 'turbojpeg' 'libjpeg')
13 makedepends=('cmake' 'mesa')
14 provides=('virtualgl')
20 source=("http://downloads.sourceforge.net/project/virtualgl/VirtualGL/$_srcbranch/VirtualGL-$pkgver.tar.gz")
22 md5sums=('4153b8ffd8d6087c6ec945f687eae332')
25 cd "$srcdir/VirtualGL-$pkgver"
30 cmake .. -DCMAKE_INSTALL_PREFIX=/opt/VirtualGL -DTJPEG_INCLUDE_DIR=/usr/include -DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \
31 -DVGL_LIBDIR=/usr/lib -DVGL_BINDIR=/usr/bin
36 cd "$srcdir/VirtualGL-$pkgver/build"
37 make install DESTDIR="$pkgdir"
39 mkdir -p "$pkgdir/opt/VirtualGL/bin"
40 mv "$pkgdir"/usr/bin/glxinfo "$pkgdir/opt/VirtualGL/bin"
42 md5sums=('e4c5f3b4e887bfc0abe761735fa0bbda')