blob: 6f7624bb6541ed507b7dce2be423da26ff0b07dd (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-0.9.3-r4.ebuild,v 1.11 2007/07/22 05:44:55 dberkholz Exp $
inherit eutils
MY_P=Eterm-${PV}
DESCRIPTION="A vt102 terminal emulator for X"
HOMEPAGE="http://www.eterm.org/"
SRC_URI="http://www.eterm.org/download/${MY_P}.tar.gz
!minimal? ( http://www.eterm.org/download/Eterm-bg-${PV}.tar.gz )
mirror://sourceforge/eterm/${MY_P}.tar.gz
!minimal? ( mirror://sourceforge/eterm/Eterm-bg-${PV}.tar.gz )"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
IUSE="escreen etwin minimal mmx unicode"
DEPEND="x11-libs/libX11
x11-libs/libXmu
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-proto/xextproto
x11-proto/xproto
>=x11-libs/libast-0.6.1
media-libs/imlib2
etwin? ( app-misc/twin )
escreen? ( app-misc/screen )"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${MY_P}.tar.gz
cd "${S}"
epatch "${FILESDIR}"/${P}-pixmap-colmod.patch
epatch "${FILESDIR}"/${P}-CARD64.patch #76324
epatch "${FILESDIR}"/${P}-deadkeys.patch
epatch "${FILESDIR}"/${P}-gcc4.patch #92485
use minimal || unpack Eterm-bg-${PV}.tar.gz
sed -i 's:Tw/Tw_1\.h:Tw/Tw1.h:' src/libscream.c || die
}
src_compile() {
export TIC="true"
econf \
$(use_enable escreen) \
$(use_enable etwin) \
--with-imlib \
--enable-trans \
$(use_enable mmx) \
$(use_enable unicode multi-charset) \
--with-delete=execute \
--with-backspace=auto \
|| die "conf failed"
emake || die "make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc ChangeLog README ReleaseNotes
use escreen && dodoc doc/README.Escreen
dodoc bg/README.backgrounds
}
|