From c1b705882df70924a622b831d47965ae736b2306 Mon Sep 17 00:00:00 2001 From: Achim Gottinger Date: Wed, 6 Jun 2001 16:55:51 +0000 Subject: *** empty log message *** --- dev-util/glade/glade-0.6.2.ebuild | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'dev-util/glade') diff --git a/dev-util/glade/glade-0.6.2.ebuild b/dev-util/glade/glade-0.6.2.ebuild index 1b4cefafaccf..1833fe2a5809 100644 --- a/dev-util/glade/glade-0.6.2.ebuild +++ b/dev-util/glade/glade-0.6.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger -# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/glade-0.6.2.ebuild,v 1.3 2001/06/04 21:57:52 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/glade-0.6.2.ebuild,v 1.4 2001/06/06 16:55:51 achim Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} @@ -9,21 +9,25 @@ DESCRIPTION="glade" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/glade/"${A} HOMEPAGE="http://www.gnome.org/" -DEPEND=">=x11-libs/gtk+-1.2.8 - bonobo? ( >=gnome-base/bonobo-1.0.4 ) - gnome? ( >=gnome-base/gnome-libs-1.2.8 - >=gnome-base/scrollkeeper-0.2 )" +DEPEND=">=x11-libs/gtk+-1.2.8 nls? ( sys-devel/gettext ) + >=dev-util/xml-i18n-tools-0.8.4 + >=gnome-base/scrollkeeper-0.2 + gnome? ( >=gnome-base/gnome-libs-1.2.8 ) + bonobo? ( >=gnome-base/bonobo-1.0.4 )" + +RDEPEND=">=x11-libs/gtk+-1.2.8 + gnome? ( >=gnome-base/gnome-libs-1.2.8 ) + bonobo? ( >=gnome-base/bonobo-1.0.4 )" + #gnome-db stuff disabled atm #>=gnome-office/gnome-db-0.2.0 src_compile() { local myopts - if [ -n "`use gnome`" ] - then + if [ -n "`use gnome`" ] ; then echo "Using Gnome" myopts="--prefix=/opt/gnome" - else myopts="--prefix=/usr/X11R6 --disable-gnome" fi @@ -32,8 +36,14 @@ src_compile() { else myopts="$myopts --without-bonobo" fi - try ./configure --host=${CHOST} ${myopts} - # bonobo support does not work with 0.28 requires around 0.18 + if [ -z "`use nls`" ] ; then + myopts="$myopts --disable-nls" + fi + if [ "$DEBUG" ] ; then + myopts="$myopts --enable-debug" + fi + try ./configure --disable-gnome-db --host=${CHOST} ${myopts} + # gnome-db support is only experimental try make } -- cgit v1.2.3-65-gdbad