2014-01-15 06:13:45 +00:00
|
|
|
{ stdenv
|
2020-08-05 04:25:36 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
2014-01-15 06:13:45 +00:00
|
|
|
, libtsm
|
|
|
|
, systemd
|
|
|
|
, libxkbcommon
|
|
|
|
, libdrm
|
2019-11-10 16:44:34 +00:00
|
|
|
, libGLU, libGL
|
2014-01-15 06:13:45 +00:00
|
|
|
, pango
|
|
|
|
, pixman
|
|
|
|
, pkgconfig
|
|
|
|
, docbook_xsl
|
|
|
|
, libxslt
|
|
|
|
}:
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-05 04:25:36 +01:00
|
|
|
pname = "kmscon";
|
|
|
|
version = "unstable-2018-09-07";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aetf";
|
|
|
|
repo = "kmscon";
|
|
|
|
rev = "01dd0a231e2125a40ceba5f59fd945ff29bf2cdc";
|
|
|
|
sha256 = "0q62kjsvy2iwy8adfiygx2bfwlh83rphgxbis95ycspqidg9py87";
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
|
2014-01-15 06:13:45 +00:00
|
|
|
buildInputs = [
|
2020-08-05 04:25:36 +01:00
|
|
|
libGLU libGL
|
|
|
|
libdrm
|
2014-01-15 06:13:45 +00:00
|
|
|
libtsm
|
|
|
|
libxkbcommon
|
2020-08-05 04:25:36 +01:00
|
|
|
libxslt
|
2014-01-15 06:13:45 +00:00
|
|
|
pango
|
|
|
|
pixman
|
2020-08-05 04:25:36 +01:00
|
|
|
systemd
|
2014-01-15 06:13:45 +00:00
|
|
|
];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2020-08-05 04:25:36 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
docbook_xsl
|
|
|
|
pkgconfig
|
|
|
|
];
|
2016-05-26 20:01:58 +01:00
|
|
|
|
2014-01-15 05:58:46 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-multi-seat"
|
|
|
|
"--disable-debug"
|
|
|
|
"--enable-optimizations"
|
|
|
|
"--with-renderers=bbulk,gltex,pixman"
|
|
|
|
];
|
|
|
|
|
2017-11-16 01:47:33 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2020-08-05 04:25:36 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-01-15 05:58:46 +00:00
|
|
|
description = "KMS/DRM based System Console";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.freedesktop.org/wiki/Software/kmscon/";
|
2020-08-05 04:25:36 +01:00
|
|
|
license = licenses.mit;
|
2020-10-31 05:02:35 +00:00
|
|
|
maintainers = with maintainers; [ omasanori ];
|
2020-08-05 04:25:36 +01:00
|
|
|
platforms = platforms.linux;
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
}
|