about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-03-31 15:28:16 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-03-31 15:30:39 +0200
commit8f457035d4f430aea540b1a918229cba06383aca (patch)
treef8f77821468f09be102488342e1d6f9471a1a8da /pkgs
parentb4852c4597c409f1034a8287efe96332d0f80bf0 (diff)
tomahawk: Rename Qca-qt5 to Qca in CMakeLists.txt.
The upstream Tomahawk CMakeLists.txt contains a distro-specific name,
which doesn't work well when using the name from upstream Qca. So let's
rename it accordingly.

Cc: @muesli

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tomahawk/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tomahawk/default.nix b/pkgs/tomahawk/default.nix
index 897795e8..9967ed7d 100644
--- a/pkgs/tomahawk/default.nix
+++ b/pkgs/tomahawk/default.nix
@@ -48,6 +48,10 @@ in stdenv.mkDerivation rec {
     sha256 = "07gpf885hxv5xmv3acixm0rhinqilygrw7542nj7s68iigd9sfqd";
   };
 
+  postPatch = ''
+    sed -i -e 's/Qca-qt5/Qca/' CMakeLists.txt
+  '';
+
   cmakeFlags = [
     "-DLUCENEPP_INCLUDE_DIR=${lucenepp}/include"
     "-DLUCENEPP_LIBRARY_DIR=${lucenepp}/lib"