nixpkgs/pkgs/development/libraries/gstreamer/vaapi/default.nix
2019-11-14 12:09:05 +01:00

71 lines
1.2 KiB
Nix

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gst-plugins-base
, bzip2
, libva
, wayland
, libdrm
, udev
, xorg
, libGLU_combined
, gstreamer
, gst-plugins-bad
, nasm
, libvpx
, python
}:
stdenv.mkDerivation rec {
pname = "gstreamer-vaapi";
version = "1.16.1";
src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "0fk0nymvbfc04fv63fj2r6q9vvi431svhkrwpr7kdjvq3rphymyb";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [
meson
ninja
pkgconfig
bzip2
];
buildInputs = [
gstreamer
gst-plugins-base
gst-plugins-bad
libva
wayland
libdrm
udev
xorg.libX11
xorg.libXext
xorg.libXv
xorg.libXrandr
xorg.libSM
xorg.libICE
libGLU_combined
nasm
libvpx
python
];
mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
];
meta = with stdenv.lib; {
description = "Set of VAAPI GStreamer Plug-ins";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ tstrobel ];
platforms = platforms.linux;
};
}