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 {
|
2008-06-14 19:06:39 +02:00
|
|
|
name = "xorg-sys-opengl-3";
|
2006-01-28 02:13:31 +01:00
|
|
|
builder = ./builder.sh;
|
2015-01-15 05:25:26 +01:00
|
|
|
neededLibs = [xlibs.libXxf86vm xlibs.libXext expat libdrm stdenv.cc.cc];
|
2006-01-28 02:13:31 +01:00
|
|
|
}
|
2007-05-28 16:10:46 +02:00
|
|
|
|