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

73 lines
1.2 KiB
Nix
Raw Normal View History

2019-10-02 10:04:19 -07:00
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gst-plugins-base
, bzip2
, libva
, wayland
, libdrm
, udev
, xorg
2019-11-10 08:44:34 -08:00
, libGLU
, libGL
2019-10-02 10:04:19 -07:00
, gstreamer
, gst-plugins-bad
, nasm
, libvpx
, python
2015-05-24 03:53:14 -07:00
}:
stdenv.mkDerivation rec {
2019-10-02 09:59:16 -07:00
pname = "gstreamer-vaapi";
2019-12-05 09:27:38 -08:00
version = "1.16.2";
2015-05-24 03:53:14 -07:00
src = fetchurl {
2019-10-02 09:59:16 -07:00
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
2019-12-05 09:27:38 -08:00
sha256 = "00f6sx700qm1ximi1ag2c27m35dywwhhg6awhz85va34mfqff78r";
2015-05-24 03:53:14 -07:00
};
outputs = [ "out" "dev" ];
2016-04-24 05:39:30 -07:00
2019-10-02 10:04:19 -07:00
nativeBuildInputs = [
meson
ninja
pkgconfig
bzip2
];
2015-05-24 03:53:14 -07:00
buildInputs = [
2019-10-02 10:04:19 -07:00
gstreamer
gst-plugins-base
gst-plugins-bad
libva
wayland
libdrm
udev
xorg.libX11
xorg.libXext
xorg.libXv
xorg.libXrandr
xorg.libSM
xorg.libICE
2019-11-10 08:44:34 -08:00
libGL
libGLU
2019-10-02 10:04:19 -07:00
nasm
libvpx
python
];
2015-05-24 03:53:14 -07:00
mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
];
2019-10-02 10:04:19 -07: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 03:53:14 -07:00
};
}