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

EAPI="2"

inherit autotools gnome2 eutils

DESCRIPTION="The GObject introspection"
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"

LICENSE="LGPL-2 GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="" # doc

RDEPEND=">=dev-libs/glib-2.19.0
	|| (
		sys-devel/gcc[libffi]
		virtual/libffi )
	>=dev-lang/python-2.5"
DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.18
	sys-devel/flex"
# No 1.12 release yet
#	doc? ( dev-util/gtk-doc-1.12 )"

G2CONF="${G2CONF}
--disable-gtk-doc
--disable-static"

src_prepare() {
	gnome2_src_prepare

	# Fix build failure
	epatch "${FILESDIR}/${PN}-0.6.2-gir.patch"

	# Make it libtool-1 compatible, bug #270909
	rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed"

	eautoreconf
}