blob: 46038bb76ae2fdb6a120ea1acd30fa5340f7775b (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libchamplain/libchamplain-0.8.3.ebuild,v 1.9 2012/11/01 10:32:18 jlec Exp $
EAPI=3
GCONF_DEBUG=no
inherit eutils gnome2
DESCRIPTION="Clutter based world map renderer"
HOMEPAGE="http://projects.gnome.org/libchamplain/"
SLOT="0.8"
LICENSE="LGPL-2"
KEYWORDS="amd64 x86"
IUSE="debug doc gtk +introspection"
RDEPEND="
dev-db/sqlite:3
dev-libs/glib:2
media-libs/clutter:1.0[introspection?]
media-libs/memphis:0.2[introspection?]
net-libs/libsoup-gnome:2.4
x11-libs/cairo
gtk? (
x11-libs/gtk+:2[introspection?]
media-libs/memphis:0.2[introspection?]
media-libs/clutter-gtk:0.10 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( dev-util/gtk-doc )
introspection? ( dev-libs/gobject-introspection )"
src_prepare() {
DOCS="AUTHORS ChangeLog NEWS README"
G2CONF="${G2CONF}
--disable-static
--enable-memphis
$(use_enable debug)
$(use_enable gtk)
$(use_enable introspection)"
# Drop DEPRECATED flags, bug #387335
sed \
-e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
-i tidy/Makefile.am tidy/Makefile.in || die
epatch "${FILESDIR}"/${P}-gthread.patch
gnome2_src_prepare
}
|