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

inherit enlightenment

DESCRIPTION="The Enlightenment eet library."
HOMEPAGE="http://enlightenment.org"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~x86 ~amd64"
IUSE="ssl gnutls"

RDEPEND="=dev-libs/eina-${PVR}
	 sys-libs/zlib
	 media-libs/jpeg
	 ssl? ( dev-libs/openssl )
	 gnutls? ( net-libs/gnutls )"

DEPEND=">=dev-util/pkgconfig-0.9.0"

src_unpack() {
	subversion_src_unpack

	cd "${S}"

	# Source doesn't provide README file which is needed
	# for autoreconf
	touch README
	eautoreconf
}

src_compile() {
	econf \
		$(use_enable ssl openssl) \
		$(use_enable ssl cipher) \
		$(use_enable ssl signature) \
		$(use_enable gnutls gnutls) \
		--disable-old-eet-file-format \
		|| die
	emake || die
}