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