blob: bb63119cb4220e51489ec0a8975be7fcdfc872db (
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
|
# 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="devhelp enchant gendoc gtkspell lua nls webkit"
RDEPEND="
=dev-util/geany-9999
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
# A little fail, the sed should not break anything after
# an official fix
sed -i \
-e 's|geanypg_la__CFLAGS|geanypg_la_CFLAGS|' \
geanypg/src/Makefile.am
intltoolize --force --copy --automake || die "intltoolize failed"
eautoreconf
}
src_configure() {
econf \
--disable-fast-install \
$(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)
}
|