2009-03-10 21:03:51 +00:00
|
|
|
{ stdenv, fetchurl, perl, xlibs, libdvdnav
|
2009-03-10 23:28:06 +00:00
|
|
|
, zlib, a52dec, libmad, faad2, ffmpeg, alsa
|
2009-03-10 22:45:27 +00:00
|
|
|
, pkgconfig, dbus, hal, fribidi, qt4, freefont_ttf
|
2010-06-24 23:55:25 +01:00
|
|
|
, libvorbis, libtheora, speex, lua, libgcrypt
|
2006-06-29 13:41:25 +01:00
|
|
|
}:
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2010-06-24 23:55:25 +01:00
|
|
|
name = "vlc-1.1.0";
|
2003-12-03 21:58:16 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-06-24 23:55:25 +01:00
|
|
|
url = http://download.videolan.org/pub/videolan/vlc/1.1.0/vlc-1.1.0.tar.bz2;
|
|
|
|
sha256 = "1j7icg7a2lr99kpc3sjjdp3z7128y6afnvxsafxlnih0qif2ryx9";
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
|
2004-04-02 16:36:14 +01:00
|
|
|
buildInputs = [
|
2009-03-10 23:28:06 +00:00
|
|
|
perl xlibs.xlibs xlibs.libXv zlib a52dec libmad faad2 ffmpeg
|
|
|
|
alsa libdvdnav libdvdnav.libdvdread pkgconfig dbus hal fribidi qt4
|
2010-06-24 23:55:25 +01:00
|
|
|
libvorbis libtheora speex lua libgcrypt
|
2009-03-10 21:03:51 +00:00
|
|
|
];
|
2006-06-30 00:48:19 +01:00
|
|
|
|
2010-04-14 11:52:20 +01:00
|
|
|
configureFlags = "--enable-alsa --disable-glx --disable-remoteosd --enable-faad --enable-theora --enable-vorbis --enable-speex";
|
2009-03-10 22:45:27 +00:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
substituteInPlace modules/misc/freetype.c --replace \
|
|
|
|
/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf \
|
|
|
|
${freefont_ttf}/share/fonts/truetype/FreeSerifBold.ttf
|
|
|
|
'';
|
2006-10-12 11:53:16 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cross-platform media player and streaming server";
|
2007-12-31 17:55:13 +00:00
|
|
|
homepage = http://www.videolan.org/vlc/;
|
2006-10-12 11:53:16 +01:00
|
|
|
};
|
2003-12-03 21:58:16 +00:00
|
|
|
}
|