3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libvdpau-va-gl/default.nix
Pierre Bourdon 4445699061
libvdpau-va-gl: drop obsolete ffmpeg_3 dependency (#123757)
I couldn't find any reference as to why this dependency would be
required for 0.4.2. Digging into the changelog, it looks like 0.4.0
dropped the libswscale dependency, so this seems like it's now unneeded.
2021-05-20 14:44:14 -07:00

28 lines
839 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libX11, libpthreadstubs, libXau, libXdmcp
, libXext, libvdpau, glib, libva, libGLU }:
stdenv.mkDerivation rec {
pname = "libvdpau-va-gl";
version = "0.4.2";
src = fetchFromGitHub {
owner = "i-rinat";
repo = "libvdpau-va-gl";
rev = "v${version}";
sha256 = "0asndybfv8xb0fx73sjjw5kydqrahqkm6n04lh589pbf18s5qlld";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva libGLU ];
doCheck = false; # fails. needs DRI access
meta = with 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 ];
};
}