ffmpeg-sixel: init at nightly-2.3.x

This commit is contained in:
Rahul Gopinath 2016-06-11 15:15:13 -07:00
parent 96066935f2
commit 4227aa2c4f
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, pkgconfig, perl, libsixel, yasm
}:
stdenv.mkDerivation rec {
name = "ffmpeg-sixel-${version}";
version = "nightly-2.3.x";
src = fetchFromGitHub {
owner = "saitoha";
repo = "FFmpeg-SIXEL";
rev = "8566fdb8b7516b54aed58f329dc216e06fc10052";
sha256 = "00s2lggfdj2ibpngpyqqg7360p7yb69ys1ppg59yvv0m0mxk5x3k";
};
buildInputs = [
pkgconfig
libsixel
yasm
];
configurePhase = ''
./configure --enable-libsixel --prefix=$out
'';
postInstall = ''
mv $out/bin/ffmpeg $out/bin/ffmpeg-sixel
'';
meta = with stdenv.lib; {
description = "A complete, cross-platform solution to record, convert and stream audio and video, extended to support console graphics";
homepage = http://www.ffmpeg.org/;
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ vrthra ];
};
}

View File

@ -6961,6 +6961,8 @@ in
ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };
ffmpeg-sixel = callPackage ../development/libraries/ffmpeg-sixel { };
ffms = callPackage ../development/libraries/ffms { };
fftw = callPackage ../development/libraries/fftw { };