Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2008 Gentoo Foundation |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/tomboy/tomboy-0.10.2.ebuild,v 1.3 2008/08/10 19:11:47 maekke Exp $ |
4 |
|
5 |
inherit eutils gnome2 mono |
6 |
|
7 |
DESCRIPTION="Desktop note-taking application" |
8 |
HOMEPAGE="http://www.beatniksoftware.com/tomboy/" |
9 |
|
10 |
LICENSE="GPL-2" |
11 |
SLOT="0" |
12 |
KEYWORDS="~amd64 -ppc ~x86" |
13 |
IUSE="doc eds galago" |
14 |
|
15 |
RDEPEND=">=dev-lang/mono-1.9 |
16 |
>=dev-dotnet/gtk-sharp-2 |
17 |
>=dev-dotnet/gconf-sharp-2 |
18 |
>=dev-dotnet/gnome-sharp-2 |
19 |
>=dev-dotnet/dbus-sharp-0.4 |
20 |
>=dev-dotnet/dbus-glib-sharp-0.3 |
21 |
>=dev-dotnet/mono-addins-0.3 |
22 |
>=x11-libs/gtk+-2.10.0 |
23 |
>=dev-libs/atk-1.2.4 |
24 |
>=gnome-base/gconf-2 |
25 |
>=app-text/gtkspell-2.0.9 |
26 |
>=gnome-base/gnome-panel-2.8.2 |
27 |
eds? ( dev-libs/gmime ) |
28 |
galago? ( =dev-dotnet/galago-sharp-0.5* ) |
29 |
>=gnome-base/libgnomeprintui-2.18.3" |
30 |
DEPEND="${RDEPEND} |
31 |
dev-libs/libxml2 |
32 |
sys-devel/gettext |
33 |
dev-util/pkgconfig |
34 |
>=dev-util/intltool-0.35" |
35 |
|
36 |
DOCS="AUTHORS ChangeLog INSTALL NEWS README" |
37 |
|
38 |
pkg_setup() { |
39 |
if ! built_with_use 'dev-libs/libxml2' 'python' ; then |
40 |
eerror "Please build libxml2 with the python USE-flag" |
41 |
einfo "echo \"dev-libs/libxml2 python\" >> /etc/portage/package.use" |
42 |
die "dev-libs/libxml2 without python bindings detected" |
43 |
fi |
44 |
|
45 |
if use eds && ! built_with_use 'dev-libs/gmime' mono ; then |
46 |
eerror "Please build gmime with the mono USE-flag" |
47 |
einfo "echo \"dev-libs/gmime mono\" >> /etc/portage/package.use" |
48 |
die "gmime without mono support detected" |
49 |
fi |
50 |
|
51 |
G2CONF="${G2CONF} $(use_enable galago) $(use_enable eds evolution) --with-mono-addins=system" |
52 |
} |