46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=4
|
|
inherit base eutils readme.gentoo
|
|
|
|
DESCRIPTION="Simple LaTeX editor for GTK+"
|
|
HOMEPAGE="http://gummi.midnightcoding.org"
|
|
SRC_URI="http://dev.midnightcoding.org/attachments/download/301/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
LANGS="ar ca cs da de el es fr hu it nl pl pt pt_BR ro ru sv zh_CN zh_TW"
|
|
|
|
for X in ${LANGS} ; do
|
|
IUSE="${IUSE} linguas_${X}"
|
|
done
|
|
|
|
RDEPEND="app-text/gtkspell:2
|
|
>=dev-libs/glib-2.28.6
|
|
dev-texlive/texlive-latex
|
|
dev-texlive/texlive-latexextra
|
|
>=x11-libs/gtk+-2.24:2
|
|
x11-libs/gtksourceview:2.0"
|
|
DEPEND="${RDEPEND}
|
|
app-text/poppler[cairo]
|
|
x11-libs/gtksourceview:2.0
|
|
x11-libs/pango"
|
|
|
|
DOCS=( AUTHORS ChangeLog README )
|
|
|
|
src_prepare() {
|
|
strip-linguas ${LANGS}
|
|
DOC_CONTENTS="Gummi supports spell-checking through gtkspell. Support for
|
|
additional languages can be added by installing myspell-** packages
|
|
for your language of choice."
|
|
}
|
|
|
|
src_install() {
|
|
base_src_install
|
|
readme.gentoo_create_doc
|
|
}
|