blob: 2e8ed7bee36e53bc1e49553e1d02673f63d7eee0 (
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
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit base subversion autotools
ESVN_REPO_URI="https://geany.svn.sourceforge.net/svnroot/geany-plugins/trunk/geany-plugins"
DESCRIPTION="A collection of different plugins for Geany"
HOMEPAGE="http://plugins.geany.org/geany-plugins"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="enchant gendoc gtkspell lua nls"
RDEPEND="
=dev-util/geany-9999
enchant? ( app-text/enchant )
gendoc? ( >=dev-libs/ctpl-0.3 )
gtkspell? ( app-text/gtkspell )
lua? ( dev-lang/lua )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
# LINGUAS hack
pushd po &>/dev/null
for l in $LINGUAS; do
test -f ${l}.po || LINGUAS=${LINGUAS/$l/}
done
popd &>/dev/null
intltoolize --force --copy --automake || die "intltoolize failed"
eautoreconf
}
src_configure() {
econf \
--disable-fast-install \
$(use_enable enchant spellcheck) \
$(use_enable gendoc geanygendoc) \
$(use_enable gtkspell) \
$(use_enable lua geanylua) \
$(use_enable nls)
}
|