Building mumble a bit further.

svn path=/nixpkgs/trunk/; revision=25908
This commit is contained in:
Lluís Batlle i Rossell 2011-02-11 15:56:29 +00:00
parent bb1edcae8d
commit cb41a67c47
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, qt4, libvorbis, boost, speechd, protobuf, libsndfile, { stdenv, fetchurl, qt4, libvorbis, boost, speechd, protobuf, libsndfile,
avahi }: avahi }:
throw "It does not build still. It wants dns_sd.h" throw "It does not build still. It wants a g15daemon header file or so"
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mumble-" + version; name = "mumble-" + version;

View File

@ -1,6 +1,7 @@
{ fetchurl, stdenv, pkgconfig, libdaemon, dbus, perl, perlXMLParser { fetchurl, stdenv, pkgconfig, libdaemon, dbus, perl, perlXMLParser
, expat, gettext, intltool, glib, gtk, qt4 ? null, lib , expat, gettext, intltool, glib, gtk, qt4 ? null, lib
, qt4Support ? false }: , qt4Support ? false
, withLibdnsCompat ? false }:
assert qt4Support -> qt4 != null; assert qt4Support -> qt4 != null;
@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
"--${if qt4Support then "enable" else "disable"}-qt4" "--${if qt4Support then "enable" else "disable"}-qt4"
"--disable-python" "--disable-python"
"--with-distro=none" "--localstatedir=/var" "--with-distro=none" "--localstatedir=/var"
]; ] ++ stdenv.lib.optional withLibdnsCompat "--enable-compat-libdns_sd";
meta = { meta = {
description = "Avahi, an mDNS/DNS-SD implementation"; description = "Avahi, an mDNS/DNS-SD implementation";

View File

@ -6369,8 +6369,7 @@ let
mumble = callPackage ../applications/networking/mumble { mumble = callPackage ../applications/networking/mumble {
avahi = avahi.override { avahi = avahi.override {
qt4Support = true; withLibdnsCompat = true;
inherit qt4;
}; };
}; };