about summary refs log tree commit diff
path: root/pkgs/applications/networking/irc/quassel
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-02-21 10:57:50 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-02-21 11:39:20 -0600
commit8cf78bf5f44940769215833f5310e33d0fef548f (patch)
tree5a88ddc763cdbfdce4cedf1e9f3c62eae0c16f44 /pkgs/applications/networking/irc/quassel
parent0cf073627ca1272af8058b32c01d944aff2f5806 (diff)
update various packages to use Qt 5.4
Diffstat (limited to 'pkgs/applications/networking/irc/quassel')
-rw-r--r--pkgs/applications/networking/irc/quassel/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/networking/irc/quassel/default.nix b/pkgs/applications/networking/irc/quassel/default.nix
index 5e042579a848e..343e53bc947b0 100644
--- a/pkgs/applications/networking/irc/quassel/default.nix
+++ b/pkgs/applications/networking/irc/quassel/default.nix
@@ -29,7 +29,10 @@ in with stdenv; mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  buildInputs = [ cmake makeWrapper qt ]
+  buildInputs = [ cmake makeWrapper ]
+    ++ (if useQt5 then [ qt.base ] else [ qt ])
+    ++ (if useQt5 && (monolithic || daemon) then [ qt.script ] else [])
+    ++ (if useQt5 && previews then [ qt.webkit qt.webkitwidgets ] else [])
     ++ lib.optional withKDE kdelibs
     ++ lib.optional withKDE automoc4
     ++ lib.optional withKDE phonon
@@ -58,17 +61,17 @@ in with stdenv; mkDerivation rec {
 
   meta = with stdenv.lib; {
     homepage = http://quassel-irc.org/;
-    description = "Qt4/KDE4 distributed IRC client suppporting a remote daemon";
+    description = "Qt4/KDE4/Qt5 distributed IRC client suppporting a remote daemon";
     longDescription = ''
       Quassel IRC is a cross-platform, distributed IRC client,
       meaning that one (or multiple) client(s) can attach to
       and detach from a central core -- much like the popular
       combination of screen and a text-based IRC client such
-      as WeeChat, but graphical (based on Qt4/KDE4).
+      as WeeChat, but graphical (based on Qt4/KDE4 or Qt5).
     '';
     license = stdenv.lib.licenses.gpl3;
-    maintainers = [ maintainers.phreedom ];
+    maintainers = with maintainers; [ phreedom ttuegel ];
     repositories.git = https://github.com/quassel/quassel.git;
-    inherit (qt.meta) platforms;
+    inherit ((if useQt5 then qt.base else qt).meta) platforms;
   };
 }