about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-09-27 10:25:52 -0500
committerThomas Tuegel <ttuegel@gmail.com>2015-09-27 15:09:44 -0500
commitfdc0e1749066bf84c234906ff9bebe664028f097 (patch)
tree4141d00552adf9904c964e5902f0dcc8df9eb129 /pkgs/applications/audio
parent9e3b22d25ab88faccad53d3abe0e3a254834b9c3 (diff)
downloadnixlib-fdc0e1749066bf84c234906ff9bebe664028f097.tar
nixlib-fdc0e1749066bf84c234906ff9bebe664028f097.tar.gz
nixlib-fdc0e1749066bf84c234906ff9bebe664028f097.tar.bz2
nixlib-fdc0e1749066bf84c234906ff9bebe664028f097.tar.lz
nixlib-fdc0e1749066bf84c234906ff9bebe664028f097.tar.xz
nixlib-fdc0e1749066bf84c234906ff9bebe664028f097.tar.zst
nixlib-fdc0e1749066bf84c234906ff9bebe664028f097.zip
cantata: build with Qt 5.5
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/cantata/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/audio/cantata/default.nix b/pkgs/applications/audio/cantata/default.nix
index b23384e92935..fa0fe73ebae3 100644
--- a/pkgs/applications/audio/cantata/default.nix
+++ b/pkgs/applications/audio/cantata/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, cmake
 , withQt4 ? false, qt4
-, withQt5 ? true, qt5
+, withQt5 ? true, qtbase, qtsvg, qttools
 
 # I'm unable to make KDE work here, crashes at runtime so I simply
 # make Qt4 the default until someone who wants KDE can figure it out.
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
   buildInputs =
     [ cmake ]
     ++ stdenv.lib.optional withQt4 qt4
-    ++ stdenv.lib.optionals withQt5 (with qt5; [ base svg tools ])
+    ++ stdenv.lib.optionals withQt5 [ qtbase qtsvg qttools ]
     ++ stdenv.lib.optional withKDE4 kde4.kdelibs
     ++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ]
     ++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
@@ -91,6 +91,10 @@ stdenv.mkDerivation rec {
     "-DENABLE_UDISKS2=ON"
   ];
 
+  postInstall = ''
+    wrapQtProgram "$out/bin/cantata"
+  '';
+
   meta = with stdenv.lib; {
     homepage = http://code.google.com/p/cantata/;
     description = "A graphical client for MPD";