about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-03-02 04:33:04 +0100
committeraszlig <aszlig@redmoonstudios.org>2017-03-02 04:33:04 +0100
commit0b0763ffd0be393722d16008a2c4d17db69acede (patch)
tree036adeb73adb3c36cbfb52745cfd8ccab13206c8
parent9e235ef0f0d48f241ec6b0bcb7b332c182c2aadf (diff)
pkgs/tomahawk: Fix evaluation
This still doesn't build yet because libsForQt5.vlc is failing right
now. But at least it should evaluate until I've got time to fix the
build properly.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r--pkgs/tomahawk/default.nix21
1 files changed, 8 insertions, 13 deletions
diff --git a/pkgs/tomahawk/default.nix b/pkgs/tomahawk/default.nix
index 632a1d6a..1b8c0ca8 100644
--- a/pkgs/tomahawk/default.nix
+++ b/pkgs/tomahawk/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchFromGitHub, fetchurl, cmake, pkgconfig, boost, gnutls
-, libechonest, liblastfm, lucenepp, qt5, sparsehash, taglib
-, websocketpp, ffmpeg_2, v4l_utils
+, libechonest, liblastfm, lucenepp, kdeFrameworks, qt5, libsForQt5, sparsehash
+, taglib, websocketpp, ffmpeg_2, v4l_utils
 
 , enableXMPP      ? true,  libjreen     ? null
 , enableKDE       ? false, kdelibs      ? null
@@ -39,12 +39,6 @@ let
     cmakeFlags = (drv.cmakeFlags or []) ++ [ "-DBUILD_WITH_QT4=OFF" ];
   });
 
-  vlc = qt5.vlc.override {
-    ffmpeg = ffmpeg_2.override {
-      v4l_utils = v4l_utils.override { withQt4 = false; };
-    };
-  };
-
   jreenPatched = overrideDerivation (useQT5 libjreen) (drv: {
     postPatch = (drv.postPatch or "") + ''
       sed -i -e 's/QMetaTypeId/QMap/g' src/stanzaextension.h
@@ -67,12 +61,13 @@ in stdenv.mkDerivation rec {
     "-DLUCENEPP_LIBRARY_DIR=${lucenepp}/lib"
   ];
 
-  nativeBuildInputs = [ cmake pkgconfig ];
+  nativeBuildInputs = [ cmake pkgconfig kdeFrameworks.extra-cmake-modules ];
 
-  buildInputs = (with qt5; [
-    attica ecm qca-qt5 qtbase qtkeychain qtsvg qttools qtwebkit qtx11extras
-  ]) ++ map useQT5 [ liblastfm qt5.quazip ] ++ [
-    boost gnutls lucenepp sparsehash taglib vlc websocketpp libechonestQT5
+  buildInputs = [
+    libsForQt5.attica libsForQt5.qca-qt5 libsForQt5.qtkeychain libsForQt5.quazip
+    libsForQt5.vlc qt5.qtbase qt5.qtsvg qt5.qttools qt5.qtwebkit qt5.qtx11extras
+  ] ++ map useQT5 [ liblastfm ] ++ [
+    boost gnutls lucenepp sparsehash taglib websocketpp libechonestQT5
   ] ++ stdenv.lib.optional enableXMPP      jreenPatched
     ++ stdenv.lib.optional enableKDE       (useQT5 kdelibs)
     ++ stdenv.lib.optional enableTelepathy (useQT5 telepathy_qt);