2006-01-28 02:13:31 +01:00
|
|
|
# This is a very dirty hack to allow hardware acceleration of OpenGL
|
|
|
|
# applications for most (?) users. It will use the driver that your
|
|
|
|
# Linux distribution installed in /usr/lib/libGL.so.1. Hopefully,
|
|
|
|
# this driver uses hardware acceleration.
|
|
|
|
#
|
|
|
|
# Of course, use of the driver in /usr/lib is highly impure. But it
|
|
|
|
# might actually work ;-)
|
|
|
|
|
2007-05-15 22:00:30 +02:00
|
|
|
{stdenv, xlibs, expat, libdrm}:
|
2006-01-28 02:13:31 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-05-15 22:00:30 +02:00
|
|
|
name = "xorg-sys-opengl-2";
|
2006-01-28 02:13:31 +01:00
|
|
|
builder = ./builder.sh;
|
2007-05-15 22:00:30 +02:00
|
|
|
neededLibs = [xlibs.libXxf86vm xlibs.libXext expat libdrm];
|
2006-01-28 02:13:31 +01:00
|
|
|
}
|