Merge pull request #128883 from primeos/libliftoff

libliftoff: init at 0.1.0
This commit is contained in:
Luke Granger-Brown 2021-07-03 01:53:01 +01:00 committed by GitHub
commit 02b2ec5a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib, stdenv, fetchFromGitHub
, meson, pkg-config, ninja
, libdrm
}:
stdenv.mkDerivation rec {
pname = "libliftoff";
version = "0.1.0";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "1s53jsll3c7272bhmh4jr6k5m1nvn8i1ld704qmzsm852ilmgrla";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ libdrm ];
meta = with lib; {
description = "A lightweight KMS plane library";
longDescription = ''
libliftoff eases the use of KMS planes from userspace without standing in
your way. Users create "virtual planes" called layers, set KMS properties
on them, and libliftoff will pick planes for these layers if possible.
'';
inherit (src.meta) homepage;
changelog = "https://github.com/emersion/libliftoff/releases/tag/v${version}";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}

View File

@ -16511,6 +16511,8 @@ in
liblcf = callPackage ../development/libraries/liblcf { };
libliftoff = callPackage ../development/libraries/libliftoff { };
liblqr1 = callPackage ../development/libraries/liblqr-1 { };
liblockfile = callPackage ../development/libraries/liblockfile { };