Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/mlterm/
Date: Sat, 14 Sep 2019 09:48:41
Message-Id: 1568454119.9aef166583397ae805e4da6f6e3e3ca0c4e7bed6.hattya@gentoo
1 commit: 9aef166583397ae805e4da6f6e3e3ca0c4e7bed6
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 14 09:41:59 2019 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 14 09:41:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aef1665
7
8 x11-terms/mlterm: new upstream release
9
10 Package-Manager: Portage-2.3.69, 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.8.ebuild | 128 +++++++++++++++++++++++++++++++++++
15 2 files changed, 129 insertions(+)
16
17 diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest
18 index 02ecff9782a..0bce6a1386b 100644
19 --- a/x11-terms/mlterm/Manifest
20 +++ b/x11-terms/mlterm/Manifest
21 @@ -1,3 +1,4 @@
22 DIST mlterm-3.8.4.tar.gz 3881872 BLAKE2B 647810585b0143d0f680c99032cf478e02047acc80086b4c9cbadc59df49e09ba1626ee2ff2c8a1842c68047632c61001d31f7282d9eb8619f0260de7f0bb976 SHA512 6afe0a60001f180df18f2d2ad5e2954a1d9423313d7784eb0cf6a9736c6a62545f461d8e3d079aa1f43eb5f27f4b0c060a7da54e08bf758b283005b16aa1e5cd
23 DIST mlterm-3.8.6.tar.gz 3952815 BLAKE2B e862bf449c801c260c50391af2e4c7cd541b945b3e77186b3d1a8b9395833613c98603084bfd199773e22dca1299cc3b669325a036dd4e827baa435b91d86e42 SHA512 da87a72fd31dbb1e0a4779ec070a5ef2a62a0861a114b61d57d564069c15eb927f26fb47d4973ac6f6c06d99abc2899502e8210f5f3e1c6d97d0b8b52414dfb1
24 DIST mlterm-3.8.7.tar.gz 3994292 BLAKE2B c30991a7bb3a9f0a36d9f898087bda5b86e8282bc811e60430dc61ddd04c8c4cb6b9284ab178d8a6610aca2dcac785326e69e2088b2a7dee786451aa7c6a794c SHA512 6d2087d1433918f476e35dbde8d79940170fa6f133b9122e1db19006afc5081dbad7ed487bfa939b3d92ea29f3843a2b7c5540dc05e54b3c568bbe76ceb66ad2
25 +DIST mlterm-3.8.8.tar.gz 4035215 BLAKE2B 4ef85822915a1a15119ed771e0d2da0158e469b60cc8eafa9a118ba0ee0e4d4191fb0b5e371320978ff83b79907a42c9065d374dff8774bbac73f7ddb57be0af SHA512 4db7de441300d30eadc85d1c780bb10c81d2555225fe163280508180ccc2114eeacf0e5772f9d69c1b59ef6f3ffb3444b75fe3e5ea508dd9e18e5850e78f78a5
26
27 diff --git a/x11-terms/mlterm/mlterm-3.8.8.ebuild b/x11-terms/mlterm/mlterm-3.8.8.ebuild
28 new file mode 100644
29 index 00000000000..c39aa4291b2
30 --- /dev/null
31 +++ b/x11-terms/mlterm/mlterm-3.8.8.ebuild
32 @@ -0,0 +1,128 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="7"
37 +
38 +inherit eutils
39 +
40 +DESCRIPTION="A multi-lingual terminal emulator"
41 +HOMEPAGE="http://mlterm.sourceforge.net/"
42 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
47 +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"
48 +REQUIRED_USE="gtk2? ( gtk )"
49 +
50 +RDEPEND="x11-libs/libICE
51 + x11-libs/libSM
52 + x11-libs/libX11
53 + bidi? ( dev-libs/fribidi )
54 + brltty? ( app-accessibility/brltty )
55 + cairo? ( x11-libs/cairo[X(+)] )
56 + canna? ( app-i18n/canna )
57 + fbcon? ( media-fonts/unifont )
58 + fcitx? ( app-i18n/fcitx )
59 + freewnn? ( app-i18n/freewnn )
60 + gtk? (
61 + gtk2? ( x11-libs/gtk+:2 )
62 + !gtk2? ( x11-libs/gtk+:3 )
63 + )
64 + harfbuzz? ( media-libs/harfbuzz[truetype(+)] )
65 + ibus? ( app-i18n/ibus )
66 + libssh2? ( net-libs/libssh2 )
67 + m17n-lib? ( dev-libs/m17n-lib )
68 + nls? ( virtual/libintl )
69 + regis? (
70 + || (
71 + media-libs/sdl-ttf
72 + media-libs/sdl2-ttf
73 + )
74 + )
75 + scim? ( app-i18n/scim )
76 + skk? (
77 + || (
78 + virtual/skkserv
79 + app-i18n/skk-jisyo
80 + )
81 + )
82 + uim? ( app-i18n/uim )
83 + utempter? ( sys-libs/libutempter )
84 + wayland? ( dev-libs/wayland )
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 canna)
108 + $(use_enable debug)
109 + $(use_enable fcitx)
110 + $(use_enable freewnn wnn)
111 + $(use_enable harfbuzz otl)
112 + $(use_enable ibus)
113 + $(use_enable libssh2 ssh2)
114 + $(use_enable m17n-lib m17nlib)
115 + $(use_enable nls)
116 + $(use_enable scim)
117 + $(use_enable skk)
118 + $(use_enable uim)
119 + $(use_enable utempter utmp)
120 + --with-gui=xlib$(usex fbcon ",fb" "")$(usex wayland ",wayland" "")
121 + --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
122 + --enable-optimize-redrawing
123 + --enable-vt52
124 + --disable-static
125 + )
126 +
127 + local scrollbars="sample,extra"
128 + local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom"
129 + if use gtk; then
130 + myconf+=(
131 + $(use_with gtk gtk $(usex gtk2 2.0 3.0))
132 + --with-imagelib=gdk-pixbuf
133 + )
134 + scrollbars+=",pixmap_engine"
135 + tools+=",mlconfig,mlimgloader"
136 + fi
137 + if use regis; then
138 + tools+=",registobmp"
139 + fi
140 + myconf+=( --with-scrollbars="${scrollbars}" )
141 + myconf+=( --with-tools="${tools}" )
142 +
143 + addpredict /dev/ptmx
144 + econf "${myconf[@]}"
145 +}
146 +
147 +src_test() {
148 + :
149 +}
150 +
151 +src_install () {
152 + default
153 + find "${ED}" -name '*.la' -delete || die
154 +
155 + docinto contrib/icon
156 + dodoc contrib/icon/README
157 +
158 + doicon contrib/icon/${PN}*
159 + make_desktop_entry ${PN} ${PN} ${PN}-icon "System;TerminalEmulator"
160 +}