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, 09 Dec 2017 13:02:15
Message-Id: 1512824499.3efcdb071ea68ce474cd5e86b9bdc9a8076a78f1.hattya@gentoo
1 commit: 3efcdb071ea68ce474cd5e86b9bdc9a8076a78f1
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 9 13:01:39 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 13:01:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3efcdb07
7
8 x11-terms/mlterm: new upstream release
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.4
11
12 x11-terms/mlterm/Manifest | 3 +-
13 x11-terms/mlterm/mlterm-3.8.4.ebuild | 125 +++++++++++++++++++++++++++++++++++
14 2 files changed, 127 insertions(+), 1 deletion(-)
15
16 diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest
17 index 37e0421450d..2e9d810aefa 100644
18 --- a/x11-terms/mlterm/Manifest
19 +++ b/x11-terms/mlterm/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mlterm-3.8.0.tar.gz 3756779 SHA256 6be0165fe43dc45099c4b37303fcca918e5dd07c5b0abb1fd4e35c8d73e9bf01 SHA512 86d163aaf24668dea77e54ff775cb448c6c699bcc82e1d84fe9a9fbed90d9c834ee3e61348de77713b2dbd229b37b76d2be817d788710f224cd5c53e7f93049f WHIRLPOOL b189d06d420a42ded64e84c17158c21d3968353ac69bc1027bc1895a2eccc21cafe402d6b4f9497ca652d436ecc51c99ce8287ec96790e75d526facd7a830558
22 -DIST mlterm-3.8.2.tar.gz 3836220 SHA256 30278fc4b43bf66eebd8ff728f943674554e7593a3989d0f3ea68c4b34270399 SHA512 f0dafdc60cec8d221681669f7d53bc46615b22b05fe5d3de21946c7b62ec1631acedda4e80530e84df3be6234d198cd35a1595a73626884f2b21d03a09ecdace WHIRLPOOL 4941f21b1826368fef1a0f473f4bdab3b463c47979a823862883a9a67464bae11c2c62a3f7767d6d5d52084dd6ee875024844f31b974fa3c4f5f4d0fd61ef71d
23 +DIST mlterm-3.8.2.tar.gz 3836220 BLAKE2B 090b5ce89e1f86f20e1e2cc9e982c93258334176b1e6ae748ddc10e3aed560e5cc12fa6eb37a93b55ac977578b684df6fa4056c01e31236ef76943d3dee3a69f SHA512 f0dafdc60cec8d221681669f7d53bc46615b22b05fe5d3de21946c7b62ec1631acedda4e80530e84df3be6234d198cd35a1595a73626884f2b21d03a09ecdace
24 +DIST mlterm-3.8.4.tar.gz 3881872 BLAKE2B 647810585b0143d0f680c99032cf478e02047acc80086b4c9cbadc59df49e09ba1626ee2ff2c8a1842c68047632c61001d31f7282d9eb8619f0260de7f0bb976 SHA512 6afe0a60001f180df18f2d2ad5e2954a1d9423313d7784eb0cf6a9736c6a62545f461d8e3d079aa1f43eb5f27f4b0c060a7da54e08bf758b283005b16aa1e5cd
25
26 diff --git a/x11-terms/mlterm/mlterm-3.8.4.ebuild b/x11-terms/mlterm/mlterm-3.8.4.ebuild
27 new file mode 100644
28 index 00000000000..57ced957e96
29 --- /dev/null
30 +++ b/x11-terms/mlterm/mlterm-3.8.4.ebuild
31 @@ -0,0 +1,125 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="6"
36 +
37 +inherit eutils
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 cairo canna debug fbcon fcitx freewnn gtk gtk2 harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter xft"
47 +
48 +RDEPEND="x11-libs/libICE
49 + x11-libs/libSM
50 + x11-libs/libX11
51 + bidi? ( dev-libs/fribidi )
52 + cairo? ( x11-libs/cairo[X(+)] )
53 + canna? ( app-i18n/canna )
54 + fbcon? ( media-fonts/unifont )
55 + fcitx? ( app-i18n/fcitx )
56 + freewnn? ( app-i18n/freewnn )
57 + gtk? (
58 + gtk2? ( x11-libs/gtk+:2 )
59 + !gtk2? ( x11-libs/gtk+:3 )
60 + )
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 + xft? ( x11-libs/libXft )"
82 +DEPEND="${RDEPEND}
83 + virtual/pkgconfig
84 + nls? ( sys-devel/gettext )"
85 +REQUIRED_USE="gtk2? ( gtk )"
86 +
87 +PATCHES=( "${FILESDIR}"/${PN}-font.patch )
88 +DOCS=( doc/{en,ja} )
89 +
90 +src_prepare() {
91 + # default config
92 + sed -i \
93 + -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/${PN}-icon.svg" \
94 + -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \
95 + etc/main
96 +
97 + default
98 +}
99 +
100 +src_configure() {
101 + local myconf=(
102 + $(use_enable bidi fribidi)
103 + $(use_enable canna)
104 + $(use_enable debug)
105 + $(use_enable fcitx)
106 + $(use_enable freewnn wnn)
107 + $(use_enable harfbuzz otl)
108 + $(use_enable ibus)
109 + $(use_enable libssh2 ssh2)
110 + $(use_enable m17n-lib m17nlib)
111 + $(use_enable nls)
112 + $(use_enable scim)
113 + $(use_enable skk)
114 + $(use_enable uim)
115 + $(use_enable utempter utmp)
116 + --with-gui=xlib$(usex fbcon ",fb" "")
117 + --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
118 + --enable-optimize-redrawing
119 + --enable-vt52
120 + --disable-static
121 + )
122 +
123 + local scrollbars="sample,extra"
124 + local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom"
125 + if use gtk; then
126 + myconf+=(
127 + $(use_with gtk gtk $(usex gtk2 2.0 3.0))
128 + --with-imagelib=gdk-pixbuf
129 + )
130 + scrollbars+=",pixmap_engine"
131 + tools+=",mlconfig,mlimgloader"
132 + fi
133 + if use regis; then
134 + tools+=",registobmp"
135 + fi
136 + myconf+=( --with-scrollbars="${scrollbars}" )
137 + myconf+=( --with-tools="${tools}" )
138 +
139 + addpredict /dev/ptmx
140 + econf "${myconf[@]}"
141 +}
142 +
143 +src_test() {
144 + :
145 +}
146 +
147 +src_install () {
148 + default
149 + prune_libtool_files
150 +
151 + docinto contrib/icon
152 + dodoc contrib/icon/README
153 +
154 + doicon contrib/icon/${PN}*
155 + make_desktop_entry ${PN} ${PN} ${PN}-icon "System;TerminalEmulator"
156 +}