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