From adc9f57c71401831d732319b44b2de71f0051484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 25 May 2010 18:39:24 +0000 Subject: [PATCH] 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 --- pkgs/development/libraries/ffmpeg/default.nix | 6 ++++-- pkgs/top-level/all-packages.nix | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/default.nix b/pkgs/development/libraries/ffmpeg/default.nix index 70f7feaaf1a9..2cc24d32c3ab 100644 --- a/pkgs/development/libraries/ffmpeg/default.nix +++ b/pkgs/development/libraries/ffmpeg/default.nix @@ -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/; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 34e3d138abe9..928baa70c24f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {