2019-06-03 18:24:38 +02:00
|
|
|
{ stdenv, fetchurl, cmake, libGL, libGLU, libX11, libXv, libXtst, libjpeg_turbo, fltk }:
|
2015-12-04 22:33:02 +01:00
|
|
|
|
2016-03-03 13:55:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "virtualgl-lib";
|
2019-06-03 18:24:38 +02:00
|
|
|
version = "2.6.2";
|
2015-12-04 22:33:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/virtualgl/VirtualGL-${version}.tar.gz";
|
2019-06-03 18:24:38 +02:00
|
|
|
sha256 = "0ngqwsm9bml6lis0igq3bn92amh04rccd6jhjibj3418hrbzipvr";
|
2015-12-04 22:33:02 +01:00
|
|
|
};
|
|
|
|
|
2016-04-24 19:24:01 +02:00
|
|
|
cmakeFlags = [ "-DVGL_SYSTEMFLTK=1" "-DTJPEG_LIBRARY=${libjpeg_turbo.out}/lib/libturbojpeg.so" ];
|
2015-12-04 22:33:02 +01:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2019-06-03 18:24:38 +02:00
|
|
|
buildInputs = [ libjpeg_turbo libGL libGLU fltk libX11 libXv libXtst ];
|
2015-12-04 22:33:02 +01:00
|
|
|
|
2016-03-03 13:55:55 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-12-04 22:33:02 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.virtualgl.org/";
|
2015-12-04 22:33:02 +01:00
|
|
|
description = "X11 GL rendering in a remote computer with full 3D hw acceleration";
|
2018-09-12 21:54:53 +02:00
|
|
|
license = licenses.wxWindows;
|
2015-12-04 22:33:02 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|