gst_all_1.gst-libav: 1.16.0 -> 1.16.1
This commit is contained in:
parent
e8043ce0ab
commit
ca789d36ff
@ -1,43 +1,46 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig
|
{ stdenv
|
||||||
, python, yasm, gst-plugins-base, orc, bzip2
|
, lib
|
||||||
, gettext, withSystemLibav ? true, libav ? null
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkgconfig
|
||||||
|
, python3
|
||||||
|
, gst-plugins-base
|
||||||
|
, gettext
|
||||||
|
, libav
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# Note that since gst-libav-1.6, libav is actually ffmpeg. See
|
# Note that since gst-libav-1.6, libav is actually ffmpeg. See
|
||||||
# https://gstreamer.freedesktop.org/releases/1.6/ for more info.
|
# https://gstreamer.freedesktop.org/releases/1.6/ for more info.
|
||||||
|
|
||||||
assert withSystemLibav -> libav != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gst-libav";
|
pname = "gst-libav";
|
||||||
version = "1.16.0";
|
version = "1.16.1";
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://gstreamer.freedesktop.org;
|
|
||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
|
||||||
platforms = stdenv.lib.platforms.unix;
|
|
||||||
};
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "16ixqpfrr7plaaz14n3vagr2q5xbfkv7gpmcsyndrkx98f813b6z";
|
sha256 = "1i31ra0l77cfahb6k5xpx45zwvpskzm848aijsbbx9x4x65799g8";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = with stdenv.lib;
|
nativeBuildInputs = [
|
||||||
[ meson ninja gettext pkgconfig python ]
|
meson
|
||||||
++ optional (!withSystemLibav) yasm
|
ninja
|
||||||
;
|
gettext
|
||||||
|
pkgconfig
|
||||||
buildInputs = with stdenv.lib;
|
python3
|
||||||
[ gst-plugins-base orc bzip2 ]
|
|
||||||
++ optional withSystemLibav libav
|
|
||||||
;
|
|
||||||
|
|
||||||
mesonFlags = [
|
|
||||||
# Enables all features, so that we know when new dependencies are necessary.
|
|
||||||
"-Dauto_features=enabled"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user