You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/tasque/tasque-0.1.12.ebuild

54 lines
1.4 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tasque/tasque-0.1.12.ebuild,v 1.1 2012/12/24 13:08:26 pacho Exp $
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
dev-dotnet/dbus-sharp-glib
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
}