1 |
commit: 642dcb64c865d0028838d42c0342c8011c3d1fa4 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 9 14:04:07 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 9 14:04:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=642dcb64 |
7 |
|
8 |
x11-terms/mlterm: new upstream release |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
12 |
|
13 |
x11-terms/mlterm/Manifest | 1 + |
14 |
x11-terms/mlterm/mlterm-3.8.9.ebuild | 128 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 129 insertions(+) |
16 |
|
17 |
diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest |
18 |
index 00bf14ee21e..789cec8634a 100644 |
19 |
--- a/x11-terms/mlterm/Manifest |
20 |
+++ b/x11-terms/mlterm/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST mlterm-3.8.7.tar.gz 3994292 BLAKE2B c30991a7bb3a9f0a36d9f898087bda5b86e8282bc811e60430dc61ddd04c8c4cb6b9284ab178d8a6610aca2dcac785326e69e2088b2a7dee786451aa7c6a794c SHA512 6d2087d1433918f476e35dbde8d79940170fa6f133b9122e1db19006afc5081dbad7ed487bfa939b3d92ea29f3843a2b7c5540dc05e54b3c568bbe76ceb66ad2 |
23 |
DIST mlterm-3.8.8.tar.gz 4035215 BLAKE2B 4ef85822915a1a15119ed771e0d2da0158e469b60cc8eafa9a118ba0ee0e4d4191fb0b5e371320978ff83b79907a42c9065d374dff8774bbac73f7ddb57be0af SHA512 4db7de441300d30eadc85d1c780bb10c81d2555225fe163280508180ccc2114eeacf0e5772f9d69c1b59ef6f3ffb3444b75fe3e5ea508dd9e18e5850e78f78a5 |
24 |
+DIST mlterm-3.8.9.tar.gz 4101898 BLAKE2B 81ce300f16dcf6bc1f3e0467fc4646aa263a222965f10d87a8010a70af9f675965f184a5f1a7909b43d6375fc951e98854ee41af10c2cebfd03697560fb5856b SHA512 0bd5468dc58095fd9432922490178fe14335724cee08d2f509e8f72a4d5f9aea9ff2f0672706e5290219575f47a1ff15dccb4e21e318c89dd5718fe6ef694c0c |
25 |
|
26 |
diff --git a/x11-terms/mlterm/mlterm-3.8.9.ebuild b/x11-terms/mlterm/mlterm-3.8.9.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b4ee59771b3 |
29 |
--- /dev/null |
30 |
+++ b/x11-terms/mlterm/mlterm-3.8.9.ebuild |
31 |
@@ -0,0 +1,128 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="7" |
36 |
+ |
37 |
+inherit desktop |
38 |
+ |
39 |
+DESCRIPTION="A multi-lingual terminal emulator" |
40 |
+HOMEPAGE="http://mlterm.sourceforge.net/" |
41 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
46 |
+IUSE="bidi brltty cairo canna debug fbcon fcitx freewnn gtk gtk2 harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft" |
47 |
+REQUIRED_USE="gtk2? ( gtk )" |
48 |
+ |
49 |
+RDEPEND="x11-libs/libICE |
50 |
+ x11-libs/libSM |
51 |
+ x11-libs/libX11 |
52 |
+ bidi? ( dev-libs/fribidi ) |
53 |
+ brltty? ( app-accessibility/brltty ) |
54 |
+ cairo? ( x11-libs/cairo[X(+)] ) |
55 |
+ canna? ( app-i18n/canna ) |
56 |
+ fbcon? ( media-fonts/unifont ) |
57 |
+ fcitx? ( app-i18n/fcitx ) |
58 |
+ freewnn? ( app-i18n/freewnn ) |
59 |
+ gtk? ( |
60 |
+ gtk2? ( x11-libs/gtk+:2 ) |
61 |
+ !gtk2? ( x11-libs/gtk+:3 ) |
62 |
+ ) |
63 |
+ harfbuzz? ( media-libs/harfbuzz[truetype(+)] ) |
64 |
+ ibus? ( app-i18n/ibus ) |
65 |
+ libssh2? ( net-libs/libssh2 ) |
66 |
+ m17n-lib? ( dev-libs/m17n-lib ) |
67 |
+ nls? ( virtual/libintl ) |
68 |
+ regis? ( |
69 |
+ || ( |
70 |
+ media-libs/sdl-ttf |
71 |
+ media-libs/sdl2-ttf |
72 |
+ ) |
73 |
+ ) |
74 |
+ scim? ( app-i18n/scim ) |
75 |
+ skk? ( |
76 |
+ || ( |
77 |
+ virtual/skkserv |
78 |
+ app-i18n/skk-jisyo |
79 |
+ ) |
80 |
+ ) |
81 |
+ uim? ( app-i18n/uim ) |
82 |
+ utempter? ( sys-libs/libutempter ) |
83 |
+ wayland? ( dev-libs/wayland ) |
84 |
+ xft? ( x11-libs/libXft )" |
85 |
+DEPEND="${RDEPEND} |
86 |
+ virtual/pkgconfig |
87 |
+ nls? ( sys-devel/gettext )" |
88 |
+ |
89 |
+PATCHES=( "${FILESDIR}"/${PN}-font.patch ) |
90 |
+DOCS=( doc/{en,ja} ) |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ # default config |
94 |
+ sed -i \ |
95 |
+ -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/${PN}-icon.svg" \ |
96 |
+ -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \ |
97 |
+ etc/main |
98 |
+ |
99 |
+ default |
100 |
+} |
101 |
+ |
102 |
+src_configure() { |
103 |
+ local myconf=( |
104 |
+ $(use_enable bidi fribidi) |
105 |
+ $(use_enable brltty brlapi) |
106 |
+ $(use_enable canna) |
107 |
+ $(use_enable debug) |
108 |
+ $(use_enable fcitx) |
109 |
+ $(use_enable freewnn wnn) |
110 |
+ $(use_enable harfbuzz otl) |
111 |
+ $(use_enable ibus) |
112 |
+ $(use_enable libssh2 ssh2) |
113 |
+ $(use_enable m17n-lib m17nlib) |
114 |
+ $(use_enable nls) |
115 |
+ $(use_enable scim) |
116 |
+ $(use_enable skk) |
117 |
+ $(use_enable uim) |
118 |
+ $(use_enable utempter utmp) |
119 |
+ --with-gui=xlib$(usex fbcon ",fb" "")$(usex wayland ",wayland" "") |
120 |
+ --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "") |
121 |
+ --enable-optimize-redrawing |
122 |
+ --enable-vt52 |
123 |
+ --disable-static |
124 |
+ ) |
125 |
+ |
126 |
+ local scrollbars="sample,extra" |
127 |
+ local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom" |
128 |
+ if use gtk; then |
129 |
+ myconf+=( |
130 |
+ $(use_with gtk gtk $(usex gtk2 2.0 3.0)) |
131 |
+ --with-imagelib=gdk-pixbuf |
132 |
+ ) |
133 |
+ scrollbars+=",pixmap_engine" |
134 |
+ tools+=",mlconfig,mlimgloader" |
135 |
+ fi |
136 |
+ if use regis; then |
137 |
+ tools+=",registobmp" |
138 |
+ fi |
139 |
+ myconf+=( --with-scrollbars="${scrollbars}" ) |
140 |
+ myconf+=( --with-tools="${tools}" ) |
141 |
+ |
142 |
+ addpredict /dev/ptmx |
143 |
+ econf "${myconf[@]}" |
144 |
+} |
145 |
+ |
146 |
+src_test() { |
147 |
+ : |
148 |
+} |
149 |
+ |
150 |
+src_install () { |
151 |
+ default |
152 |
+ find "${ED}" -name '*.la' -delete || die |
153 |
+ |
154 |
+ docinto contrib/icon |
155 |
+ dodoc contrib/icon/README |
156 |
+ |
157 |
+ doicon contrib/icon/${PN}* |
158 |
+ make_desktop_entry ${PN} ${PN} ${PN}-icon "System;TerminalEmulator" |
159 |
+} |