ffms: 2.23 -> 2.40
https://github.com/FFMS/ffms2/releases/tag/2.40 @tadeokondrak agreed to being a maintainer: https://github.com/NixOS/nixpkgs/pull/120846#issuecomment-827849034
This commit is contained in:
parent
e20f991a11
commit
c287776d9e
|
@ -1,20 +1,38 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, zlib, ffmpeg_3, pkg-config }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
|
, ffmpeg
|
||||||
|
, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ffms";
|
pname = "ffms";
|
||||||
version = "2.23";
|
version = "2.40";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FFMS";
|
owner = "FFMS";
|
||||||
repo = "ffms2";
|
repo = "ffms2";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0dkz5b3gxq5p4xz0qqg6l2sigszrlsinz3skyf0ln4wf3zrvf8m5";
|
sha256 = "sha256-3bPxt911T0bGpAIS2RxBjo+VV84xW06eKcCj3ZAcmvw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-fPIC";
|
NIX_CFLAGS_COMPILE = "-fPIC";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ zlib ffmpeg_3 ];
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
preAutoreconf = ''
|
||||||
|
mkdir src/config
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ffmpeg
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
# ffms includes a built-in vapoursynth plugin, see:
|
# ffms includes a built-in vapoursynth plugin, see:
|
||||||
# https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin
|
# https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin
|
||||||
|
@ -25,9 +43,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/FFMS/ffms2/";
|
homepage = "https://github.com/FFMS/ffms2/";
|
||||||
description = "Libav/ffmpeg based source library for easy frame accurate access";
|
description = "FFmpeg based source library for easy frame accurate access";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ tadeokondrak ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue