about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/kadu
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-28 22:37:44 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-28 22:37:44 +0000
commit7eb92a7821c17bd3c3dbfc338b6252d0d1beda3d (patch)
tree1f40f243aeaf9261404c8710127b8eda3e8569c7 /pkgs/applications/networking/instant-messengers/kadu
parentcecffb9df5b322c8708c6b02bc193eec9f707f3f (diff)
Adding kadu
(patch by Piotr Pietraszkiewicz)

svn path=/nixpkgs/trunk/; revision=23988
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/kadu')
-rw-r--r--pkgs/applications/networking/instant-messengers/kadu/default.nix34
-rw-r--r--pkgs/applications/networking/instant-messengers/kadu/more-icons.patch12
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/kadu/default.nix b/pkgs/applications/networking/instant-messengers/kadu/default.nix
new file mode 100644
index 0000000000000..a9b5e0d7a864c
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/kadu/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, cmake, qt, libgadu, bash, libXScrnSaver, libsndfile, qca2, wget, libX11, alsaLib }:
+
+stdenv.mkDerivation {
+
+  name = "kadu-0.6.5.4";
+
+  src = fetchurl {
+    url = http://www.kadu.net/download/stable/kadu-0.6.5.4.tar.bz2;
+    sha256 = "09bdcyx75lca1pl6x3vfpawmdjn5pfxvwivb9xdhk4bdvswxgv4x";
+  };
+  
+  buildInputs = [
+    cmake qt libgadu bash libXScrnSaver libsndfile qca2 wget libX11 alsaLib
+  ];
+
+  cmakeFlags = "-Wno-dev";
+
+  NIX_LDFLAGS="-lX11";
+
+  patches = [ ./more-icons.patch ];
+
+  patchPhase = ''
+    unset patchPhase; patchPhase
+    sed 's=/bin/bash=/${stdenv.shell}=g' -i \
+      `find -type f -name '*.sh' -or -name 'autodownload'`
+  '';
+
+  meta = { 
+    description = "An instance messanger client for the gadu-gadu network (most popular polish IM network)";
+    homepage = http://www.kadu.net/w/English:Main_Page;
+    license = "GPLv2";
+    platforms = stdenv.lib.platforms.linux;
+  };
+}
diff --git a/pkgs/applications/networking/instant-messengers/kadu/more-icons.patch b/pkgs/applications/networking/instant-messengers/kadu/more-icons.patch
new file mode 100644
index 0000000000000..60234d361f7ce
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/kadu/more-icons.patch
@@ -0,0 +1,12 @@
+--- kadu/.config	2010-01-18 17:13:31.000000000 +0100
++++ kadu/.config	2010-09-28 21:21:48.000000000 +0200
+@@ -559,10 +559,10 @@ icons_glass16=y
+ icons_glass22=y
+ 
+ # Desctiption: Tango 16x16 icons made by BlotoPosniegowe
+-icons_tango16=n
++icons_tango16=y
+ 
+ # Description: Oxygen 16x16 icons maintained by Piotr Pelzowski
+-icons_oxygen16=n
++icons_oxygen16=y