blob: b54f0502aa04a68337a43bc8402e7d932b8545c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-2.7.0-r1.ebuild,v 1.4 2003/12/05 08:15:29 usata Exp $
IUSE="truetype gnome gtk gtk2 imlib bidi nls"
S="${WORKDIR}/${P}"
DESCRIPTION="A multi-lingual terminal emulator"
HOMEPAGE="http://mlterm.sourceforge.net/"
SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
SLOT="0"
KEYWORDS="x86 ppc"
LICENSE="BSD"
DEPEND="gnome? ( gtk? ( gtk2? ( =x11-libs/gtk+-2* ) )
!gtk? ( >=media-libs/gdk-pixbuf-0.18.0 ) )
!gnome? ( imlib? ( >=media-libs/imlib-1.9.14 ) )
=x11-libs/gtk+-1.2*
truetype? ( >=media-libs/freetype-2.1.2 )
bidi? ( >=dev-libs/fribidi-0.10.4 )
nls? ( sys-devel/gettext )"
src_compile() {
local myconf imagelib
if [ -n "`use gnome`" ] ; then
if [ -n "`use gtk`" -a -n "`use gtk2`" ] ; then
imagelib="gdk-pixbuf2"
else
imagelib="gdk-pixbuf1"
fi
elif [ -n "`use imlib`" ] ; then
imagelib="imlib"
fi
econf --enable-utmp \
`use_enable truetype anti-alias` \
`use_enable bidi fribidi` \
`use_enable nls` \
--with-imagelib=${imagelib} \
${myconf} || die "econf failed"
emake || die
}
src_install () {
einstall || die
dodoc ChangeLog LICENCE README
insinto /etc/mlterm ; doins contrib/tool/mlterm-menu/menu
}
|