libsForQt5.kjs: remove pcre dependency (#411052)

This commit is contained in:
K900
2025-05-27 20:52:08 +03:00
committed by GitHub
@@ -1,8 +1,8 @@
{
lib,
mkDerivation,
extra-cmake-modules,
kdoctools,
pcre,
qtbase,
}:
@@ -13,7 +13,12 @@ mkDerivation {
kdoctools
];
buildInputs = [
pcre
qtbase
];
cmakeFlags = [
# this can break stuff, see:
# https://invent.kde.org/frameworks/kjs/-/blob/3c663ad8ac16f8982784a5ebd5d9200e7aa07936/CMakeLists.txt#L36-46
# However: It shouldn't break much considering plasma 5 is planned to be removed.
(lib.cmakeBool "KJS_FORCE_DISABLE_PCRE" true)
];
}