2019-02-01 20:50:21 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig
|
|
|
|
, libdrm, libva, libX11, libXext, libXfixes, wayland, meson, ninja
|
2017-12-15 21:10:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libva-utils";
|
2017-12-15 21:10:12 +00:00
|
|
|
inherit (libva) version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "01org";
|
|
|
|
repo = "libva-utils";
|
|
|
|
rev = version;
|
2019-02-01 01:06:04 +00:00
|
|
|
sha256 = "1yk9bg1wg4nqva3l01s6bghcvc3hb02gp62p1sy5qk0r9mn5kpik";
|
2017-12-15 21:10:12 +00:00
|
|
|
};
|
|
|
|
|
2019-02-01 20:50:21 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
2017-12-15 21:10:12 +00:00
|
|
|
|
2019-02-01 20:50:21 +00:00
|
|
|
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Ddrm=true"
|
|
|
|
"-Dx11=true"
|
|
|
|
"-Dwayland=true"
|
|
|
|
];
|
2017-12-15 21:10:12 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "VAAPI tools: Video Acceleration API";
|
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
|
|
|
|
license = licenses.mit;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-12-15 21:10:12 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|