forked from mirrors/nixpkgs
47 lines
844 B
Nix
47 lines
844 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, pkgconfig
|
|
, python3
|
|
, gst-plugins-base
|
|
, gettext
|
|
, libav
|
|
}:
|
|
|
|
# Note that since gst-libav-1.6, libav is actually ffmpeg. See
|
|
# https://gstreamer.freedesktop.org/releases/1.6/ for more info.
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gst-libav";
|
|
version = "1.16.2";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
|
sha256 = "1wpfilc98bad9nsv3y1qapxp35dvn2mvwvrmqwrsj58cf09gc967";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
gettext
|
|
pkgconfig
|
|
python3
|
|
];
|
|
|
|
buildInputs = [
|
|
gst-plugins-base
|
|
libav
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "FFmpeg/libav plugin for GStreamer";
|
|
homepage = "https://gstreamer.freedesktop.org";
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|