diff options
Diffstat (limited to 'dev-libs/gobject-introspection/gobject-introspection-0.6.4.ebuild')
-rw-r--r-- | dev-libs/gobject-introspection/gobject-introspection-0.6.4.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/gobject-introspection/gobject-introspection-0.6.4.ebuild b/dev-libs/gobject-introspection/gobject-introspection-0.6.4.ebuild new file mode 100644 index 0000000..9524479 --- /dev/null +++ b/dev-libs/gobject-introspection/gobject-introspection-0.6.4.ebuild @@ -0,0 +1,45 @@ +# 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" + epatch "${FILESDIR}/${PN}-0.6.4-gir-export.patch" + epatch "${FILESDIR}/${PN}-0.6.4-libtool.patch" + + # Make it libtool-1 compatible, bug #270909 + rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed" + + eautoreconf +} + |