mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
commit
1e806db8db
2 changed files with 8 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
, ssl ? true # enable SSL support
|
||||
, previews ? false # enable webpage previews on hovering over URLs
|
||||
, tag ? "" # tag added to the package name
|
||||
, stdenv, fetchurl, cmake, qt4, kdelibs, automoc4, phonon }:
|
||||
, stdenv, fetchurl, cmake, makeWrapper, qt4, kdelibs, automoc4, phonon, dconf }:
|
||||
|
||||
let
|
||||
edf = flag: feature: [("-D" + feature + (if flag then "=ON" else "=OFF"))];
|
||||
|
@ -22,7 +22,7 @@ in with stdenv; mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake qt4 ]
|
||||
buildInputs = [ cmake makeWrapper qt4 ]
|
||||
++ lib.optional withKDE kdelibs
|
||||
++ lib.optional withKDE automoc4
|
||||
++ lib.optional withKDE phonon;
|
||||
|
@ -40,6 +40,11 @@ in with stdenv; mkDerivation rec {
|
|||
++ edf ssl "WITH_OPENSSL"
|
||||
++ edf previews "WITH_WEBKIT" ;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/quasselclient" \
|
||||
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://quassel-irc.org/;
|
||||
description = "Qt4/KDE4 distributed IRC client suppporting a remote daemon";
|
||||
|
|
|
@ -10607,7 +10607,7 @@ let
|
|||
|
||||
qtcurve = callPackage ../misc/themes/qtcurve { };
|
||||
|
||||
quassel = callPackage ../applications/networking/irc/quassel { };
|
||||
quassel = callPackage ../applications/networking/irc/quassel { dconf = gnome3.dconf; };
|
||||
|
||||
quasselDaemon = (self.quassel.override {
|
||||
monolithic = false;
|
||||
|
|
Loading…
Reference in a new issue