2017-12-26 18:27:24 +00:00
|
|
|
{
|
|
|
|
stdenv, fetchurl,
|
2018-02-25 02:23:58 +00:00
|
|
|
automoc4, cmake_2_8, libxslt, perl, pkgconfig, shared-mime-info,
|
2017-12-26 18:27:24 +00:00
|
|
|
attica, docbook_xml_dtd_42, docbook_xsl, giflib,
|
|
|
|
libdbusmenu_qt, libjpeg, phonon, qt4
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "4.14.38";
|
|
|
|
name = "kdelibs-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/applications/17.08.3/src/${name}.tar.xz";
|
|
|
|
sha256 = "1zn3yb09sd22bm54is0rn98amj0398zybl550dp406419sil7z9p";
|
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
automoc4 cmake_2_8 libxslt perl pkgconfig shared-mime-info
|
2017-12-26 18:27:24 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
attica giflib libdbusmenu_qt libjpeg
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [ qt4 phonon ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook"
|
|
|
|
"-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook"
|
|
|
|
"-DKJS_FORCE_DISABLE_PCRE=true"
|
|
|
|
"-DWITH_SOLID_UDISKS2=OFF"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
homepage = http://www.kde.org;
|
|
|
|
license = with licenses; [ gpl2 fdl12 lgpl21 ];
|
|
|
|
};
|
|
|
|
}
|