diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2003-10-31 18:08:38 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2003-10-31 18:08:38 +0000 |
commit | 8618527c81fa7933fc7a443974384d0c1ee6074b (patch) | |
tree | d5de8e2f13381b490d64e8cd904bc723b723befa /x11-terms/aterm/aterm-0.4.2-r5.ebuild | |
parent | Added borderless patch. (diff) | |
download | gentoo-2-8618527c81fa7933fc7a443974384d0c1ee6074b.tar.gz gentoo-2-8618527c81fa7933fc7a443974384d0c1ee6074b.tar.bz2 gentoo-2-8618527c81fa7933fc7a443974384d0c1ee6074b.zip |
Added borderless patch.
Diffstat (limited to 'x11-terms/aterm/aterm-0.4.2-r5.ebuild')
-rw-r--r-- | x11-terms/aterm/aterm-0.4.2-r5.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/x11-terms/aterm/aterm-0.4.2-r5.ebuild b/x11-terms/aterm/aterm-0.4.2-r5.ebuild new file mode 100644 index 000000000000..01a511d4fe41 --- /dev/null +++ b/x11-terms/aterm/aterm-0.4.2-r5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/aterm/aterm-0.4.2-r5.ebuild,v 1.1 2003/10/31 18:08:28 nakano Exp $ + +IUSE="cjk" +S=${WORKDIR}/${P} +DESCRIPTION="A terminal emulator with transparency support as well as rxvt backwards compatibility" +SRC_URI="mirror://sourceforge/aterm/${P}.tar.bz2 + cjk? (http://wakaba.com/~tsann/aterm/aterm-0.4.2-ja.patch)" +HOMEPAGE="http://aterm.sourceforge.net" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +DEPEND="media-libs/jpeg + media-libs/libpng + virtual/x11" + +src_unpack() { + unpack ${P}.tar.bz2 + cd ${S}/src + cp feature.h feature.h.orig + sed "s:\(#define LINUX_KEYS\):/\*\1\*/:" \ + feature.h.orig > feature.h + + cd ${S} + epatch ${FILESDIR}/aterm-0.4.2-borderless.patch + use cjk && epatch ${DISTDIR}/aterm-0.4.2-ja.patch +} + +src_compile() { + local myconf + + # You can't --enable-big5 with aterm-0.4.2-ja.patch + # I think it's very bad thing but as nobody complains it + # and we don't have per-language flag atm, I stick to + # use --enable-kanji/--enable-thai (and leave --enable-big5) + use cjk && myconf="$myconf + --enable-kanji + --enable-thai + --enable-xim + --enable-linespace" + + econf \ + --enable-transparency \ + --enable-fading \ + --enable-background-image \ + --enable-menubar \ + --enable-graphics \ + --enable-utmp \ + --with-x \ + ${myconf} || die + + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + fperms g+s /usr/bin/aterm + fowners root:utmp /usr/bin/aterm + + doman doc/aterm.1 + dodoc ChangeLog INSTALL doc/BUGS doc/FAQ doc/README.* + docinto menu + dodoc doc/menu/* + dohtml -r . +} |