fcitx: 4.2.9 -> 4.2.9.1, fix build
This commit is contained in:
@@ -1,27 +1,34 @@
|
||||
{ stdenv, fetchurl, pkgconfig, cmake, intltool, gettext
|
||||
, libxml2, enchant, isocodes, icu, libpthreadstubs
|
||||
, pango, cairo, libxkbfile, libXau, libXdmcp
|
||||
, pango, cairo, libxkbfile, libXau, libXdmcp, libxkbcommon
|
||||
, dbus, gtk2, gtk3, qt4, kde5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fcitx-${version}";
|
||||
version = "4.2.9";
|
||||
version = "4.2.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.fcitx-im.org/fcitx/${name}_dict.tar.xz";
|
||||
sha256 = "0v7wdf3qf74vz8q090w8k574wvfcpj9ksfcfdw93nmzyk1q5p4rs";
|
||||
url = "http://download.fcitx-im.org/fcitx/${name}_dict.tar.xz";
|
||||
sha256 = "0xvcmm4yi7kagf55d0yl3ql5ssbkm9410fwbz3kd988pchichdsk";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
postUnpack = ''
|
||||
ln -s ${kde5.extra-cmake-modules}/share/ECM/modules/ECMFindModuleHelpers.cmake \
|
||||
$sourceRoot/cmake/
|
||||
'';
|
||||
|
||||
patches = [ ./fcitx-ecm.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/frontend/qt/CMakeLists.txt \
|
||||
--replace $\{QT_PLUGINS_DIR} $out/lib/qt4/plugins
|
||||
'';
|
||||
|
||||
buildInputs = with stdenv.lib; [
|
||||
cmake enchant pango gettext libxml2 isocodes pkgconfig libxkbfile
|
||||
intltool cairo icu libpthreadstubs libXau libXdmcp
|
||||
dbus gtk2 gtk3 qt4 kde5.extra-cmake-modules
|
||||
buildInputs = [
|
||||
cmake enchant gettext isocodes pkgconfig intltool icu
|
||||
libpthreadstubs libXau libXdmcp libxkbfile libxkbcommon libxml2
|
||||
dbus cairo gtk2 gtk3 pango qt4
|
||||
];
|
||||
|
||||
cmakeFlags = ''
|
||||
@@ -34,11 +41,11 @@ stdenv.mkDerivation rec {
|
||||
-DENABLE_XDGAUTOSTART=OFF
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://code.google.com/p/fcitx/";
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/fcitx/fcitx";
|
||||
description = "A Flexible Input Method Framework";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ ericsagnes ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ericsagnes ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user