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