2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2017-12-15 21:10:12 +00:00
|
|
|
, libdrm, libva
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libva-utils-${version}";
|
|
|
|
inherit (libva) version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "01org";
|
|
|
|
repo = "libva-utils";
|
|
|
|
rev = version;
|
2018-02-21 03:35:40 +00:00
|
|
|
sha256 = "113wdmi4r0qligizj9zmd4a8ml1996x9g2zp2i4pmhb8frv9m8j2";
|
2017-12-15 21:10:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ libdrm libva ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "VAAPI tools: Video Acceleration API";
|
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ garbas ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|