diff options
author | Tom William Payne <twp@gentoo.org> | 2006-04-06 08:30:05 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2006-04-06 08:30:05 +0000 |
commit | 4edd0c719a7c03219c62af8003bf0edefe5354e1 (patch) | |
tree | 00b78e2d5363c3609f6055acfdbc46b826e0eebf /x11-wm/ion3/ion3-20060326.ebuild | |
parent | Add x11-proto/printproto to DEPEND. (diff) | |
download | gentoo-2-4edd0c719a7c03219c62af8003bf0edefe5354e1.tar.gz gentoo-2-4edd0c719a7c03219c62af8003bf0edefe5354e1.tar.bz2 gentoo-2-4edd0c719a7c03219c62af8003bf0edefe5354e1.zip |
Version bump.
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'x11-wm/ion3/ion3-20060326.ebuild')
-rw-r--r-- | x11-wm/ion3/ion3-20060326.ebuild | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/x11-wm/ion3/ion3-20060326.ebuild b/x11-wm/ion3/ion3-20060326.ebuild new file mode 100644 index 000000000000..a57c116aa44c --- /dev/null +++ b/x11-wm/ion3/ion3-20060326.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion3/ion3-20060326.ebuild,v 1.1 2006/04/06 08:30:05 twp Exp $ + +inherit eutils + +MY_PV=${PV/_p/-} +MY_PN=ion-3ds-${MY_PV} +DESCRIPTION="A tiling tabbed window manager designed with keyboard users in mind" +HOMEPAGE="http://www.iki.fi/tuomov/ion/" +SRC_URI="http://modeemi.cs.tut.fi/~tuomov/ion/dl/${MY_PN}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="iontruetype xinerama" +DEPEND=" + || ( + ( + x11-libs/libICE + x11-libs/libXext + iontruetype? ( x11-libs/libXft ) + xinerama? ( x11-libs/libXinerama ) + ) + virtual/x11 + ) + app-misc/run-mailcap + >=dev-lang/lua-5.0.2" +S=${WORKDIR}/${MY_PN} + +src_unpack() { + unpack ${A} + use iontruetype && epatch ${FILESDIR}/ion3-20060326-truetype.patch +} + +src_compile() { + + autoreconf -i + + local myconf="" + + if has_version '>=x11-base/xfree-4.3.0'; then + myconf="${myconf} --disable-xfree86-textprop-bug-workaround" + fi + + use hppa && myconf="${myconf} --disable-shared" + + econf \ + --sysconfdir=/etc/X11 \ + `use_enable iontruetype xft` \ + `use_enable xinerama` \ + ${myconf} || die + + make \ + DOCDIR=/usr/share/doc/${PF} || die + +} + +src_install() { + + make \ + prefix=${D}/usr \ + ETCDIR=${D}/etc/X11/ion3 \ + SHAREDIR=${D}/usr/share/ion3 \ + MANDIR=${D}/usr/share/man \ + DOCDIR=${D}/usr/share/doc/${PF} \ + LOCALEDIR=${D}/usr/share/locale \ + LIBDIR=${D}/usr/lib \ + MODULEDIR=${D}/usr/lib/ion3/mod \ + LCDIR=${D}/usr/lib/ion3/lc \ + VARDIR=${D}/var/cache/ion3 \ + install || die + + prepalldocs + + echo -e "#!/bin/sh\n/usr/bin/ion3" > ${T}/ion3 + echo -e "#!/bin/sh\n/usr/bin/pwm3" > ${T}/pwm3 + exeinto /etc/X11/Sessions + doexe ${T}/ion3 ${T}/pwm3 + + insinto /usr/share/xsessions + doins ${FILESDIR}/ion3.desktop ${FILESDIR}/pwm3.desktop + +} |