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