2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
|
2020-06-18 07:06:33 +00:00
|
|
|
, libdrm, libva, libX11, libXext, libXfixes, wayland
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libva-utils";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.21.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-05-03 17:38:23 +00:00
|
|
|
owner = "intel";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "libva-utils";
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-+Ayx5Csgeip2qj1ywE7cBxupXiYJTNXhRo17009vG4I=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-03 17:38:23 +00:00
|
|
|
description = "A collection of utilities and examples for VA-API";
|
|
|
|
longDescription = ''
|
|
|
|
libva-utils is a collection of utilities and examples to exercise VA-API
|
|
|
|
in accordance with the libva project.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/intel/libva-utils";
|
|
|
|
changelog = "https://raw.githubusercontent.com/intel/libva-utils/${version}/NEWS";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2022-04-15 01:41:22 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|