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

DESCRIPTION="The Enlightenment emotion 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="gstreamer xine vlc"

inherit autotools subversion

RDEPEND="=dev-libs/eet-${PVR}
	=x11-libs/evas-${PVR}
	=x11-libs/ecore-${PVR}
	=media-libs/edje-${PVR}
	gstreamer? ( media-libs/gstreamer
		     media-libs/gst-plugins-base )
	xine?	   ( media-libs/xine-lib )
	vlc?	   ( media-video/vlc )"

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 gstreamer) \
	    $(use_enable xine)      \
            $(use_enable vlc)"


	econf ${myconf} || die "Configuration failed"
	emake || die "Make failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "Installation failed"
        dodoc AUTHORS NEWS README
}