summaryrefslogtreecommitdiff
blob: 8af21c18351c1920157dd0931668aa01846f8ab5 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgnomedb/libgnomedb-2.99.5.ebuild,v 1.1 2007/02/13 22:13:30 leonardop Exp $

inherit mono gnome2

DESCRIPTION="Database widget library from the GNOME-DB project"
HOMEPAGE="http://www.gnome-db.org/"

LICENSE="GPL-2"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"

IUSE="doc mono"

# Dependencies here are set looking to obtain the most functionality, given that
# they are not unreasonable (e.g. gtk+'s version, gconf even if it's optional,
# etc.).
#
# There is no evolution-data-server support yet, only a check in configure.
RDEPEND=">=x11-libs/gtk+-2.10
	>=gnome-base/gconf-2
	>=gnome-extra/libgda-2.99.5
	>=gnome-base/libgnomecanvas-2
	>=gnome-base/libglade-2
	>=x11-libs/gtksourceview-1
	mono? (
		>=dev-lang/mono-1
		>=dev-dotnet/glade-sharp-2
		>=dev-dotnet/gnome-sharp-2
		>=dev-dotnet/gtk-sharp-2.3.90 )"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.9
	>=dev-util/intltool-0.28
	app-text/scrollkeeper
	doc? ( >=dev-util/gtk-doc-1 )"

DOCS="AUTHORS ChangeLog NEWS"


pkg_setup() {
	G2CONF="$(use_enable mono csharp)"

	if use mono && ! built_with_use libgda mono; then
		ewarn "The package gnome-extra/libgda has been installed without the"
		ewarn "'mono' USE flag. libgnomedb will be built without mono support."
	fi
}