summaryrefslogtreecommitdiff
blob: 42e3ede5af087352316fe870811c6b8547e47b60 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgnomedb/libgnomedb-3.0.0.ebuild,v 1.7 2009/02/14 21:18:32 armin76 Exp $

inherit 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"

# 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-3
	>=gnome-base/libgnomecanvas-2
	>=gnome-base/libglade-2
	=x11-libs/gtksourceview-1*"

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 README"

src_unpack() {
	gnome2_src_unpack

	# Fix tests
	echo "[encoding: UTF-8]" >> po/POTFILES.in
	echo "libgnomedb/data-entries/gnome-db-entry-string-number.xml.in" >> po/POTFILES.in
	echo "libgnomedb/data-entries/gnome-db-entry-string-string.xml.in" >> po/POTFILES.in
	echo "libgnomedb/data-entries/gnome-db-format-entry.c" >> po/POTFILES.in
	echo "libgnomedb/plugins/gnome-db-data-cell-renderer-password.c" >> po/POTFILES.in
	echo "libgnomedb/plugins/gnome-db-entry-password.xml.in" >> po/POTFILES.in
}