/[gentoo-x86]/x11-terms/mlterm/mlterm-3.0.11-r1.ebuild
Gentoo

Contents of /x11-terms/mlterm/mlterm-3.0.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Sep 23 08:21:11 2012 UTC (7 years, 3 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
x86 stable wrt bug #429244

(Portage version: 2.1.11.9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-3.0.11-r1.ebuild,v 1.4 2012/08/11 19:46:33 ago Exp $
4
5 EAPI="3"
6 inherit autotools eutils
7
8 IUSE="bidi debug gtk ibus libssh2 m17n-lib nls scim static-libs uim xft"
9
10 DESCRIPTION="A multi-lingual terminal emulator"
11 HOMEPAGE="http://mlterm.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
13
14 SLOT="0"
15 KEYWORDS="amd64 hppa ppc ppc64 x86"
16 LICENSE="BSD"
17
18 RDEPEND="|| ( sys-libs/libutempter sys-apps/utempter )
19 x11-libs/libX11
20 x11-libs/libICE
21 x11-libs/libSM
22 gtk? ( x11-libs/gtk+:2 )
23 xft? ( x11-libs/libXft )
24 bidi? ( >=dev-libs/fribidi-0.10.4 )
25 ibus? ( >=app-i18n/ibus-1.3 )
26 libssh2? ( net-libs/libssh2 )
27 nls? ( virtual/libintl )
28 uim? ( >=app-i18n/uim-1.0 )
29 scim? ( >=app-i18n/scim-1.4 )
30 m17n-lib? ( >=dev-libs/m17n-lib-1.2.0 )"
31 # vte? ( x11-libs/vte )
32 DEPEND="${RDEPEND}
33 virtual/pkgconfig
34 nls? ( sys-devel/gettext )"
35
36 src_prepare() {
37 epatch \
38 "${FILESDIR}"/${PN}-2.9.4-uim15-fix.patch \
39 "${FILESDIR}"/${PN}-3.0.5-ibus.patch \
40 "${FILESDIR}"/${PN}-3.0.7-underlinking.patch
41
42 eautoconf
43 }
44
45 src_configure() {
46 local myconf
47
48 if use gtk ; then
49 myconf="${myconf} --with-imagelib=gdk-pixbuf"
50 else
51 myconf="${myconf} --with-tools=mlclient,mlcc"
52 fi
53
54 if use xft ; then
55 myconf="${myconf} --with-type-engines=xft"
56 else
57 myconf="${myconf} --with-type-engines=xcore"
58 fi
59
60 # iiimf isn't stable enough
61 #myconf="${myconf} $(use_enable iiimf)"
62
63 econf --enable-utmp \
64 $(use_enable bidi fribidi) \
65 $(use_enable debug) \
66 $(use_enable ibus) \
67 $(use_enable libssh2 ssh2) \
68 $(use_enable nls) \
69 $(use_enable uim) \
70 $(use_enable scim) \
71 $(use_enable m17n-lib m17nlib) \
72 $(use_enable static-libs static) \
73 ${myconf} || die "econf failed"
74 }
75
76 src_install () {
77 emake DESTDIR="${D}" install || die
78
79 if ! use static-libs ; then
80 find "${ED}" -name '*.la' -delete || die
81 fi
82
83 doicon contrib/icon/mlterm* || die
84 make_desktop_entry mlterm mlterm mlterm-icon "System;TerminalEmulator" || die
85
86 dodoc ChangeLog README || die
87
88 docinto ja
89 dodoc doc/ja/* || die
90 docinto en
91 dodoc doc/en/* || die
92 }

  ViewVC Help
Powered by ViewVC 1.1.20