fcitx5-qt: fix missing libfcitx5platforminputcontextplugin.so

This commit is contained in:
Potato Hatsue 2021-01-18 00:52:53 +08:00
parent e0604b3abe
commit 9509da46e7
No known key found for this signature in database
GPG Key ID: C4F93F1ED397E8CF

View File

@ -7,6 +7,7 @@
, qtx11extras
, libxcb
, libXdmcp
, qtbase
}:
mkDerivation rec {
@ -20,8 +21,14 @@ mkDerivation rec {
sha256 = "BVOumk2xj3vmwmm4KwiktQhWyTuUA2OFwYXNR6HgwyM=";
};
preConfigure = ''
substituteInPlace qt5/platforminputcontext/CMakeLists.txt \
--replace \$"{CMAKE_INSTALL_QT5PLUGINDIR}" $out/${qtbase.qtPluginPrefix}
'';
cmakeFlags = [
"-DENABLE_QT4=0"
"-DENABLE_QT6=0"
];
nativeBuildInputs = [
@ -34,6 +41,7 @@ mkDerivation rec {
qtx11extras
libxcb
libXdmcp
qtbase
];
meta = with lib; {