1 |
commit: 496709371aaada0a52bf2e8028bbb0f70bff06c7 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 18 15:50:12 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 18 15:50:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49670937 |
7 |
|
8 |
app-i18n/kimera: add support for app-i18n/imsettings |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-i18n/kimera/files/xinput-kimera | 4 ++++ |
13 |
app-i18n/kimera/kimera-2.11-r2.ebuild | 44 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/app-i18n/kimera/files/xinput-kimera b/app-i18n/kimera/files/xinput-kimera |
17 |
new file mode 100644 |
18 |
index 00000000000..080c0233af4 |
19 |
--- /dev/null |
20 |
+++ b/app-i18n/kimera/files/xinput-kimera |
21 |
@@ -0,0 +1,4 @@ |
22 |
+XIM=kimera |
23 |
+XIM_PROGRAM="@EPREFIX@/usr/bin/kimera" |
24 |
+GTK_IM_MODULE=xim |
25 |
+QT_IM_MODULE=xim |
26 |
|
27 |
diff --git a/app-i18n/kimera/kimera-2.11-r2.ebuild b/app-i18n/kimera/kimera-2.11-r2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..2be50304e3b |
30 |
--- /dev/null |
31 |
+++ b/app-i18n/kimera/kimera-2.11-r2.ebuild |
32 |
@@ -0,0 +1,44 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="6" |
37 |
+ |
38 |
+inherit qmake-utils |
39 |
+ |
40 |
+DESCRIPTION="A Japanese input method which supports the XIM protocol" |
41 |
+HOMEPAGE="http://kimera.osdn.jp/" |
42 |
+SRC_URI="mirror://sourceforge.jp/${PN}/37271/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="+anthy" |
48 |
+ |
49 |
+RDEPEND="dev-qt/qt3support:4 |
50 |
+ dev-qt/qtcore:4 |
51 |
+ dev-qt/qtgui:4 |
52 |
+ anthy? ( app-i18n/anthy ) |
53 |
+ !anthy? ( app-i18n/canna )" |
54 |
+DEPEND="${RDEPEND}" |
55 |
+ |
56 |
+PATCHES=( "${FILESDIR}"/${PN}-underlinking.patch ) |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local myconf=( |
60 |
+ script.path="${EPREFIX}"/usr/bin |
61 |
+ target.path="${EPREFIX}"/usr/$(get_libdir)/${P} |
62 |
+ no_anthy=$(usex anthy 1 0) |
63 |
+ ) |
64 |
+ eqmake4 ${PN}.pro "${myconf[@]}" |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ emake INSTALL_ROOT="${D}" install |
69 |
+ einstalldocs |
70 |
+ |
71 |
+ insinto /etc/X11/xinit/xinput.d |
72 |
+ sed \ |
73 |
+ -e "s:@EPREFIX@:${EPREFIX}:g" \ |
74 |
+ "${FILESDIR}"/xinput-${PN} > "${T}"/${PN}.conf |
75 |
+ doins "${T}"/${PN}.conf |
76 |
+} |