mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Adding lame to ffmpeg so it can encode mp3, and allow it also build its assembly
routines adding yasm, and --enable-runtime-cpudetection, that I hope will end in faster executions svn path=/nixpkgs/trunk/; revision=21971
This commit is contained in:
parent
a63c1f4c8a
commit
adc9f57c71
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, faad2, libtheora, speex, libvorbis, x264, pkgconfig, xvidcore}:
|
||||
{stdenv, fetchurl, faad2, libtheora, speex, libvorbis, x264, pkgconfig, xvidcore, lame, yasm}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ffmpeg-0.5.1";
|
||||
@ -24,9 +24,11 @@ stdenv.mkDerivation {
|
||||
--enable-libspeex
|
||||
--enable-libx264
|
||||
--enable-libxvid
|
||||
--enable-libmp3lame
|
||||
--enable-runtime-cpudetect
|
||||
'';
|
||||
|
||||
buildInputs = [faad2 libtheora speex libvorbis x264 pkgconfig xvidcore];
|
||||
buildInputs = [faad2 libtheora speex libvorbis x264 pkgconfig xvidcore lame yasm];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.ffmpeg.org/;
|
||||
|
@ -3738,7 +3738,8 @@ let
|
||||
};
|
||||
|
||||
ffmpeg = import ../development/libraries/ffmpeg {
|
||||
inherit fetchurl stdenv faad2 libvorbis speex libtheora x264 pkgconfig xvidcore;
|
||||
inherit fetchurl stdenv faad2 libvorbis speex libtheora x264 pkgconfig xvidcore
|
||||
lame yasm;
|
||||
};
|
||||
|
||||
fftw = import ../development/libraries/fftw {
|
||||
|
Loading…
Reference in New Issue
Block a user