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

Contents of /x11-terms/mlterm/mlterm-3.0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Sep 7 03:07:30 2014 UTC (3 months, 3 weeks ago) by hattya
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
new upstream release

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EC917A6D)

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.9.ebuild,v 1.8 2012/05/03 07:11:34 jdhore 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.8-ldflags.patch \
41 "${FILESDIR}"/${PN}-3.0.7-underlinking.patch
42
43 eautoconf
44 }
45
46 src_configure() {
47 local myconf
48
49 if use gtk ; then
50 myconf="${myconf} --with-imagelib=gdk-pixbuf"
51 else
52 myconf="${myconf} --with-tools=mlclient,mlcc"
53 fi
54
55 if use xft ; then
56 myconf="${myconf} --with-type-engines=xft"
57 else
58 myconf="${myconf} --with-type-engines=xcore"
59 fi
60
61 # iiimf isn't stable enough
62 #myconf="${myconf} $(use_enable iiimf)"
63
64 econf --enable-utmp \
65 $(use_enable bidi fribidi) \
66 $(use_enable debug) \
67 $(use_enable ibus) \
68 $(use_enable libssh2 ssh2) \
69 $(use_enable nls) \
70 $(use_enable uim) \
71 $(use_enable scim) \
72 $(use_enable m17n-lib m17nlib) \
73 $(use_enable static-libs static) \
74 ${myconf} || die "econf failed"
75 }
76
77 src_install () {
78 emake DESTDIR="${D}" install || die
79
80 if ! use static-libs ; then
81 find "${ED}" -name '*.la' -delete || die
82 fi
83
84 doicon contrib/icon/mlterm* || die
85 make_desktop_entry mlterm mlterm mlterm-icon TerminalEmulator || die
86
87 dodoc ChangeLog README || die
88
89 docinto ja
90 dodoc doc/ja/* || die
91 docinto en
92 dodoc doc/en/* || die
93 }

  ViewVC Help
Powered by ViewVC 1.1.20