2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
|
2020-05-23 14:53:23 +02:00
|
|
|
, libdrm, libva, libX11, libXext, libXfixes, wayland
|
2017-12-15 22:10:12 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libva-utils";
|
2020-12-18 13:11:27 +01:00
|
|
|
version = "2.10.0";
|
2017-12-15 22:10:12 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-04-23 20:51:52 +02:00
|
|
|
owner = "intel";
|
2017-12-15 22:10:12 +01:00
|
|
|
repo = "libva-utils";
|
|
|
|
rev = version;
|
2020-12-18 13:11:27 +01:00
|
|
|
sha256 = "14v4mw0asjgg4l0683hn87d8jai8lrmcpbfcm9z93p4mpn2sp7aw";
|
2017-12-15 22:10:12 +01:00
|
|
|
};
|
|
|
|
|
2020-05-23 14:53:23 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2017-12-15 22:10:12 +01:00
|
|
|
|
2019-02-01 21:50:21 +01:00
|
|
|
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-23 20:51:52 +02: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";
|
2017-12-15 22:10:12 +01:00
|
|
|
license = licenses.mit;
|
2020-04-23 20:51:52 +02:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
2017-12-15 22:10:12 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|