fcitx: use enchant2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, cmake, intltool, gettext
|
||||
, libxml2, enchant1, isocodes, icu, libpthreadstubs
|
||||
, libxml2, enchant2, isocodes, icu, libpthreadstubs
|
||||
, pango, cairo, libxkbfile, libXau, libXdmcp, libxkbcommon
|
||||
, dbus, gtk2, gtk3, qt4, extra-cmake-modules
|
||||
, xkeyboard_config, pcre, libuuid
|
||||
@@ -59,6 +59,8 @@ stdenv.mkDerivation rec {
|
||||
''
|
||||
;
|
||||
|
||||
patches = [ ./find-enchant-lib.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/frontend/qt/CMakeLists.txt \
|
||||
--replace $\{QT_PLUGINS_DIR} $out/lib/qt4/plugins
|
||||
@@ -69,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules intltool pkgconfig pcre ];
|
||||
|
||||
buildInputs = [
|
||||
xkeyboard_config enchant1 gettext isocodes icu libpthreadstubs libXau libXdmcp libxkbfile
|
||||
xkeyboard_config enchant2 gettext isocodes icu libpthreadstubs libXau libXdmcp libxkbfile
|
||||
libxkbcommon libxml2 dbus cairo gtk2 gtk3 pango qt4 libuuid
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user