Made kde-4.2 packages work, adding the proper derivation attribute to get all qt include

paths into NIX_CFLAGS_COMPILE. This helps build kde42 packages, because they have a broken
FindQt4.cmake, which doesn't find properly the qt4 header files.

svn path=/nixpkgs/trunk/; revision=15841
This commit is contained in:
Lluís Batlle i Rossell 2009-06-03 17:33:54 +00:00
parent d051501d69
commit abed7b8441
29 changed files with 31 additions and 0 deletions

View File

@ -10,6 +10,7 @@ stdenv.mkDerivation {
};
builder = ./builder.sh;
inherit system_config_printer;
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 pkgconfig perl python sip pyqt4 pycups system_config_printer rhpl
kdelibs kdepimlibs kdebindings automoc4 phonon ];

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdeartwork-4.2.3.tar.bz2;
sha1 = "f438060107caeb5bddd1e23a1417edf4e8476158";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl xscreensaver
kdelibs kdebase_workspace automoc4 phonon strigi eigen ];
}

View File

@ -8,6 +8,7 @@ stdenv.mkDerivation {
sha1 = "f3adc26e6b313a14af1e4208bc539017c8dcccd7";
};
/* CLUCENE_HOME=cluceneCore;*/
includeAllQtDirs=true;
buildInputs = [ cmake perl bzip2 qt4 alsaLib xineLib samba stdenv.gcc.libc kdelibs
automoc4 phonon strigi soprano cluceneCore ];
}

View File

@ -10,6 +10,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdebase-workspace-4.2.3.tar.bz2;
sha1 = "0c92579c651c5a08ff6440762eb5c2ad9d5bc0ad";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake perl python qt4 pam /*ConsoleKit sip pyqt4*/ kdelibs kdepimlibs /*kdebindings*/ pthread_stubs boost libusb stdenv.gcc.libc
libXi libXau libXdmcp libXtst libXcomposite libXdamage libXScrnSaver

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdebase-4.2.3.tar.bz2;
sha1 = "bc05bf836ff2aea64c0806be161b8ec8b9a5a42b";
};
includeAllQtDirs=true;
buildInputs = [ cmake perl qt4 kdelibs pciutils stdenv.gcc.libc libraw1394
automoc4 phonon strigi qimageblitz soprano ];
}

View File

@ -11,6 +11,7 @@ stdenv.mkDerivation {
sha1 = "d8e5ddf5e993124e0250c3e9a9de52264ca5ca7c";
};
builder = ./builder.sh;
includeAllQtDirs=true;
buildInputs = [ python sip pyqt4 zlib libpng freetype fontconfig qt4
libSM libXrender libXrandr libXfixes libXcursor libXinerama libXext kdelibs ];
}

View File

@ -8,6 +8,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdeedu-4.2.3.tar.bz2;
sha1 = "32a3ddef04f3e0d7d110f616caf98c4537ee8bb8";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl libxml2 libxslt openbabel boost readline gmm gsl facile ocaml
kdelibs automoc4 phonon ];
}

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/amarok/2.0.2/src/amarok-2.0.2.tar.bz2;
md5 = "98b78372ec6ea3432faba356c90c6dbe";
};
includeAllQtDirs=true;
inherit mysql loudmouth;
builder = ./builder.sh;
buildInputs = [ cmake qt4 perl stdenv.gcc.libc gettext curl libxml2 mysql taglib loudmouth

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = http://kdesvn.alwins-world.de/downloads/kdesvn-1.3.0.tar.bz2;
sha256 = "d219c430c98d75d07258057e78c29042777e0368eded7494499361031ac63649";
};
includeAllQtDirs=true;
builder = ./builder.sh;
inherit subversion;
buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ];

View File

@ -6,6 +6,7 @@ stdenv.mkDerivation {
url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.1.tar.bz2;
sha256 = "d10df9c31f540ab9442b75e0be0ed2cff9313de9004a4a8acbe3dbed79d5fddb";
};
includeAllQtDirs=true;
builder = ./builder.sh;
buildInputs = [ cmake qt4 perl gettext stdenv.gcc.libc pango gtk dbus_glib kdelibs automoc4 phonon ];
}

View File

@ -8,6 +8,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/koffice-2.0.0/src/koffice-2.0.0.tar.bz2;
sha256 = "8cfc35acf4b6d306245e7705899167fd1b67a861136551ab02a0cd7542eb72e9";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl lcms exiv2 libxml2 libxslt boost glew shared_mime_info
poppler gsl gmm wv2 libwpd

View File

@ -6,5 +6,6 @@ stdenv.mkDerivation {
url = mirror://sourceforge/krusader/krusader-2.0.0.tar.gz;
sha256 = "dc74c47d6eaf1c28165a74750e5a1b0341fa1c0d436658d0d5f85a6149f4852c";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl gettext kdelibs automoc4 phonon ];
}

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = http://ktorrent.org/downloads/3.2.1/ktorrent-3.2.1.tar.bz2;
sha256 = "e37324519fdd04cad2a489fb772cbe628d8ff9f578e2bb913b18a1404dd7c4eb";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
cmakeFlags = "-DTASKMANAGER_INCLUDE_DIR=${kdebase_workspace}/include";
buildInputs = [ cmake qt4 perl gmp taglib boost gettext stdenv.gcc.libc

View File

@ -6,5 +6,6 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdegames-4.2.3.tar.bz2;
sha1 = "74e0a41cdce34bead787a7c4586d3dae7aa06cc9";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon qca2 ];
}

View File

@ -8,6 +8,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdegraphics-4.2.3.tar.bz2;
sha1 = "1304fe7562e41fad30841dfda4b42197e3d95b3d";
};
includeAllQtDirs=true;
buildInputs = [ cmake perl qt4 exiv2 lcms saneBackends libgphoto2 libspectre poppler chmlib
stdenv.gcc.libc libXxf86vm
kdelibs automoc4 phonon strigi qimageblitz soprano qca2 ];

View File

@ -12,6 +12,8 @@ stdenv.mkDerivation {
sha1 = "c4cde3ea347d89d79ffdead203c85b1c2d1f8757";
};
includeAllQtDirs = true;
buildInputs = [
cmake perl qt4 stdenv.gcc.libc bzip2 pcre fam libxml2 libxslt
shared_mime_info giflib jasper /* openexr */ aspell avahi

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdemultimedia-4.2.3.tar.bz2;
sha1 = "ebf2d0f04dd8ab2c10a3505a2c7a3468173e369e";
};
includeAllQtDirs=true;
buildInputs = [ cmake perl qt4 alsaLib libvorbis xineLib flac taglib cdparanoia
kdelibs automoc4 phonon ];
}

View File

@ -9,6 +9,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdenetwork-4.2.3.tar.bz2;
sha1 = "633432d049794f50143ed60197f6f0b5ac9011a7";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl speex gmp libxml2 libxslt sqlite alsaLib libidn
libvncserver tapioca_qt libmsn

View File

@ -8,6 +8,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdepim-4.2.3.tar.bz2;
sha1 = "9d46fe2ce1bf183cce82d0d60a9a29ec3c53832f";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
builder = ./builder.sh;
buildInputs = [ cmake qt4 perl boost gpgme stdenv.gcc.libc libassuan libgpgerror libxslt

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdepimlibs-4.2.3.tar.bz2;
sha1 = "3b12d5974bfbc384e3c986328a7bb5b1b6b50361";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl boost cyrus_sasl gpgme stdenv.gcc.libc libical openldap
kdelibs automoc4 phonon akonadi ];
}

View File

@ -9,6 +9,7 @@ stdenv.mkDerivation {
};
inherit kdebase_workspace;
builder = ./builder.sh;
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl python shared_mime_info
kdelibs kdebase_workspace kdepimlibs kdegraphics automoc4 phonon ];

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdesdk-4.2.3.tar.bz2;
sha1 = "cf24ae63e6ee4ed875f580a7dfd8aa6d822d9b47";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
builder=./builder.sh;
inherit aprutil;

View File

@ -6,5 +6,6 @@ stdenv.mkDerivation {
url = http://download.akonadi-project.org/akonadi-1.1.2.tar.bz2;
sha256 = "1km5mbcsx8xbb327lbva1pm8a8mjai64kqxww1qzbxz9a20w3css";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 shared_mime_info libxslt boost mysql automoc4 ];
}

View File

@ -10,6 +10,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.1/src/phonon-4.3.1.tar.bz2;
sha1 = "f7537e5280d0a4cc1348975daa7a7e45d833d45c";
};
includeAllQtDirs = true;
buildInputs = [ cmake
libXau libXdmcp
qt4 pthread_stubs gst_all.gstreamer gst_all.gstPluginsBase xineLib

View File

@ -6,5 +6,6 @@ stdenv.mkDerivation {
url = mirror://sourceforge/qimageblitz/qimageblitz-0.0.4.tar.bz2;
md5 = "cb87c7f1c0455e8984ee4830f1e749cf";
};
includeAllQtDirs = true;
buildInputs = [ cmake qt4 ];
}

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation {
url = mirror://sourceforge/strigi/strigi-0.6.4.tar.bz2;
md5 = "324fd9606ac77765501717ff92c04f9a";
};
includeAllQtDirs = true;
CLUCENE_HOME = cluceneCore;

View File

@ -6,5 +6,6 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdetoys-4.2.3.tar.bz2;
sha1 = "cb84d7b8da85ed82972a4c99065644532cf12d6d";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl kdelibs kdebase_workspace automoc4 phonon ];
}

View File

@ -9,6 +9,7 @@ stdenv.mkDerivation {
};
builder = ./builder.sh;
inherit system_config_printer;
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl gmp python libzip libarchive sip pyqt4 pycups system_config_printer rhpl
kdelibs kdepimlibs kdebindings automoc4 phonon qimageblitz ];

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.3/src/kdewebdev-4.2.3.tar.bz2;
sha1 = "737f6876d17da45e8dc855d47973ab8aa91827e3";
};
includeAllQtLibs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl libxml2 libxslt boost kdelibs kdepimlibs automoc4 phonon ];
}