Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/mlterm: ChangeLog mlterm-3.0.9.ebuild
Date: Mon, 28 Nov 2011 08:28:58
Message-Id: 20111128082844.B7AB32004B@flycatcher.gentoo.org
1 naota 11/11/28 08:28:44
2
3 Modified: ChangeLog
4 Added: mlterm-3.0.9.ebuild
5 Log:
6 Version bumped.
7
8 (Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.82 x11-terms/mlterm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/mlterm/ChangeLog?rev=1.82&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/mlterm/ChangeLog?rev=1.82&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/mlterm/ChangeLog?r1=1.81&r2=1.82
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-terms/mlterm/ChangeLog,v
20 retrieving revision 1.81
21 retrieving revision 1.82
22 diff -u -r1.81 -r1.82
23 --- ChangeLog 10 Nov 2011 16:39:13 -0000 1.81
24 +++ ChangeLog 28 Nov 2011 08:28:44 -0000 1.82
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-terms/mlterm
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/ChangeLog,v 1.81 2011/11/10 16:39:13 naota Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/ChangeLog,v 1.82 2011/11/28 08:28:44 naota Exp $
30 +
31 +*mlterm-3.0.9 (28 Nov 2011)
32 +
33 + 28 Nov 2011; Naohiro Aota <naota@g.o> +mlterm-3.0.9.ebuild:
34 + Version bumped.
35
36 *mlterm-3.0.8 (10 Nov 2011)
37
38
39
40
41 1.1 x11-terms/mlterm/mlterm-3.0.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/mlterm/mlterm-3.0.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/mlterm/mlterm-3.0.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mlterm-3.0.9.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-3.0.9.ebuild,v 1.1 2011/11/28 08:28:44 naota Exp $
51
52 EAPI="3"
53 inherit autotools eutils
54
55 IUSE="bidi debug gtk ibus libssh2 m17n-lib nls scim static-libs uim xft"
56
57 DESCRIPTION="A multi-lingual terminal emulator"
58 HOMEPAGE="http://mlterm.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
60
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
63 LICENSE="BSD"
64
65 RDEPEND="|| ( sys-libs/libutempter sys-apps/utempter )
66 x11-libs/libX11
67 x11-libs/libICE
68 x11-libs/libSM
69 gtk? ( x11-libs/gtk+:2 )
70 xft? ( x11-libs/libXft )
71 bidi? ( >=dev-libs/fribidi-0.10.4 )
72 ibus? ( >=app-i18n/ibus-1.3 )
73 libssh2? ( net-libs/libssh2 )
74 nls? ( virtual/libintl )
75 uim? ( >=app-i18n/uim-1.0 )
76 scim? ( >=app-i18n/scim-1.4 )
77 m17n-lib? ( >=dev-libs/m17n-lib-1.2.0 )"
78 # vte? ( x11-libs/vte )
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig
81 nls? ( sys-devel/gettext )"
82
83 src_prepare() {
84 epatch \
85 "${FILESDIR}"/${PN}-2.9.4-uim15-fix.patch \
86 "${FILESDIR}"/${PN}-3.0.5-ibus.patch \
87 "${FILESDIR}"/${PN}-3.0.8-ldflags.patch \
88 "${FILESDIR}"/${PN}-3.0.7-underlinking.patch
89
90 eautoconf
91 }
92
93 src_configure() {
94 local myconf
95
96 if use gtk ; then
97 myconf="${myconf} --with-imagelib=gdk-pixbuf"
98 else
99 myconf="${myconf} --with-tools=mlclient,mlcc"
100 fi
101
102 if use xft ; then
103 myconf="${myconf} --with-type-engines=xft"
104 else
105 myconf="${myconf} --with-type-engines=xcore"
106 fi
107
108 # iiimf isn't stable enough
109 #myconf="${myconf} $(use_enable iiimf)"
110
111 econf --enable-utmp \
112 $(use_enable bidi fribidi) \
113 $(use_enable debug) \
114 $(use_enable ibus) \
115 $(use_enable libssh2 ssh2) \
116 $(use_enable nls) \
117 $(use_enable uim) \
118 $(use_enable scim) \
119 $(use_enable m17n-lib m17nlib) \
120 $(use_enable static-libs static) \
121 ${myconf} || die "econf failed"
122 }
123
124 src_install () {
125 emake DESTDIR="${D}" install || die
126
127 if ! use static-libs ; then
128 find "${ED}" -name '*.la' -delete || die
129 fi
130
131 doicon contrib/icon/mlterm* || die
132 make_desktop_entry mlterm mlterm mlterm-icon TerminalEmulator || die
133
134 dodoc ChangeLog README || die
135
136 docinto ja
137 dodoc doc/ja/* || die
138 docinto en
139 dodoc doc/en/* || die
140 }