diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2008-11-07 19:05:56 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2008-11-07 19:05:56 +0000 |
commit | 5a12986d6c96c244d44ec3a2736d3f65eb913b49 (patch) | |
tree | b847bf939f00d26a3c3f6e59cb8e0bcf2de3e9da /app-editors/gobby/gobby-0.4.8.ebuild | |
parent | bump (diff) | |
download | historical-5a12986d6c96c244d44ec3a2736d3f65eb913b49.tar.gz historical-5a12986d6c96c244d44ec3a2736d3f65eb913b49.tar.bz2 historical-5a12986d6c96c244d44ec3a2736d3f65eb913b49.zip |
bump
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.27-gentoo-r1 i686
Diffstat (limited to 'app-editors/gobby/gobby-0.4.8.ebuild')
-rw-r--r-- | app-editors/gobby/gobby-0.4.8.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-editors/gobby/gobby-0.4.8.ebuild b/app-editors/gobby/gobby-0.4.8.ebuild new file mode 100644 index 000000000000..a8e8c17acb02 --- /dev/null +++ b/app-editors/gobby/gobby-0.4.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gobby/gobby-0.4.8.ebuild,v 1.1 2008/11/07 19:05:56 humpback Exp $ + +EAPI=1 + +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 ~hppa ~ppc ~x86" +IUSE="avahi gnome" + +RDEPEND=">=dev-cpp/glibmm-2.6 + >=dev-cpp/gtkmm-2.6 + >=dev-libs/libsigc++-2.0 + >=net-libs/obby-0.4.6 + >=dev-cpp/libxmlpp-2.6 + x11-libs/gtksourceview:2.0 + gnome? ( gnome-base/gnome-vfs )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +# There's only one test and it needs X +RESTRICT="test" + + +pkg_setup() { + if use avahi && ! built_with_use net-libs/obby avahi ; then + eerror "Please reinstall net-libs/obby with the avahi USE-flag enabled" + eerror "for zeroconf/DNS-SD support or disable it for this package." + die "Missing 'avahi' USE-flag for net-libs/obby" + fi +} + +src_compile() { + econf \ + --with-gtksourceview2 \ + $(use_with gnome) \ + || die "econf failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + domenu contrib/gobby.desktop +} |