2015-12-04 22:33:02 +01:00
|
|
|
{ stdenv, fetchurl, cmake, mesa, libX11, libXv, libjpeg_turbo, fltk }:
|
|
|
|
|
2016-03-03 13:55:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-12-04 22:33:02 +01:00
|
|
|
name = "virtualgl-lib-${version}";
|
2016-03-03 13:55:55 +01:00
|
|
|
version = "2.5";
|
2015-12-04 22:33:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/virtualgl/VirtualGL-${version}.tar.gz";
|
2016-03-03 13:55:55 +01:00
|
|
|
sha256 = "1mnpljmx8nxnmpbx4ja430b3y535wkz185qknsxmk27yz4dbmm8l";
|
2015-12-04 22:33:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DVGL_SYSTEMFLTK=1" "-DTJPEG_LIBRARY=${libjpeg_turbo}/lib/libturbojpeg.so" ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ libjpeg_turbo mesa fltk libX11 libXv ];
|
|
|
|
|
2016-03-03 13:55:55 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-12-04 22:33:02 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.virtualgl.org/;
|
|
|
|
description = "X11 GL rendering in a remote computer with full 3D hw acceleration";
|
|
|
|
license = licenses.free; # many parts under different free licenses
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|