2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2017-12-15 22:10:12 +01: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 04:35:40 +01:00
|
|
|
sha256 = "113wdmi4r0qligizj9zmd4a8ml1996x9g2zp2i4pmhb8frv9m8j2";
|
2017-12-15 22:10:12 +01: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;
|
|
|
|
};
|
|
|
|
}
|