-
Notifications
You must be signed in to change notification settings - Fork 0
/
VirtualGL.cygport
41 lines (37 loc) · 1.85 KB
/
VirtualGL.cygport
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
38
39
40
41
inherit cmake
NAME=VirtualGL
VERSION=3.0
RELEASE=1
HOMEPAGE=https://VirtualGL.org
CATEGORY=Net
SUMMARY="A toolkit for displaying OpenGL applications to thin clients"
DESCRIPTION="VirtualGL is a toolkit that allows most Linux/Unix OpenGL
applications to be remotely displayed with 3D hardware acceleration to thin
clients, regardless of whether the clients have 3D rendering capabilities, and
regardless of the size of the 3D data being rendered or the speed of the
network.
Using the vglrun script on a Linux or Unix server, the VirtualGL Faker library
is preloaded into an OpenGL application at run time. The faker then intercepts
and modifies ('interposes') certain GLX, OpenGL, X11, and XCB function calls in
order to seamlessly redirect 3D rendering from the application's windows into
corresponding GPU-attached off-screen buffers, read back the rendered frames,
and transport the frames to the '2D X Server' (the X server to which the
application's GUI is being displayed), where the frames are composited back
into the application's windows.
VirtualGL can be used to give hardware-accelerated 3D rendering capabilities to
VNC and other X proxies that either lack OpenGL support or provide it through a
software renderer. In a LAN environment, VGL can also be used with its
built-in high-performance image transport (the VGL Transport), which sends the
rendered frames to the VirtualGL Client application for compositing on a
client-side 2D X server.
This package includes the VirtualGL Client application (vglclient) and the
vglconnect script.
Refer to the VirtualGL User's Guide for usage information."
SRC_URI="https://sourceforge.net/projects/virtualgl/files/${VERSION}/VirtualGL-${VERSION}.tar.gz"
PATCH_URI="virtualgl-glxdemos-tweaks.patch"
src_compile() {
cd ${B}
cygcmake -G"Unix Makefiles" -DTJPEG_INCLUDE_DIR=/usr/include \
-DTJPEG_LIBRARY=-lturbojpeg ${S}
cygmake
}