# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" #GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" GNOME_TARBALL_SUFFIX="bz2" inherit eutils gnome2 virtualx DESCRIPTION="User Interface part of libbonobo" HOMEPAGE="https://developer.gnome.org/libbonoboui/" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" IUSE="examples test" RESTRICT="!test? ( test )" # GTK+ dep due to bug #126565 RDEPEND=" >=gnome-base/libgnomecanvas-1.116 >=gnome-base/libbonobo-2.22 >=gnome-base/libgnome-2.13.7 >=dev-libs/libxml2-2.4.20:2 >=gnome-base/gconf-2:2 >=x11-libs/gtk+-2.8.12:2 >=dev-libs/glib-2.6.0:2 >=gnome-base/libglade-1.99.11:2.0 >=dev-libs/popt-1.5 " DEPEND="${RDEPEND} dev-util/gtk-doc-am x11-apps/xrdb sys-devel/gettext virtual/pkgconfig >=dev-util/intltool-0.40 " src_prepare() { if ! use test; then # don't waste time building tests sed 's/tests//' -i Makefile.am Makefile.in || die "sed 1 failed" fi if ! use examples; then sed 's/samples//' -i Makefile.am Makefile.in || die "sed 2 failed" fi gnome2_src_prepare } src_configure() { addpredict "/root/.gnome2_private" gnome2_src_configure --disable-static } src_test() { addpredict "/root/.gnome2_private" Xemake check }