mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
50 lines
1.3 KiB
Nix
50 lines
1.3 KiB
Nix
{
|
|
mkDerivation, lib,
|
|
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,
|
|
shared_desktop_ontologies, soprano, strigi, udev, xz, pcre, fetchpatch
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kdelibs";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
outputInclude = "out";
|
|
|
|
setOutputFlags = false;
|
|
|
|
nativeBuildInputs = [
|
|
automoc4 bison cmake flex libxslt perl pkgconfig shared_mime_info
|
|
];
|
|
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`
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
|
|
|
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 = {
|
|
platforms = lib.platforms.linux;
|
|
homepage = http://www.kde.org;
|
|
license = with lib.licenses; [ gpl2 fdl12 lgpl21 ];
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
};
|
|
}
|