ffms: 2.40 → 5.0
Changelog: https://github.com/FFMS/ffms2/releases/tag/5.0
This commit is contained in:
parent
cfbeda848e
commit
55d1868675
@ -3,19 +3,19 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, ffmpeg_4
|
, ffmpeg
|
||||||
, zlib
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ffms";
|
pname = "ffms";
|
||||||
version = "2.40";
|
version = "5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FFMS";
|
owner = "FFMS";
|
||||||
repo = "ffms2";
|
repo = "ffms2";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-3bPxt911T0bGpAIS2RxBjo+VV84xW06eKcCj3ZAcmvw=";
|
sha256 = "sha256-Ildl8hbKSFGh4MUBK+k8uYMDrOZD9NSMdPAWIIaGy4E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = "-fPIC";
|
env.NIX_CFLAGS_COMPILE = "-fPIC";
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ffmpeg_4
|
ffmpeg
|
||||||
zlib
|
zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/FFMS/ffms2/";
|
homepage = "https://github.com/FFMS/ffms2";
|
||||||
description = "FFmpeg based source library for easy frame accurate access";
|
description = "FFmpeg based source library for easy frame accurate access";
|
||||||
mainProgram = "ffmsindex";
|
mainProgram = "ffmsindex";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
Loading…
Reference in New Issue
Block a user