* Tribler: optionally support streaming playback of torrents via VLC.

svn path=/nixpkgs/trunk/; revision=32306
This commit is contained in:
Eelco Dolstra 2012-02-15 16:24:02 +00:00
parent cdd8d2b163
commit 95e87e71c5

View File

@ -1,4 +1,5 @@
{ stdenv, fetchsvn, pythonPackages, makeWrapper, nettools }:
{ stdenv, fetchsvn, pythonPackages, makeWrapper, nettools
, enablePlayer ? false, vlc ? null }:
let rev = "24912"; in
@ -34,7 +35,10 @@ stdenv.mkDerivation {
--set _TRIBLERPATH $out/share/tribler \
--set PYTHONPATH $out/share/tribler:$program_PYTHONPATH \
--run 'cd $_TRIBLERPATH' \
--add-flags "-O $out/share/tribler/Tribler/Main/tribler.py"
--add-flags "-O $out/share/tribler/Tribler/Main/tribler.py" \
${stdenv.lib.optionalString enablePlayer ''
--prefix LD_LIBRARY_PATH : ${vlc}/lib
''}
'';
meta = {