nixpkgs/pkgs/desktops/kde-4.10/kdenetwork/kopete.nix
Joachim Schiele d8f8d052c5 fixes two issues via patches to get knetwork compiling
kopete-4.10.4-kopete-linphonemediaengine.patch
----------------------------------------------
patch copied from here:
  https://bugs.kde.org/show_bug.cgi?id=318825

kopete-4.10.4-kopete-stun.patch
-------------------------------
  when compiling kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/channelmanager.cc
  it would produce this error:

  kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stunrequest.h:91:9: error: ‘StunMessageType’ does not name a type

  problem:
    this is cased by a cyclic use of stun.h, stunrequest.h and channelmanager.cc with the outcome,
    that kdenetwork couldn't be compiled since kopete fails to build.

  solution:
    move the StunMessageType enum into its own #ifndef
2013-07-03 16:35:03 +02:00

31 lines
924 B
Nix

{ kde, kdelibs, speex, libmsn, libotr, kdepimlibs, qimageblitz, libktorrent,
jasper, libidn, mediastreamer, msilbc, pkgconfig, libxslt, giflib,
libgadu, boost, qca2, gpgme, sqlite, telepathy_qt, shared_desktop_ontologies,
libjpeg, libmms }:
kde {
#todo: libmeanwhile, xmms
buildInputs = [
kdelibs telepathy_qt shared_desktop_ontologies qca2 gpgme libgadu mediastreamer
kdepimlibs qimageblitz libktorrent libjpeg sqlite jasper giflib libmsn libotr
libxslt libidn speex boost libmms msilbc
];
nativeBuildInputs = [ pkgconfig ];
KDEDIRS = libktorrent;
patchPhase =
''
cp -v ${./FindmsiLBC.cmake} kopete/cmake/modules/FindmsiLBC.cmake
patch -p1 < ${./kopete-4.10.4-kopete-linphonemediaengine.patch}
patch -p1 < ${./kopete-4.10.4-kopete-stun.patch}
'';
cmakeFlags = [ "-DBUILD_skypebuttons=TRUE" ];
meta = {
description = "A KDE multi-protocol IM client";
};
}