1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="A vt102 terminal emulator for X"
7 HOMEPAGE="http://www.eterm.org/"
9 http://www.eterm.org/download/${P^}.tar.gz
10 !minimal? ( http://www.eterm.org/download/Eterm-bg-${PV}.tar.gz )"
14 KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-linux ~ppc-macos ~x86-macos"
15 IUSE="escreen minimal cpu_flags_x86_mmx cpu_flags_x86_sse2 unicode +utempter"
24 media-fonts/font-misc-misc
25 escreen? ( app-misc/screen )
29 DOCS=( ChangeLog README ReleaseNotes bg/README.backgrounds )
30 PATCHES=( "${FILESDIR}"/${P}-asm-gnu-stack.patch )
37 use minimal || unpack Eterm-bg-${PV}.tar.gz
44 $(use_enable escreen) \
47 $(use_enable cpu_flags_x86_mmx mmx) \
48 $(use_enable cpu_flags_x86_sse2 sse2) \
49 $(use_enable unicode multi-charset) \
50 $(use_enable utempter utmp) \
51 --with-delete=execute \
56 use escreen && DOCS+=( doc/README.Escreen )
58 # We don't install headers to link against this library
59 rm -f "${ED%/}"/usr/*/libEterm.{so,la} || die