| # Copyright 1999-2015 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 |
| } |