forked from mirrors/nixpkgs
ffms: 2.21 -> 2.22
This commit is contained in:
parent
45cfd3969a
commit
a7b6f2eee4
|
@ -1,23 +1,26 @@
|
||||||
{ stdenv, fetchurl, zlib, ffmpeg, pkgconfig }:
|
{ stdenv, fetchFromGitHub, zlib, ffmpeg, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ffms-2.21";
|
name = "ffms-${version}";
|
||||||
|
version = "2.22";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = https://codeload.github.com/FFMS/ffms2/tar.gz/2.21;
|
owner = "FFMS";
|
||||||
name = "${name}.tar.gz";
|
repo = "ffms2";
|
||||||
sha256 = "00h2a5yhvr1qzbrzwbjv1ybxrx25lchgral6yxv36aaf4pi3rhn2";
|
rev = version;
|
||||||
|
sha256 = "1ywcx1f3q533qfrbck5qhik3l617qhm062l8zixv02gnla7w6rkm";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-fPIC";
|
NIX_CFLAGS_COMPILE = "-fPIC";
|
||||||
|
|
||||||
buildInputs = [ zlib ffmpeg pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = [ zlib ffmpeg ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://code.google.com/p/ffmpegsource/;
|
homepage = http://github.com/FFMS/ffms2/;
|
||||||
description = "Libav/ffmpeg based source library for easy frame accurate access";
|
description = "Libav/ffmpeg based source library for easy frame accurate access";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
maintainers = with maintainers; [ fuuzetsu ];
|
||||||
platforms = with stdenv.lib.platforms; unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue