2016-03-03 14:36:27 +03:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libX11, libpthreadstubs, libXau, libXdmcp
|
2018-02-24 15:59:47 +03:00
|
|
|
, libXext, libvdpau, glib, libva, ffmpeg, libGLU }:
|
2016-01-24 20:17:10 +03:00
|
|
|
|
2016-03-03 14:36:27 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "libvdpau-va-gl";
|
2016-11-23 18:02:08 +03:00
|
|
|
version = "0.4.2";
|
2016-01-24 20:17:10 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "i-rinat";
|
|
|
|
repo = "libvdpau-va-gl";
|
|
|
|
rev = "v${version}";
|
2016-11-23 18:02:08 +03:00
|
|
|
sha256 = "0asndybfv8xb0fx73sjjw5kydqrahqkm6n04lh589pbf18s5qlld";
|
2016-01-24 20:17:10 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2018-02-24 15:59:47 +03:00
|
|
|
buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva ffmpeg libGLU ];
|
2016-01-24 20:17:10 +03:00
|
|
|
|
2018-04-25 06:20:18 +03:00
|
|
|
doCheck = false; # fails. needs DRI access
|
|
|
|
|
2016-01-24 20:17:10 +03:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = https://github.com/i-rinat/libvdpau-va-gl;
|
2016-01-24 20:17:10 +03:00
|
|
|
description = "VDPAU driver with OpenGL/VAAPI backend";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|