# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-base/libbonobo/libbonobo-2.20.3.ebuild,v 1.10 2008/05/17 01:10:36 dang Exp $ inherit gnome2 DESCRIPTION="GNOME CORBA framework" HOMEPAGE="http://www.gnome.org/" LICENSE="LGPL-2.1 GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" IUSE="debug doc" RDEPEND=">=dev-libs/glib-2.8 >=gnome-base/orbit-2.14.0 >=dev-libs/libxml2-2.4.20 >=dev-libs/popt-1.5 sys-devel/flex !gnome-base/bonobo-activation" DEPEND="${RDEPEND} x11-apps/xrdb >=dev-util/pkgconfig-0.9 >=dev-util/intltool-0.35 doc? ( >=dev-util/gtk-doc-1 )" DOCS="AUTHORS ChangeLog NEWS README TODO" pkg_setup() { G2CONF="${G2CONF} $(use_enable debug bonobo-activation-debug)" } src_unpack() { gnome2_src_unpack sed -i -e '/DISABLE_DEPRECATED/d' \ "${S}/activation-server/Makefile.am" "${S}/activation-server/Makefile.in" \ "${S}/bonobo/Makefile.am" "${S}/bonobo/Makefile.in" sed -i -e 's:-DG_DISABLE_DEPRECATED ::g' \ "${S}/tests/test-activation/Makefile.am" "${S}/tests/test-activation/Makefile.in" }