2016-07-29 16:17:03 +00:00
|
|
|
{
|
2017-06-02 15:49:52 +00:00
|
|
|
mkDerivation, lib,
|
2016-07-29 16:17:03 +00:00
|
|
|
automoc4, bison, cmake, flex, libxslt, perl, pkgconfig, shared_mime_info,
|
|
|
|
attica, attr, avahi, docbook_xml_dtd_42, docbook_xsl, giflib, ilmbase,
|
|
|
|
libdbusmenu_qt, libjpeg, libxml2, phonon, polkit_qt4, qca2, qt4,
|
2017-03-02 13:34:17 +00:00
|
|
|
shared_desktop_ontologies, soprano, strigi, udev, xz, pcre, fetchpatch
|
2016-04-21 16:00:51 +00:00
|
|
|
}:
|
|
|
|
|
2017-06-02 15:49:52 +00:00
|
|
|
mkDerivation {
|
2016-07-30 02:13:00 +00:00
|
|
|
name = "kdelibs";
|
2016-04-21 16:00:51 +00:00
|
|
|
|
2016-09-29 15:52:58 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
outputInclude = "out";
|
|
|
|
|
|
|
|
setOutputFlags = false;
|
2016-04-21 16:00:51 +00:00
|
|
|
|
2016-07-29 16:17:03 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
automoc4 bison cmake flex libxslt perl pkgconfig shared_mime_info
|
|
|
|
];
|
2016-04-21 16:00:51 +00:00
|
|
|
buildInputs = [
|
|
|
|
attica attr avahi giflib libdbusmenu_qt libjpeg libxml2
|
|
|
|
polkit_qt4 qca2 shared_desktop_ontologies udev xz pcre
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [ qt4 soprano phonon strigi ];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./0001-old-kde4-cmake-policies.patch
|
|
|
|
./0002-polkit-install-path.patch
|
|
|
|
./0003-remove_xdg_impurities.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
# cmake does not detect path to `ilmbase`
|
2016-09-01 16:11:21 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
2016-04-21 16:00:51 +00:00
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook"
|
|
|
|
"-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook"
|
|
|
|
"-DWITH_SOLID_UDISKS2=ON"
|
|
|
|
"-DKDE_DEFAULT_HOME=.kde"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2016-07-29 16:17:03 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://www.kde.org;
|
2017-04-29 04:24:34 +00:00
|
|
|
license = with lib.licenses; [ gpl2 fdl12 lgpl21 ];
|
2016-04-21 16:00:51 +00:00
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
};
|
|
|
|
}
|