2012-05-04 08:09:11 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-05-04 08:09:11 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/app-editors/gobby/gobby-0.4.8.ebuild,v 1.10 2012/05/03 18:33:01 jdhore Exp $
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
EAPI=2
|
|
|
|
|
|
|
|
inherit base eutils
|
|
|
|
|
|
|
|
DESCRIPTION="GTK-based collaborative editor"
|
|
|
|
HOMEPAGE="http://gobby.0x539.de/"
|
|
|
|
SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 ppc x86"
|
|
|
|
IUSE="avahi gnome"
|
|
|
|
|
|
|
|
RDEPEND=">=dev-cpp/glibmm-2.6:2
|
|
|
|
>=dev-cpp/gtkmm-2.6:2.4
|
|
|
|
>=dev-libs/libsigc++-2.0
|
|
|
|
>=net-libs/obby-0.4.6
|
|
|
|
>=dev-cpp/libxmlpp-2.6:2.6
|
|
|
|
x11-libs/gtksourceview:2.0
|
|
|
|
avahi? ( >=net-libs/obby-0.4.6 )
|
|
|
|
gnome? ( gnome-base/gnome-vfs:2 )"
|
|
|
|
DEPEND="${RDEPEND}
|
2012-05-04 08:09:11 +04:00
|
|
|
virtual/pkgconfig"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
# There's only one test and it needs X
|
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
|
|
--with-gtksourceview2 \
|
|
|
|
$(use_with gnome) \
|
|
|
|
|| die "econf failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install || die "emake install failed"
|
|
|
|
domenu contrib/gobby.desktop
|
|
|
|
}
|