2017-02-24 23:16:28 +00:00
|
|
|
{stdenv, fetchurl, intltool, pkgconfig, qt4, gtk2, gtk3, kdelibs4, ncurses,
|
2016-02-01 00:31:57 +00:00
|
|
|
cmake, anthy, automoc4, m17n_lib, m17n_db}:
|
2014-07-13 07:46:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.8.6";
|
|
|
|
name = "uim-${version}";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
intltool
|
|
|
|
pkgconfig
|
|
|
|
qt4
|
|
|
|
gtk2
|
|
|
|
gtk3
|
2017-02-24 23:16:28 +00:00
|
|
|
kdelibs4
|
2016-05-16 23:26:15 +01:00
|
|
|
ncurses
|
2014-07-13 07:46:34 +01:00
|
|
|
cmake
|
2014-11-07 09:12:03 +00:00
|
|
|
anthy
|
2016-02-01 00:31:57 +00:00
|
|
|
automoc4
|
|
|
|
m17n_lib
|
|
|
|
m17n_db
|
2014-07-13 07:46:34 +01:00
|
|
|
];
|
|
|
|
|
2016-02-16 13:46:17 +00:00
|
|
|
patches = [ ./data-hook.patch ];
|
2014-07-13 07:46:34 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-gtk2"
|
|
|
|
"--with-gtk3"
|
|
|
|
"--enable-kde4-applet"
|
|
|
|
"--enable-notify=knotify4"
|
|
|
|
"--enable-pref"
|
|
|
|
"--with-qt4"
|
|
|
|
"--with-qt4-immodule"
|
|
|
|
"--with-skk"
|
|
|
|
"--with-x"
|
2014-11-07 09:12:03 +00:00
|
|
|
"--with-anthy-utf8"
|
2014-07-13 07:46:34 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-27 00:44:19 +01:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/uim/uim-${version}.tar.bz2";
|
2014-07-13 07:46:34 +01:00
|
|
|
sha1 = "43b9dbdead6797880e6cfc9c032ecb2d37d42777";
|
|
|
|
};
|
|
|
|
|
2016-02-16 13:46:17 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-10-27 00:44:19 +01:00
|
|
|
homepage = "https://github.com/uim/uim";
|
2014-07-13 07:46:34 +01:00
|
|
|
description = "A multilingual input method framework";
|
2016-02-16 13:46:17 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ericsagnes ];
|
2014-07-13 07:46:34 +01:00
|
|
|
};
|
|
|
|
}
|