/[gentoo-x86]/x11-terms/multi-aterm/multi-aterm-0.2.1-r1.ebuild
Gentoo

Contents of /x11-terms/multi-aterm/multi-aterm-0.2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Mon Oct 15 15:53:44 2012 UTC (2 years ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +11 -5 lines
EAPI 4, respect CFLAGS, wrt to bug #432444

(Portage version: 2.1.11.9/cvs/Linux x86_64)

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/multi-aterm/multi-aterm-0.2.1-r1.ebuild,v 1.10 2010/11/08 12:40:47 nelchael Exp $
4
5 EAPI=4
6
7 inherit eutils
8
9 DESCRIPTION="Terminal emulator with transparency support as well as rxvt backwards compatibility with tab support"
10 HOMEPAGE="http://www.nongnu.org/materm/materm.html"
11 SRC_URI="http://www.nongnu.org/materm/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 hppa ~mips ppc sparc x86"
16 IUSE="cjk debug jpeg png"
17
18 RDEPEND="x11-libs/libXpm
19 jpeg? ( virtual/jpeg )
20 png? ( media-libs/libpng )"
21 DEPEND="${RDEPEND}
22 >=sys-apps/sed-4"
23
24 DOCS=( AUTHORS ChangeLog NEWS TODO )
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${PV}-initialize-vars.patch \
28 "${FILESDIR}"/${P}-display-security-issue.patch \
29 "${FILESDIR}"/${P}-libpng14.patch
30
31 sed -i \
32 -e 's:png_check_sig:png_sig_cmp:' \
33 configure || die
34 }
35
36 src_configure() {
37 econf \
38 --enable-transparency \
39 --enable-fading \
40 --enable-xterm-scroll \
41 --enable-half-shadow \
42 --enable-graphics \
43 --enable-mousewheel \
44 --with-x \
45 --with-xpm=/usr \
46 $(use_enable cjk kanji) \
47 $(use_enable debug) \
48 $(use_enable jpeg) \
49 $(use_enable png)
50 }
51
52 src_compile() {
53 emake CFLAGS="${CFLAGS}"
54 }
55
56 src_install() {
57 default
58 newdoc doc/TODO TODO.2
59 }

  ViewVC Help
Powered by ViewVC 1.1.20