plasma5Packages.qqc2-desktop-style: add darwin support
This commit is contained in:
parent
845ed6342e
commit
8902dfbe46
2 changed files with 12 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib, mkDerivation, propagate,
|
||||
lib, stdenv, mkDerivation, propagate,
|
||||
extra-cmake-modules, kcoreaddons, qttools,
|
||||
enablePolkit ? true, polkit-qt
|
||||
enablePolkit ? stdenv.isLinux, polkit-qt
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
mkDerivation,
|
||||
mkDerivation, lib, stdenv, fetchpatch,
|
||||
extra-cmake-modules, docbook_xml_dtd_45, docbook_xsl_ns,
|
||||
karchive, ki18n, qtbase,
|
||||
perl, perlPackages
|
||||
|
@ -20,7 +20,15 @@ mkDerivation {
|
|||
];
|
||||
buildInputs = [ karchive ki18n ];
|
||||
outputs = [ "out" "dev" ];
|
||||
patches = [ ./kdoctools-no-find-docbook-xml.patch ];
|
||||
patches = [ ./kdoctools-no-find-docbook-xml.patch ]
|
||||
# kf.doctools.core: Error: Could not find kdoctools catalogs
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
(fetchpatch {
|
||||
name = "kdoctools-relocate-datapath.patch";
|
||||
url = "https://github.com/msys2/MINGW-packages/raw/0900785a1f4e4146ab9561fb92a1c70fa70fcfc4/mingw-w64-kdoctools-qt5/0001-kdoctools-relocate-datapath.patch";
|
||||
hash = "sha256-MlokdrabXavWHGXYmdz9zZDJQIwAdNxebJBSAH2Z3vI=";
|
||||
})
|
||||
];
|
||||
cmakeFlags = [
|
||||
"-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook"
|
||||
"-DDocBookXSL_DIR=${docbook_xsl_ns}/xml/xsl/docbook"
|
||||
|
|
Loading…
Reference in a new issue