kde/pim: create missing include directories to avoid cmake errors

This is a hack and should be removed once upstream fixes this.
This commit is contained in:
K900 2023-03-18 01:39:35 +03:00
parent eab21608de
commit 7b52754edb
27 changed files with 106 additions and 4 deletions

View File

@ -17,4 +17,8 @@ mkDerivation {
kio kmailtransport
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -22,4 +22,8 @@ mkDerivation {
];
propagatedBuildInputs = [ akonadi grantleetheme ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -13,4 +13,8 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
buildInputs = [ akonadi kdbusaddons ki18n kio kitemmodels kmime ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -15,4 +15,8 @@ mkDerivation {
akonadi kcompletion ki18n kitemmodels kmime kxmlgui
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -17,4 +17,8 @@ mkDerivation {
akonadi akonadi-mime kcalendarcore kcontacts kcoreaddons kmime qtbase
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -44,10 +44,8 @@ mkDerivation {
cmakeFlags = lib.optional (defaultDriver != "MYSQL") "-DDATABASE_BACKEND=${defaultDriver}";
# compatibility symlinks for kmymoney, can probably be removed in next kde bump
postInstall = ''
ln -s $dev/include/KF5/AkonadiCore/Akonadi/Collection $dev/include/KF5/AkonadiCore/Collection
ln -s $dev/include/KF5/AkonadiCore/Akonadi/ItemFetchScope $dev/include/KF5/AkonadiCore/ItemFetchScope
ln -s $dev/include/KF5/AkonadiCore/Akonadi/RecursiveItemFetchJob $dev/include/KF5/AkonadiCore/RecursiveItemFetchJob
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -17,4 +17,8 @@ mkDerivation {
];
propagatedBuildInputs = [ akonadi-calendar kidentitymanagement kmime ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -17,4 +17,8 @@ mkDerivation {
libkdepim qtbase qttools kholidays
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -16,4 +16,8 @@ mkDerivation {
grantlee ki18n kiconthemes knewstuff kservice kxmlgui qtbase
];
propagatedBuildInputs = [ grantlee kiconthemes knewstuff ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -17,4 +17,8 @@ mkDerivation {
kldap kmime pimcommon qtbase
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -17,4 +17,8 @@ mkDerivation {
kidentitymanagement kpimtextedit
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -17,4 +17,8 @@ mkDerivation {
];
propagatedBuildInputs = [ kcoreaddons kpimtextedit ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -14,4 +14,8 @@ mkDerivation {
buildInputs = [ ki18n kio ];
propagatedBuildInputs = [ cyrus_sasl kcoreaddons kmime kitemmodels ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -14,4 +14,8 @@ mkDerivation {
buildInputs = [ ki18n kio kmbox libsecret qtkeychain ];
propagatedBuildInputs = [ cyrus_sasl openldap ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -19,4 +19,8 @@ mkDerivation {
];
propagatedBuildInputs = [ akonadi-mime cyrus_sasl kmime kwallet ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -13,4 +13,8 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kmime qtbase kcodecs ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -13,4 +13,8 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kcodecs ki18n qtbase ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -16,4 +16,8 @@ mkDerivation {
kiconthemes kwindowsystem kxmlgui qtx11extras
];
propagatedBuildInputs = [ kparts ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$out/include/KF5"
'';
}

View File

@ -19,4 +19,8 @@ mkDerivation {
];
propagatedBuildInputs = [ ktextwidgets ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -13,4 +13,8 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kcoreaddons kio kmime ];
propagatedBuildInputs = [ cyrus_sasl ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$out/include/KF5"
'';
}

View File

@ -15,4 +15,8 @@ mkDerivation {
kcalendarcore kcalutils kcontacts
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -15,4 +15,8 @@ mkDerivation {
kconfig kio ktextwidgets kwidgetsaddons pimcommon
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -18,4 +18,8 @@ mkDerivation {
kconfigwidgets kcontacts ki18n kiconthemes kio kitemviews kjobwidgets kldap
kwallet
];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$out/include/KF5"
'';
}

View File

@ -18,4 +18,8 @@ mkDerivation {
];
propagatedBuildInputs = [ qgpgme ];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -19,4 +19,8 @@ mkDerivation {
kwindowsystem mailimporter messagelib phonon libkdepim
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}

View File

@ -16,4 +16,8 @@ mkDerivation {
akonadi akonadi-mime karchive kcompletion kconfig kcoreaddons ki18n kmime
kxmlgui libkdepim pimcommon
];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$out/include/KF5"
'';
}

View File

@ -26,4 +26,8 @@ mkDerivation {
qtwebengine
];
outputs = [ "out" "dev" ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}