1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.4.ebuild,v 1.3 2012/08/18 23:27:33 johu Exp $ |
4 |
|
5 |
EAPI=4 |
6 |
inherit base eutils |
7 |
|
8 |
DESCRIPTION="Simple LaTeX editor for GTK+" |
9 |
HOMEPAGE="http://gummi.midnightcoding.org" |
10 |
SRC_URI="http://dev.midnightcoding.org/attachments/download/298/${P}.tar.gz" |
11 |
|
12 |
LICENSE="MIT" |
13 |
SLOT="0" |
14 |
KEYWORDS="amd64 x86" |
15 |
IUSE="" |
16 |
|
17 |
LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_CN zh_TW" |
18 |
|
19 |
for X in ${LANGS} ; do |
20 |
IUSE="${IUSE} linguas_${X}" |
21 |
done |
22 |
|
23 |
RDEPEND="app-text/gtkspell:2 |
24 |
>=dev-libs/glib-2.28.6 |
25 |
dev-texlive/texlive-latex |
26 |
dev-texlive/texlive-latexextra |
27 |
>=x11-libs/gtk+-2.24:2 |
28 |
x11-libs/gtksourceview:2.0" |
29 |
DEPEND="${RDEPEND} |
30 |
app-text/poppler[cairo] |
31 |
x11-libs/gtksourceview:2.0 |
32 |
x11-libs/pango" |
33 |
|
34 |
DOCS=( AUTHORS ChangeLog README ) |
35 |
|
36 |
src_prepare() { |
37 |
strip-linguas ${LANGS} |
38 |
} |
39 |
|
40 |
pkg_postinst() { |
41 |
elog "Gummi >=0.4.8 supports spell-checking through gtkspell. Support for" |
42 |
elog "additional languages can be added by installing myspell-** packages" |
43 |
elog "for your language of choice." |
44 |
} |