4d7e5187d8
* xine-lib: dropped the dependency on SDL, which is not really necessary. (And it caused Phonon/KDE to depend on SDL.) svn path=/nixpkgs/trunk/; revision=16680
29 lines
850 B
Nix
29 lines
850 B
Nix
{ stdenv, fetchurl, pkgconfig, xlibs, alsaLib, mesa, aalib
|
|
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xine-lib-1.1.16.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xine/${name}.tar.bz2";
|
|
sha256 = "0lkvss7r8q16gyisiy3dkgbbk6vvpflfydi3927pvp2mz8g28nnj";
|
|
};
|
|
|
|
buildInputs =
|
|
[ xlibs.xlibs pkgconfig xlibs.libXv xlibs.libXinerama alsaLib mesa aalib
|
|
libvorbis libtheora speex perl ffmpeg
|
|
# removed SDL dependency; it's a big dependency and doesn't seem
|
|
# particularly useful here.
|
|
];
|
|
|
|
NIX_LDFLAGS = "-rpath ${libdvdcss}/lib -L${libdvdcss}/lib -ldvdcss";
|
|
|
|
propagatedBuildInputs = [zlib];
|
|
|
|
meta = {
|
|
homepage = http://www.xine-project.org/;
|
|
description = "A high-performance, portable and reusable multimedia playback engine";
|
|
};
|
|
}
|