1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
This commit is contained in:
Vladimír Čunát 2013-02-17 01:09:56 +01:00
parent 2a1c308607
commit 524d9b656e
2 changed files with 17 additions and 14 deletions

View file

@ -1,31 +1,28 @@
{ fetchsvn, stdenv, cmake, qt4, mesa }:
{ stdenv, fetchurl, fetchsvn, cmake, qt4, mesa, opentrace_format, libtau }:
# ViTE 1.1 has several bugs, so use the SVN version.
let
rev = "1143";
rev = "1157";
externals = fetchsvn {
url = "svn://scm.gforge.inria.fr/svn/vite/externals";
sha256 = "0wg3yh5q8gx7189rvkd8achld7bzp0i7qqn6c77pg767b4b8dh1a";
sha256 = "1yqx72q3dd53k8z6jz93nbm9yyysq4npdjh1qv3f1qcrpz75k1zj";
inherit rev;
};
in
stdenv.mkDerivation {
name = "vite-1.2pre${rev}";
name = "vite-1.2";
src = fetchsvn {
url = "svn://scm.gforge.inria.fr/svn/vite/trunk";
sha256 = "0cy9b6isiwqwnv9gk0cg97x370fpwyccljadds4a118k5gh58zw4";
inherit rev;
src = fetchurl {
url = "http://gforge.inria.fr/frs/download.php/27457/vite_${rev}.tar.gz";
sha256 = "0j894wpqgcy0dzsxrp0z2fzymcl1m406cy4xv1kdzada25zjaq7m";
};
preConfigure =
'' rm -v externals
ln -sv "${externals}" externals
'';
patches = [ ./larger-line-buffer.patch ];
preConfigure = "sed -i '50i\#include <GL/glu.h>' src/render/Geometry.hpp";
buildInputs = [ cmake qt4 mesa ];
cmakeFlags = "-DTAU_LIBRARY=${libtau}/lib/libTAU.so -DTAU_INCLUDE_DIR=${libtau}/include"; # -DTAU_DIR:PATH=${libtau}";
buildInputs = [ cmake qt4 mesa opentrace_format libtau ];
NIX_LDFLAGS = "-lGLU";

View file

@ -4426,6 +4426,8 @@ let
libosip = callPackage ../development/libraries/osip {};
libotf = callPackage ../development/libraries/libotf { };
libotr = callPackage ../development/libraries/libotr { };
libp11 = callPackage ../development/libraries/libp11 { };
@ -4469,6 +4471,8 @@ let
libtasn1 = callPackage ../development/libraries/libtasn1 { };
libtau = callPackage ../development/libraries/libtau { };
libtheora = callPackage ../development/libraries/libtheora { };
libtiff = callPackage ../development/libraries/libtiff { };
@ -4773,6 +4777,8 @@ let
};
};
opentrace_format = callPackage ../development/libraries/opentrace-format { };
ortp = callPackage ../development/libraries/ortp { };
p11_kit = callPackage ../development/libraries/p11-kit { };