# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-office/gnumeric/gnumeric-1.1.16.ebuild,v 1.2 2003/03/16 03:08:15 liquidx Exp $ #provide Xmake and Xemake inherit virtualx libtool gnome2 DESCRIPTION="Gnumeric, the GNOME Spreadsheet" HOMEPAGE="http://www.gnome.org/gnome-office/gnumeric.shtml" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ~ppc" IUSE="nls libgda gb evo python guile perl" #Eye Of Gnome (media-gfx/eog) is for image support. # TODO libgsf-gnome is provided by libgsf # check if this is always the case RDEPEND=">=x11-libs/gtk+-2 >=dev-libs/glib-2 >=gnome-base/libgnome-2 >=gnome-base/libgnomeui-2 >=gnome-base/libbonobo-2 >=gnome-base/libbonoboui-2 >=gnome-base/bonobo-activation-1.0.2 >=gnome-base/libgnomeprint-2.2 >=gnome-base/libgnomeprintui-2.2 >=gnome-extra/gal-1.99 >=gnome-extra/libgsf-1.7.1 >=gnome-base/libglade-2 >=dev-libs/libxml2-2.4.12 perl? ( >=dev-lang/perl-5.6 ) python? ( >=dev-lang/python-2.0 ) libgda? ( >=gnome-extra/libgda-0.11.0 )" # disabled during the port # gb? ( ~gnome-extra/gb-0.0.17 ) # evo? ( >=net-mail/evolution-1.0.8 ) # needs libgda-0.10, not in portage yet # libgda? ( >=gnome-extra/libgda-0.2.91 # >=gnome-base/bonobo-1.0.17 ) DEPEND="${RDEPEND} nls? ( sys-devel/gettext >=dev-util/intltool-0.11 )" src_compile() { local myconf myconf="--with-bonobo" use nls || myconf="${myconf} --disable-nls" # use gb \ # && myconf="${myconf} --with-gb" \ # || myconf="${myconf} --without-gb" # use guile \ # && myconf="${myconf} --with-guile" \ # || myconf="${myconf} --without-guile" use libgda \ && myconf="${myconf} --with-gda" \ || myconf="${myconf} --without-gda" use perl \ && myconf="${myconf} --with-perl" \ || myconf="${myconf} --without-perl" use python \ && myconf="${myconf} --with-python" \ || myconf="${myconf} --without-python" econf ${myconf} #the build process have to be able to connect to X Xemake || Xmake || die } src_install() { export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" make DESTDIR=${D} install || die "install failed" unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL } DOCS="AUTHORS COPYING* ChangeLog HACKING NEWS README TODO"