summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-06-06 16:55:51 +0000
committerAchim Gottinger <achim@gentoo.org>2001-06-06 16:55:51 +0000
commitc1b705882df70924a622b831d47965ae736b2306 (patch)
tree6c2a403a87d7c1d2d94d4797ce6461007dfa26b3 /dev-util/glade
parent*** empty log message *** (diff)
downloadgentoo-2-c1b705882df70924a622b831d47965ae736b2306.tar.gz
gentoo-2-c1b705882df70924a622b831d47965ae736b2306.tar.bz2
gentoo-2-c1b705882df70924a622b831d47965ae736b2306.zip
*** empty log message ***
Diffstat (limited to 'dev-util/glade')
-rw-r--r--dev-util/glade/glade-0.6.2.ebuild30
1 files changed, 20 insertions, 10 deletions
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 <achim@gentoo.org>
-# $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
}