diff options
Diffstat (limited to 'pkgs/development/libraries/libvdpau-va-gl/default.nix')
-rw-r--r-- | pkgs/development/libraries/libvdpau-va-gl/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvdpau-va-gl/default.nix b/pkgs/development/libraries/libvdpau-va-gl/default.nix new file mode 100644 index 00000000000..51fb858d8be --- /dev/null +++ b/pkgs/development/libraries/libvdpau-va-gl/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, libX11, libpthreadstubs, libvdpau, glib +, libva, ffmpeg, mesa_glu }: + +let + version = "0.3.4"; + +in stdenv.mkDerivation rec { + name = "libvdpau-va-gl-${version}"; + + src = fetchFromGitHub { + owner = "i-rinat"; + repo = "libvdpau-va-gl"; + rev = "v${version}"; + sha256 = "1909f3srm2iy2hv4m6jxg1nxrh9xgsnjs07wfzw3ais1fww0i2nn"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ libX11 libpthreadstubs libvdpau glib libva ffmpeg mesa_glu ]; + + meta = with stdenv.lib; { + homepage = https://github.com/i-rinat/libvdpau-va-gl; + description = "VDPAU driver with OpenGL/VAAPI backend"; + license = licenses.lgpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ abbradar ]; + }; +} |