2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-08-05 03:25:36 +00: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
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2014-01-15 06:13:45 +00:00
|
|
|
, docbook_xsl
|
|
|
|
, libxslt
|
|
|
|
}:
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-05 03:25:36 +00: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 03:25:36 +00:00
|
|
|
libGLU libGL
|
|
|
|
libdrm
|
2014-01-15 06:13:45 +00:00
|
|
|
libtsm
|
|
|
|
libxkbcommon
|
2020-08-05 03:25:36 +00:00
|
|
|
libxslt
|
2014-01-15 06:13:45 +00:00
|
|
|
pango
|
|
|
|
pixman
|
2020-08-05 03:25:36 +00:00
|
|
|
systemd
|
2014-01-15 06:13:45 +00:00
|
|
|
];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2020-08-05 03:25:36 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
docbook_xsl
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2020-08-05 03:25:36 +00:00
|
|
|
];
|
2016-05-26 19:01:58 +00: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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-01-15 05:58:46 +00:00
|
|
|
description = "KMS/DRM based System Console";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.freedesktop.org/wiki/Software/kmscon/";
|
2020-08-05 03:25:36 +00:00
|
|
|
license = licenses.mit;
|
2020-10-31 05:02:35 +00:00
|
|
|
maintainers = with maintainers; [ omasanori ];
|
2020-08-05 03:25:36 +00:00
|
|
|
platforms = platforms.linux;
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
}
|