mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
* Pass `pkgs' to the top-level KDE function instead of passing every
dependency explicitly. The KDE packages still declare their dependencies as explicit function arguments. svn path=/nixpkgs/trunk/; revision=14067
This commit is contained in:
parent
547207de28
commit
5b91408a0d
@ -1,36 +1,31 @@
|
||||
{stdenv, fetchurl, cmake, qt4, xlibs, bzip2, libxml2, libxslt, perl, exiv2, aspell,
|
||||
pthread_stubs, gst_all, xineLib, fam, log4cxx, cluceneCore, redland, avahi, jdk,
|
||||
pcre, jasper, openexr, shared_mime_info, giflib}:
|
||||
pkgs:
|
||||
|
||||
rec {
|
||||
### SUPPORT
|
||||
automoc4 = import ./support/automoc4 {
|
||||
inherit stdenv fetchurl cmake;
|
||||
inherit qt4;
|
||||
inherit (pkgs) stdenv fetchurl cmake;
|
||||
inherit (pkgs) qt4;
|
||||
};
|
||||
|
||||
phonon = import ./support/phonon {
|
||||
inherit stdenv fetchurl cmake;
|
||||
inherit qt4 pthread_stubs gst_all xineLib;
|
||||
inherit (xlibs) libXau libXdmcp;
|
||||
inherit (pkgs) stdenv fetchurl cmake;
|
||||
inherit (pkgs) qt4 pthread_stubs gst_all xineLib;
|
||||
inherit (pkgs.xlibs) libXau libXdmcp;
|
||||
inherit automoc4;
|
||||
};
|
||||
|
||||
strigi = import ./support/strigi {
|
||||
inherit stdenv fetchurl cmake perl;
|
||||
inherit bzip2 qt4 libxml2 exiv2 fam log4cxx cluceneCore;
|
||||
inherit (pkgs) stdenv fetchurl cmake perl;
|
||||
inherit (pkgs) bzip2 qt4 libxml2 exiv2 fam log4cxx cluceneCore;
|
||||
};
|
||||
|
||||
soprano = import ./support/soprano {
|
||||
inherit stdenv fetchurl cmake;
|
||||
inherit qt4 jdk cluceneCore redland;
|
||||
inherit (pkgs) stdenv fetchurl cmake;
|
||||
inherit (pkgs) qt4 jdk cluceneCore redland;
|
||||
};
|
||||
|
||||
### LIBS
|
||||
kdelibs = import ./libs {
|
||||
inherit stdenv fetchurl cmake perl;
|
||||
inherit qt4 bzip2 pcre fam libxml2 libxslt shared_mime_info giflib jasper;
|
||||
inherit openexr aspell avahi;
|
||||
inherit automoc4 phonon strigi soprano;
|
||||
};
|
||||
kdelibs = import ./libs (pkgs // {
|
||||
inherit automoc4 phonon strigi soprano;
|
||||
});
|
||||
}
|
||||
|
@ -1,15 +1,20 @@
|
||||
{stdenv, fetchurl, cmake, perl,
|
||||
qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper,
|
||||
openexr, aspell, avahi,
|
||||
automoc4, phonon, strigi, soprano}:
|
||||
{ stdenv, fetchurl, cmake, perl
|
||||
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
|
||||
, openexr, aspell, avahi
|
||||
, automoc4, phonon, strigi, soprano, ...
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdelibs-4.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.0/src/kdelibs-4.2.0.tar.bz2;
|
||||
md5 = "2d830a922195fefe6e073111850247ac";
|
||||
};
|
||||
buildInputs = [ cmake perl qt4 stdenv.gcc.libc bzip2 pcre fam libxml2 libxslt
|
||||
shared_mime_info giflib jasper openexr aspell avahi
|
||||
automoc4 phonon strigi soprano ];
|
||||
|
||||
buildInputs = [
|
||||
cmake perl qt4 stdenv.gcc.libc bzip2 pcre fam libxml2 libxslt
|
||||
shared_mime_info giflib jasper openexr aspell avahi
|
||||
automoc4 phonon strigi soprano
|
||||
];
|
||||
}
|
||||
|
@ -9007,13 +9007,9 @@ let
|
||||
openexr = openexr_1_6_1 ;
|
||||
});
|
||||
|
||||
kde42 = import ../desktops/kde-4.2 {
|
||||
inherit stdenv fetchurl cmake jdk;
|
||||
inherit xlibs qt4 bzip2 libxml2 libxslt perl pcre exiv2 aspell;
|
||||
inherit pthread_stubs gst_all xineLib fam log4cxx cluceneCore;
|
||||
inherit redland avahi jasper shared_mime_info giflib;
|
||||
kde42 = import ../desktops/kde-4.2 (pkgs // {
|
||||
openexr = openexr_1_6_1;
|
||||
};
|
||||
});
|
||||
|
||||
kdebase = import ../desktops/kde/kdebase {
|
||||
inherit
|
||||
|
Loading…
Reference in New Issue
Block a user