moonlight-embedded: add libva support

This enables hardware decoding using VA API.
This commit is contained in:
Nikita Uvarov 2019-05-10 10:07:45 +02:00
parent 30e5254de5
commit fc5b5cdaef
No known key found for this signature in database
GPG key ID: F7A5FB3A7C10EF96

View file

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, perl
, alsaLib, libevdev, libopus, udev, SDL2
, ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
, curl, expat, avahi, enet, libuuid
, curl, expat, avahi, enet, libuuid, libva
}:
stdenv.mkDerivation rec {
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [
alsaLib libevdev libopus udev SDL2
ffmpeg pkgconfig xorg.libxcb libvdpau libpulseaudio libcec
xorg.libpthreadstubs curl expat avahi enet libuuid
xorg.libpthreadstubs curl expat avahi enet libuuid libva
];
meta = with stdenv.lib; {