blob: aa48ad72f7bd01fa3f917610c1b7c5579d1b189d (
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
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tasque/tasque-0.1.9.ebuild,v 1.1 2010/02/21 13:02:53 suka Exp $
EAPI=2
inherit gnome.org mono
DESCRIPTION="Tasky is a simple task management app (TODO list) for the Linux Desktop"
HOMEPAGE="http://live.gnome.org/Tasque"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="+rememberthemilk eds +sqlite hiveminder debug"
RDEPEND=">=dev-dotnet/gtk-sharp-2.12.7-r5
>=dev-dotnet/gnome-sharp-2.24.0
>=dev-dotnet/notify-sharp-0.4.0_pre20080912
>=dev-dotnet/dbus-sharp-0.6
>=dev-dotnet/dbus-glib-sharp-0.4
eds? ( >=dev-dotnet/evolution-sharp-0.18.1 )
sqlite? ( dev-db/sqlite:3 )
"
DEPEND="${RDEPEND}"
pkg_setup() {
BACKEND=false
for usef in eds sqlite hiveminder rememberthemilk
do
use $usef && BACKEND=true
done
if [[ "${BACKEND}" != "true" ]]
then
eerror "You must select one of the following backends by enabling their useflag:"
eerror "eds ( integrates with the evolution schedule )"
eerror "sqlite ( uses a local, file-backed database to keep track of your TODO list )"
eerror "rememberthemilk ( integrates with www.rememberthemilk.com )"
eerror "hiveminder ( integrates with www.hiveminder.com )"
die "Please select a backend"
fi
}
src_configure() {
#http://bugzilla.gnome.org/show_bug.cgi?id=568910
export GTK_DOTNET_20_LIBS=" " \
GTK_DOTNET_20_CFLAGS=" "
econf --disable-backend-icecore \
--enable-backend-rtm \
$(use_enable sqlite backend-sqlite) \
$(use_enable eds backend-eds) \
$(use_enable hiveminder backend-hiveminder) \
$(use_enable debug)
}
src_install() {
make DESTDIR="${D}" install || die "emake failed"
dodoc NEWS TODO README AUTHORS || die "docs installation failed"
mv_command="cp -pPR" mono_multilib_comply
}
|