blob: 7ec063ca8978095a574ca82482b8631c43680bae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: FigoDaPaura <ffigoDaPaura>
# Contributor: Andres Jimenez
pkgname=virtualgl
pkgver=2.3.3
pkgrel=1
pkgdesc="Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card"
arch=('i686' 'x86_64' 'mips64el')
url="http://virtualgl.org"
license=('LGPL')
depends=('libxv' 'glu' 'libjpeg-turbo')
makedepends=('cmake' 'mesa')
source=("http://downloads.sourceforge.net/project/virtualgl/VirtualGL/$pkgver/VirtualGL-$pkgver.tar.gz")
sha1sums=('7128fc546f0bc65a74296e19d474e52d41acbf47')
build() {
cd "$srcdir/VirtualGL-$pkgver"
mkdir -p build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr/share \
-DTJPEG_INCLUDE_DIR=/usr/include \
-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \
-DVGL_LIBDIR=/usr/lib \
-DVGL_BINDIR=/usr/bin \
-DVGL_DOCDIR=/usr/share/doc/${pkgname}
make
}
package() {
cd "$srcdir/VirtualGL-$pkgver/build"
make install DESTDIR="$pkgdir"
mv "$pkgdir"/usr/bin/glxinfo "$pkgdir"/usr/bin/vglxinfo
}
|