summaryrefslogtreecommitdiff
blob: 93cffa8655bac7b86124bd636a59e36476ff6cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/glade-3.1.5.ebuild,v 1.1 2007/02/14 04:42:44 compnerd Exp $

inherit eutils gnome2

DESCRIPTION="GNOME GUI Builder"
HOMEPAGE="http://glade.gnome.org/"
SRC_URI="mirror://gnome/sources/glade3/3.1/glade3-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="devhelp doc gnome python"

RDEPEND=">=dev-libs/glib-2.8.0
		 >=x11-libs/gtk+-2.10.0
		 >=dev-libs/libxml2-2.4
		 !alpha? ( !ppc64? ( devhelp? ( >=dev-util/devhelp-0.12 ) ) )
		 gnome?	(
					>=gnome-base/libgnomeui-2.0
					>=gnome-base/libbonoboui-2.0
				)
		 !alpha? ( python? ( >=dev-python/pygtk-2.10.0 ) )"
DEPEND="${RDEPEND}
		  sys-devel/gettext
		>=dev-util/intltool-0.35
		>=dev-util/pkgconfig-0.19
		doc? ( >=dev-util/gtk-doc-1.4 )"

S="${WORKDIR}/glade3-${PV}"
DOCS="AUTHORS BUGS ChangeLog HACKING INTERNALS MAINTAINERS NEWS README TODO"

pkg_config() {
	G2CONF="${G2CONF} $(use_with devhelp) $(use_enable gnome) $(use_enable python)"
}