summaryrefslogtreecommitdiff
blob: ff0729b0633521305fdaa29de0ed1ca07e4b51a4 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/gaupol/gaupol-0.7.2.ebuild,v 1.1 2007/01/25 05:30:51 beandog Exp $

inherit distutils

DESCRIPTION="Gaupol is a subtitle editor for text-based subtitles."
HOMEPAGE="http://home.gna.org/gaupol/"
SRC_URI="http://download.gna.org/gaupol/0.7/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="spell"

RDEPEND=">=dev-python/pygtk-2.8
	dev-python/chardet
	spell? ( >=dev-python/pyenchant-1.1.3
		app-text/iso-codes )"

DEPEND="${RDEPEND}
	sys-devel/gettext
	dev-util/intltool"

src_install() {
	distutils_src_install
	dodoc AUTHORS ChangeLog TODO README NEWS
}

pkg_postinst() {
	einfo "Please note that an external video player is required for"
	einfo "preview. MPlayer or VLC is recommended."
	if use spell; then
		einfo "Additionally, spell-checking requires a dictionary, any of"
		einfo "Aspell/Pspell, Ispell, MySpell, Uspell, Hspell or AppleSpell."
	fi
}