about summary refs log tree commit diff
path: root/pkgs/applications/networking/mumble
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-02-12 20:31:25 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-02-12 20:31:25 +0000
commitaf7a77aca6866b08dae12b1b43076a14865b59b4 (patch)
treef33bd9561898c3e7e4ac503972c38a8b40389333 /pkgs/applications/networking/mumble
parented85acac61a7baebad9329becbbe198db21f1441 (diff)
Mumble builds
svn path=/nixpkgs/trunk/; revision=25927
Diffstat (limited to 'pkgs/applications/networking/mumble')
-rw-r--r--pkgs/applications/networking/mumble/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix
index 3b9673a294fe4..4befca2f606d1 100644
--- a/pkgs/applications/networking/mumble/default.nix
+++ b/pkgs/applications/networking/mumble/default.nix
@@ -1,8 +1,6 @@
 { stdenv, fetchurl, qt4, libvorbis, boost, speechd, protobuf, libsndfile,
- avahi }:
+ avahi, dbus, libcap }:
         
-throw "It does not build still. It wants a g15daemon header file or so"
-
 stdenv.mkDerivation rec {
   name = "mumble-" + version;
   version = "1.2.2";
@@ -17,9 +15,13 @@ stdenv.mkDerivation rec {
     sed -e /qt_ja_JP.qm/d -i src/mumble/mumble_qt.qrc src/mumble11x/mumble_qt.qrc
   '';
 
-  configurePhase = "qmake PREFIX=$out";
+  configurePhase = ''
+    qmake PREFIX=$out CONFIG+=no-g15 CONFIG+=no-update \
+      CONFIG+=no-embed-qt-translations CONFIG+=no-ice
+  '';
 
-  buildInputs = [ qt4 libvorbis boost speechd protobuf libsndfile avahi ];
+  buildInputs = [ qt4 libvorbis boost speechd protobuf libsndfile avahi dbus
+    libcap ];
 
   meta = { 
     homepage = http://mumble.sourceforge.net/;