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