fcitx-qt5: fix build
This commit is contained in:
parent
52f3c28df2
commit
63ea6e95f7
@ -21,15 +21,15 @@ mkDerivation rec {
|
||||
|
||||
buildInputs = [ fcitx qtbase ];
|
||||
|
||||
preInstall = ''
|
||||
substituteInPlace platforminputcontext/cmake_install.cmake \
|
||||
--replace ${qtbase.bin} $out
|
||||
substituteInPlace quickphrase-editor/cmake_install.cmake \
|
||||
--replace ${fcitx} $out
|
||||
preConfigure = ''
|
||||
substituteInPlace platforminputcontext/CMakeLists.txt \
|
||||
--replace \$"{CMAKE_INSTALL_QTPLUGINDIR}" $out/${qtbase.qtPluginPrefix}
|
||||
substituteInPlace quickphrase-editor/CMakeLists.txt \
|
||||
--replace \$"{FCITX4_ADDON_INSTALL_DIR}" $out/lib/fcitx
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://gitlab.com/fcitx/fcitx-qt5;
|
||||
homepage = "https://gitlab.com/fcitx/fcitx-qt5";
|
||||
description = "Qt5 IM Module for Fcitx";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
|
Loading…
Reference in New Issue
Block a user