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

37 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, meson, ninja, pkgconfig, gst-plugins-base, bzip2, libva, wayland
, libdrm, udev, xorg, libGLU_combined, yasm, gstreamer, gst-plugins-bad, nasm
, libvpx, python
2015-05-24 12:53:14 +02:00
}:
stdenv.mkDerivation rec {
name = "gst-vaapi-${version}";
2018-03-30 21:13:54 +02:00
version = "1.14.0";
2015-05-24 12:53:14 +02:00
src = fetchurl {
url = "${meta.homepage}/src/gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz";
2018-03-30 21:13:54 +02:00
sha256 = "1whxk428badv8ibji00sn6hj17cp8l9n93rr948bz2gjbq41zqz4";
2015-05-24 12:53:14 +02:00
};
outputs = [ "out" "dev" ];
2016-04-24 14:39:30 +02:00
nativeBuildInputs = [ meson ninja pkgconfig bzip2 ];
2015-05-24 12:53:14 +02:00
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
];
2015-05-24 12:53:14 +02:00
preConfigure = ''
2015-05-24 12:53:14 +02:00
export GST_PLUGIN_PATH_1_0=$out/lib/gstreamer-1.0
mkdir -p $GST_PLUGIN_PATH_1_0
'';
2015-05-24 12:53:14 +02:00
meta = {
2017-09-16 21:28:31 +02:00
homepage = https://gstreamer.freedesktop.org;
2015-05-24 12:53:14 +02:00
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
};
}