2016-03-03 12:36:27 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libX11, libpthreadstubs, libXau, libXdmcp
|
|
|
|
, libXext, libvdpau, glib, libva, ffmpeg, mesa_glu }:
|
2016-01-24 18:17:10 +01:00
|
|
|
|
2016-03-03 12:36:27 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-01-24 18:17:10 +01:00
|
|
|
name = "libvdpau-va-gl-${version}";
|
2016-08-13 02:08:33 +02:00
|
|
|
version = "0.4.0";
|
2016-01-24 18:17:10 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "i-rinat";
|
|
|
|
repo = "libvdpau-va-gl";
|
|
|
|
rev = "v${version}";
|
2016-08-13 02:08:33 +02:00
|
|
|
sha256 = "1y511jxs0df1fqzjcvb6zln7nbmchv1g6z3lw0z9nsf64ziycj8k";
|
2016-01-24 18:17:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2016-03-03 12:36:27 +01:00
|
|
|
buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva ffmpeg mesa_glu ];
|
2016-01-24 18:17:10 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-11-23 15:49:18 +01:00
|
|
|
homepage = "https://github.com/i-rinat/libvdpau-va-gl";
|
2016-01-24 18:17:10 +01:00
|
|
|
description = "VDPAU driver with OpenGL/VAAPI backend";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|