blob: 8f959cfcfb4ecbf7cfdcf35c33f4b40e7d01ddf5 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/enlightenment/enlightenment-0.16.5-r4.ebuild,v 1.21 2005/02/09 00:20:22 kloeri Exp $
DESCRIPTION="Enlightenment Window Manager"
SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz"
HOMEPAGE="http://www.enlightenment.org/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 ppc sparc"
IUSE="nls esd"
DEPEND=">=media-libs/fnlib-0.5
esd? ( >=media-sound/esound-0.2.19 )
~media-libs/freetype-1.3.1
>=gnome-base/libghttp-1.0.9-r1"
RDEPEND="nls? ( sys-devel/gettext )"
src_compile() {
local myconf
use esd \
&& soundconf="--enable-sound=yes" \
|| soundconf="--enable-sound=no"
econf \
`use_enable nls` \
--enable-fsstd \
${soundconf} || die
#enlightenment's makefile uses the $USER env var (bad), which may not be
#set correctly if you did a "su" to get root before emerging. Normally,
#your $USER will still exist when you su (unless you enter a chroot,) but
#will cause perms to be wrong. This fixes this:
export USER=root
emake || die
}
src_install() {
# this fixes an issue where enlightenment.install has an incomplete
# path to the englightenment binary
mv scripts/${PN}.install.in scripts/${PN}.install.in.orig
sed 's:\(^EBIN=\).*:\1@prefix@/bin:' \
scripts/${PN}.install.in.orig > scripts/${PN}.install.in
export USER=root
make install DESTDIR=${D} || die
dodoc ABOUT-NLS AUTHORS ChangeLog FAQ INSTALL NEWS README
docinto sample-scripts
dodoc sample-scripts/*
exeinto /etc/X11/Sessions
doexe $FILESDIR/enlightenment
}
|