You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.9 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/geany-plugins/geany-plugins-1.22.ebuild,v 1.4 2012/09/26 04:57:13 binki Exp $
EAPI=4
inherit autotools-utils versionator
DESCRIPTION="A collection of different plugins for Geany"
HOMEPAGE="http://plugins.geany.org/geany-plugins"
SRC_URI="http://plugins.geany.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="debugger devhelp enchant gpg gtkspell lua nls soup webkit"
LINGUAS="be ca da de es fr gl ja pt pt_BR ru tr zh_CN"
RDEPEND=">=dev-util/geany-$(get_version_component_range 1-2)
dev-libs/libxml2:2
dev-libs/glib:2
debugger? ( x11-libs/vte:0 )
devhelp? (
dev-util/devhelp
gnome-base/gconf:2
net-libs/webkit-gtk:2
x11-libs/gtk+:2
x11-libs/libwnck:1
)
enchant? ( app-text/enchant )
gpg? ( app-crypt/gpgme )
gtkspell? ( app-text/gtkspell:2 )
lua? ( dev-lang/lua )
soup? ( net-libs/libsoup )
webkit? (
net-libs/webkit-gtk:2
x11-libs/gtk+:2
x11-libs/gdk-pixbuf:2
)"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/pkgconfig"
src_configure() {
# GeanyGenDoc requires ctpl which isn't yet in portage
local myeconfargs=(
--docdir=/usr/share/doc/${PF}
--disable-cppcheck
--disable-extra-c-warnings
--disable-geanygendoc
--disable-multiterm
--enable-geanygdb
--enable-geanymacro
--enable-geanynumberedbookmarks
--enable-gproject
--enable-pretty-printer
--enable-tableconvert
--enable-treebrowser
--enable-xmlsnippets
$(use_enable debugger)
$(use_enable devhelp)
$(use_enable enchant spellcheck)
$(use_enable gpg geanypg)
$(use_enable gtkspell)
$(use_enable lua geanylua)
$(use_enable nls)
# Having updatechecker... when you're using a package manager?
$(use_enable soup updatechecker)
$(use_enable soup geniuspaste)
$(use_enable webkit webhelper)
)
autotools-utils_src_configure
}