blob: f0b9c3a8c6bf038a4a2c2e40fee44acf7bd9920a (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
EGIT_REPO_URI="git://github.com/geany/geany-plugins"
inherit base git-2 autotools
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="
debugger
devhelp
enchant
gendoc
gtkspell
lua
nls
webkit
"
RDEPEND="
=dev-util/geany-9999
debugger? ( x11-libs/vte:0 )
devhelp? (
>=dev-util/devhelp-2
<dev-util/devhelp-2.32
net-libs/webkit-gtk:2
)
enchant? ( app-text/enchant )
gendoc? ( >=dev-libs/ctpl-0.3 )
gtkspell? ( app-text/gtkspell )
lua? ( dev-lang/lua )
webkit? (
net-libs/webkit-gtk:2
x11-libs/gtk+:2
x11-libs/gdk-pixbuf:2
)
"
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 debugger) \
$(use_enable devhelp) \
$(use_enable enchant spellcheck) \
$(use_enable gendoc geanygendoc) \
$(use_enable gtkspell) \
$(use_enable lua geanylua) \
$(use_enable webkit webhelper) \
$(use_enable nls)
}
src_install() {
base_src_install
find "${ED}" -name '*.la' -exec rm -f '{}' + || die
}
|