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: Sun, 29 Nov 2015 15:34:34
Message-Id: 1448811199.000d8f1dd63878940a1bdd2d6c183db401bafdc0.hattya@gentoo
1 commit: 000d8f1dd63878940a1bdd2d6c183db401bafdc0
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 15:33:19 2015 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 15:33:19 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000d8f1d
7
8 x11-terms/mlterm: new upstream release
9
10 Package-Manager: portage-2.2.20.1
11
12 x11-terms/mlterm/Manifest | 1 +
13 x11-terms/mlterm/mlterm-3.6.0.ebuild | 112 +++++++++++++++++++++++++++++++++++
14 2 files changed, 113 insertions(+)
15
16 diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest
17 index dcc398d..1c873f6 100644
18 --- a/x11-terms/mlterm/Manifest
19 +++ b/x11-terms/mlterm/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mlterm-3.4.5.tar.gz 3659801 SHA256 7df146099e1d578caddaeb7e93459f96ca1e2381fcc51157a25fe00336072752 SHA512 a85d092680dfe5498a90a4ad4935d441e41efa4ce3aa26f2e8897ef254f9c20d053bb045b5709626ee5bb4c9fdecda9f311a26db7fac6d6369d50336af7ab1f5 WHIRLPOOL 4533009727ad30b94b9b2814a17464975986df7eb2a42b383e654b1233651455a1ff938fae5273af350ccce29cbe08c7e68d26237a511ab7e3fcc45d05665b58
22 DIST mlterm-3.5.0.tar.gz 3707639 SHA256 dedb211c52a8cdaa8891920da0a4f08f4b72f7b3514a5acb038b38419b24e4d3 SHA512 aaeac36a23d8544428b511760a5a23a843509fb75ceec59fea6f012d1626ca99f2772b9b18155d6b527482de649304b7e01ee8b7caef211bf5a01d71718d5ca8 WHIRLPOOL 347286ddcdc4aa97f6ebaa55ddcc0d8930f8396491b2d999d504cea2041d61b9eea090b70921b6f35c4f3eef26093403fcdde6538b1fcdb21299aae348b906ad
23 +DIST mlterm-3.6.0.tar.gz 3751065 SHA256 b6b08e3ce3c2136ed091776f0bb3b9ad0b7070bc2d845c9debe6e2cdc34cec05 SHA512 c7b57340069613d7b19c1b3175f4b2686021b5e336c762bd04045065d290f413c38b84a5b29fa26cf5c4744d0f021d5b7699c3ea48310f596963dfe51668f495 WHIRLPOOL 9e85c26d209a13a695b593c1b5f07f298f861ba6bc8cc44076ac9ac0027e465f356433544dd1a9c4f29c08342e280b45e1d5e8ae77f1480200ed33b6ca0ff5e7
24
25 diff --git a/x11-terms/mlterm/mlterm-3.6.0.ebuild b/x11-terms/mlterm/mlterm-3.6.0.ebuild
26 new file mode 100644
27 index 0000000..af51236
28 --- /dev/null
29 +++ b/x11-terms/mlterm/mlterm-3.6.0.ebuild
30 @@ -0,0 +1,112 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="5"
36 +
37 +inherit autotools eutils
38 +
39 +DESCRIPTION="A multi-lingual terminal emulator"
40 +HOMEPAGE="http://mlterm.sourceforge.net/"
41 +SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
46 +IUSE="bidi cairo canna debug fcitx freewnn gtk ibus libssh2 m17n-lib nls regis scim 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 + fcitx? ( app-i18n/fcitx )
55 + freewnn? ( app-i18n/freewnn )
56 + gtk? ( >=x11-libs/gtk+-2:= )
57 + ibus? ( app-i18n/ibus )
58 + libssh2? ( net-libs/libssh2 )
59 + m17n-lib? ( dev-libs/m17n-lib )
60 + nls? ( virtual/libintl )
61 + regis? (
62 + || (
63 + media-libs/sdl-ttf
64 + media-libs/sdl2-ttf
65 + )
66 + )
67 + scim? ( app-i18n/scim )
68 + uim? ( app-i18n/uim )
69 + utempter? ( sys-libs/libutempter )
70 + xft? ( x11-libs/libXft )"
71 +DEPEND="${RDEPEND}
72 + virtual/pkgconfig
73 + nls? ( sys-devel/gettext )"
74 +
75 +src_prepare() {
76 + # default config
77 + sed -i \
78 + -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/mlterm-icon.svg" \
79 + -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \
80 + etc/main
81 +
82 + epatch_user
83 + eautoconf
84 +}
85 +
86 +src_configure() {
87 + local myconf=(
88 + --disable-static
89 + --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
90 + --enable-optimize-redrawing
91 + --enable-vt52
92 + $(use_enable bidi fribidi)
93 + $(use_enable canna)
94 + $(use_enable debug)
95 + $(use_enable fcitx)
96 + $(use_enable freewnn wnn)
97 + $(use_enable ibus)
98 + $(use_enable libssh2 ssh2)
99 + $(use_enable m17n-lib m17nlib)
100 + $(use_enable nls)
101 + $(use_enable scim)
102 + $(use_enable uim)
103 + $(use_enable utempter utmp)
104 + )
105 +
106 + local scrollbars="sample,extra"
107 + local tools="mlclient,mlcc,mlmenu,mlterm-zoom"
108 + if use gtk; then
109 + myconf+=(--with-imagelib=gdk-pixbuf)
110 + if has_version x11-libs/gtk+:3; then
111 + myconf+=(--with-gtk=3.0)
112 + else
113 + myconf+=(--with-gtk=2.0)
114 + fi
115 + scrollbars+=",pixmap_engine"
116 + tools+=",mlconfig,mlimgloader"
117 + fi
118 + if use regis; then
119 + tools+=",registobmp"
120 + fi
121 + myconf+=(--with-scrollbars="${scrollbars}")
122 + myconf+=(--with-tools="${tools}")
123 +
124 + addpredict /dev/ptmx
125 + econf "${myconf[@]}"
126 +}
127 +
128 +src_test() {
129 + :
130 +}
131 +
132 +src_install () {
133 + default
134 + dodoc -r doc/{en,ja}
135 + prune_libtool_files
136 +
137 + docinto contrib/icon
138 + dodoc contrib/icon/README
139 +
140 + doicon contrib/icon/mlterm*
141 + make_desktop_entry mlterm mlterm mlterm-icon "System;TerminalEmulator"
142 +}