blob: 2a8f82e1c584e8a2e42d1e745335d005e6bad49d (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/hippo-canvas/hippo-canvas-0.3.0-r1.ebuild,v 1.6 2010/05/24 17:16:51 arfrever Exp $
EAPI="2"
GCONF_DEBUG="no"
G2PUNT_LA="yes"
PYTHON_DEPEND="python? 2"
inherit eutils gnome2 multilib python
DESCRIPTION="A canvas library based on GTK+-2, Cairo, and Pango"
HOMEPAGE="http://live.gnome.org/HippoCanvas"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc python"
RDEPEND=">=dev-libs/glib-2.6
dev-libs/libcroco
>=x11-libs/gtk+-2.6
x11-libs/pango
gnome-base/librsvg
python? ( dev-python/pycairo
dev-python/pygtk )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( dev-util/gtk-doc )"
DOCS="AUTHORS README TODO"
pkg_setup() {
if use python; then
python_set_active_version 2
fi
G2CONF="$(use_enable python)"
}
src_prepare() {
cd "$S/python"
epatch "${FILESDIR}/${PN}-python-override.patch"
}
src_configure() {
econf --disable-static
}
src_install() {
gnome2_src_install
if use python; then
python_clean_installation_image
fi
rm "${D}/usr/$(get_libdir)/libhippocanvas-1.la"
}
|