2011-07-07 22:48:51 +02:00
|
|
|
{ kde, gcc, cmake, perl
|
|
|
|
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
|
|
|
|
, xz, openexr, avahi, kerberos, acl, attr, shared_desktop_ontologies, libXScrnSaver
|
|
|
|
, automoc4, strigi, soprano, qca2, attica, enchant, libdbusmenu_qt
|
|
|
|
, docbook_xml_dtd_42, docbook_xsl, polkit_qt_1
|
2011-07-18 12:29:20 +02:00
|
|
|
, getopt, udev, herqq, phonon, gettext
|
2011-07-07 22:48:51 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
kde.package {
|
|
|
|
|
|
|
|
buildInputs =
|
2011-07-11 12:49:21 +02:00
|
|
|
[ acl attr attica automoc4 avahi bzip2 cmake enchant fam getopt
|
|
|
|
giflib herqq jasper libdbusmenu_qt libXScrnSaver libxslt pcre
|
|
|
|
perl perl polkit_qt_1 qca2 qt4 shared_desktop_ontologies
|
2011-07-18 12:29:20 +02:00
|
|
|
shared_mime_info soprano strigi udev xz phonon libxml2
|
2011-07-07 22:48:51 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: make sonnet plugins (dictionaries) really work.
|
|
|
|
# There are a few hardcoded paths.
|
|
|
|
# Let kdelibs find openexr
|
|
|
|
# Split plugins from libs?
|
|
|
|
|
2011-07-12 15:24:35 +02:00
|
|
|
patches = [ ./polkit-install.patch ];
|
2011-07-07 22:48:51 +02:00
|
|
|
|
|
|
|
# cmake fails to find acl.h because of C++-style comment
|
|
|
|
# TODO: OpenEXR
|
|
|
|
cmakeFlags =
|
|
|
|
''
|
|
|
|
-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook
|
|
|
|
-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE libraries";
|
|
|
|
license = "LGPL";
|
|
|
|
kde.name = "kdelibs";
|
|
|
|
};
|
|
|
|
}
|