blob: 63362a38c0cd5725cf5b528b4c0e382c6ed64c1b (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils gnome.org mono
DESCRIPTION="Simple task management app (TODO list) for the Linux Desktop"
HOMEPAGE="https://live.gnome.org/Tasque"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+rememberthemilk +sqlite hiveminder debug"
LANGS="ca ca@valencia cs da de el en_GB eo es et fi fr gl hu id it ja lv nb nds nl pl
pt pt_BR ro ru sl sr sr@latin sv th tr zh_CN zh_TW"
for lang in ${LANGS}; do
IUSE+=" linguas_${lang}"
done
REQUIRED_USE="|| ( rememberthemilk sqlite hiveminder )"
RDEPEND=">=dev-dotnet/gtk-sharp-2.12.7-r5
>=dev-dotnet/notify-sharp-0.4.0_pre20080912
dev-dotnet/dbus-sharp:1.0
dev-dotnet/dbus-sharp-glib:1.0
sqlite? ( dev-db/sqlite:3 )"
DEPEND="${RDEPEND}"
src_configure() {
econf --disable-backend-icecore \
--disable-backend-eds \
--disable-appindicator \
--enable-backend-rtm \
$(use_enable sqlite backend-sqlite) \
$(use_enable hiveminder backend-hiveminder) \
$(use_enable debug)
}
src_install() {
default
mv_command="cp -pPR" mono_multilib_comply
einfo "Cleaning up locales..."
for lang in ${LANGS}; do
use "linguas_${lang}" && {
einfo "- keeping ${lang}"
continue
}
rm -Rf "${D}"/usr/share/locale/"${lang}" || die
done
}
|