blob: 8ad4b956aec5dbd49cb5a081d342425f26786a06 (
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
54
55
56
57
58
59
60
61
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="The Enlightenment ewl library."
HOMEPAGE="http://enlightenment.org"
ESVN_REPO_URI="http://svn.enlightenment.org/svn/e/trunk/${PN}"
ESVN_REVISION="r38885"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~x86 ~amd64"
IUSE="X xcb sdl fbcon opengl"
inherit autotools subversion
RDEPEND="
X? ( x11-libs/libXrender )
xcb? ( x11-misc/xcb )
sdl? ( media-libs/libsdl )
opengl? ( virtual/opengl )
=media-libs/emotion-${PVR}
=media-libs/epsilon-${PVR}"
DEPEND=">=dev-util/pkgconfig-0.9.0"
S="${WORKDIR}/${PN}"
src_unpack() {
subversion_src_unpack
cd "${S}"
eautoreconf || die "eautoreconf failed"
}
src_compile() {
local myconf
myconf="${myconf}
$(use_enable X software-x11) \
$(use_enable X software-16-x11) \
$(use_enable xcb software-xcb) \
$(use_enable sdl software-sdl) \
$(use_enable fbcon fb) \
$(use_enable opengl opengl-glew) \
$(use_enable opengl opengl-x11) \
$(use_enable X xrender-x11) \
--enable-software-buffer \
--x-includes=${SYSROOT}/usr/X11R6/include \
--x-libraries=${SYSROOT}/usr/X11R6/lib"
econf ${myconf} || die "Configuration failed"
emake || die "Make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Installation failed"
dodoc AUTHORS NEWS README
}
|