nixpkgs/pkgs/development/libraries/gstreamer/vaapi/default.nix

71 lines
1.2 KiB
Nix
Raw Normal View History

2019-10-02 18:04:19 +01:00
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gst-plugins-base
, bzip2
, libva
, wayland
, libdrm
, udev
, xorg
, libGLU_combined
, gstreamer
, gst-plugins-bad
, nasm
, libvpx
, python
2015-05-24 11:53:14 +01:00
}:
stdenv.mkDerivation rec {
2019-10-02 17:59:16 +01:00
pname = "gstreamer-vaapi";
2019-10-02 18:04:19 +01:00
version = "1.16.1";
2015-05-24 11:53:14 +01:00
src = fetchurl {
2019-10-02 17:59:16 +01:00
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
2019-10-02 18:04:19 +01:00
sha256 = "0fk0nymvbfc04fv63fj2r6q9vvi431svhkrwpr7kdjvq3rphymyb";
2015-05-24 11:53:14 +01:00
};
outputs = [ "out" "dev" ];
2016-04-24 13:39:30 +01:00
2019-10-02 18:04:19 +01:00
nativeBuildInputs = [
meson
ninja
pkgconfig
bzip2
];
2015-05-24 11:53:14 +01:00
buildInputs = [
2019-10-02 18:04:19 +01:00
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
];
2015-05-24 11:53:14 +01:00
mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
];
2019-10-02 18:04:19 +01:00
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;
2015-05-24 11:53:14 +01:00
};
}