summaryrefslogtreecommitdiff
blob: 654f2a2d787fccfb72c82ab052c8b28f17b1a92e (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/xiphos/xiphos-3.1.2.ebuild,v 1.3 2011/03/21 21:46:36 nirbheek Exp $

EAPI=2
GCONF_DEBUG=no
inherit gnome2

DESCRIPTION="GTK+ based Bible study software, formerly gnomesword"
HOMEPAGE="http://xiphos.org/"
SRC_URI="mirror://sourceforge/gnomesword/${P}.tar.gz"

LICENSE="GPL-2 FDL-1.1"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="xulrunner"

RDEPEND="dev-libs/glib:2
	>=x11-libs/gtk+-2.14:2
	dev-libs/libxml2:2
	>=gnome-base/libglade-2:2.0
	>=gnome-extra/gtkhtml-3.23:3.14
	>=app-text/sword-1.6
	dev-libs/dbus-glib
	gnome-extra/libgsf
	xulrunner? ( >=net-libs/xulrunner-1.9.1.3:1.9 )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	dev-util/intltool
	sys-devel/gettext
	app-text/rarian
	>=app-text/gnome-doc-utils-0.3.2"

pkg_setup() {
	G2CONF="--docdir=/usr/share/doc/${PF}
		--disable-dependency-tracking"

	if ! use xulrunner; then
		G2CONF="${G2CONF} --without-gecko"
	fi
}

src_install() {
	gnome2_src_install
	prepalldocs
}

pkg_postinst() {
	gnome2_pkg_postinst
	elog "Xiphos requires modules to be of any use. You may install the"
	elog "sword modules packages in app-dicts/, or download modules"
	elog "individually from the sword website: http://crosswire.org/sword/"
}