aboutsummaryrefslogtreecommitdiff
blob: b68e6ada94261399ca3a29608e9cd6e0da465532 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

E_SNAP_DATE="2009-06-14"
inherit enlightenment

DESCRIPTION="Enlightenment E17 window manager"
HOMEPAGE="http://www.enlightenment.org/"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"

SLOT="0.17"

IUSE="alsa nls files pam"

RDEPEND=">=dev-libs/eet-1.1.0
	=dev-libs/eina-0.0.2.061
	=dev-libs/efreet-0.5.0.061
	=x11-libs/ecore-0.9.9.061
	=x11-libs/evas-0.9.9.061[gif,jpeg,png,tiff,fontconfig,eet]
	=media-libs/edje-0.9.92.061
	=x11-libs/e_dbus-0.5.0.061[hal]
	x11-libs/libX11
	alsa? ( media-libs/alsa-lib )
	pam? ( sys-libs/pam )"

DEPEND=">=dev-util/pkgconfig-0.9.0
	media-libs/edje"

src_configure() {
	econf \
		$(use_enable alsa) \
		$(use_enable files) \
		$(use_enable nls) \
		$(use_enable pam) \
		--with-x \
		--x-includes=${SYSROOT}/usr/X11R6/include \
		--x-libraries=${SYSROOT}/usr/X11R6/lib\
		--with-edje-cc=/usr/bin/edje_cc\
		--with-eet-eet=/usr/bin/eet
}

src_compile() {
	emake || enlightenment_die "emake failed"
	use doc && [[ -x ./gendoc ]] && { ./gendoc || enlightenment_die "gendoc failed" ; }
}

src_install () {
	enlightenment_src_install

	keepdir /etc/xdg/menus
	insinto /etc/xdg/menus
	newins "${FILESDIR}/applications.menu" applications.menu
}