summaryrefslogtreecommitdiff
blob: c696a0faca06380a847b8ffa64969ebee6612d2d (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/rednotebook/rednotebook-0.9.2.ebuild,v 1.1 2010/02/06 15:12:31 hwoarang Exp $

EAPI="2"

NEED_PYTHON="2.6"
inherit eutils distutils

DESCRIPTION="A graphical journal with calendar, templates, tags, keyword searching, and export functionality"
HOMEPAGE="http://rednotebook.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libyaml spell webkit"

RDEPEND="dev-python/pyyaml[libyaml?]
	>=dev-python/pygtk-2.13
	spell? ( dev-python/gtkspell-python )
	webkit? ( dev-python/pywebkitgtk )"

src_prepare() {
	! use webkit && epatch "${FILESDIR}/disable_webkit.patch"
	! use spell && epatch "${FILESDIR}/${PN}-0.8.9_disable_spell.patch"
	distutils_src_prepare
}