/[gentoo-x86]/app-text/xiphos/xiphos-3.1.ebuild
Gentoo

Contents of /app-text/xiphos/xiphos-3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Mar 22 05:32:53 2010 UTC (9 years, 11 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump wrt #310623, #282279, #295758 and #300412.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/xiphos/xiphos-3.1.ebuild,v 1.3 2009/08/01 04:59:11 beandog Exp $
4
5 EAPI="2"
6
7 inherit libtool gnome2 eutils
8
9 DESCRIPTION="GTK+ based Bible study software, formerly gnomesword"
10 HOMEPAGE="http://xiphos.org"
11 SRC_URI="mirror://sourceforge/gnomesword/${P}.tar.gz"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~x86"
15 IUSE="firefox seamonkey spell xulrunner +gtkhtml"
16 RDEPEND="
17 =app-text/sword-1.6.0
18 >=x11-libs/gtk+-2
19 >=gnome-base/libgnomeui-2
20 >=gnome-base/libgnomeprintui-2.2
21 >=gnome-base/libglade-2
22 app-text/gnome-doc-utils
23 dev-libs/libxml2
24 xulrunner? ( net-libs/xulrunner:1.8 )
25 !xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) )
26 !xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )
27 !xulrunner? ( !firefox? ( !seamonkey? ( gtkhtml? ( >=gnome-extra/gtkhtml-3.18 ) ) ) )
28 spell? (
29 app-text/gnome-spell
30 >=gnome-base/libbonoboui-2 )"
31 DEPEND="${RDEPEND}
32 !app-text/gnomesword
33 >=dev-util/pkgconfig-0.12
34 >=dev-util/intltool-0.29
35 >=app-text/scrollkeeper-0.3.14"
36
37 pkg_setup() {
38 if use xulrunner; then
39 G2CONF="${G2CONF} --with-gecko=xulrunner"
40 elif use firefox; then
41 G2CONF="${G2CONF} --with-gecko=firefox"
42 elif use seamonkey; then
43 G2CONF="${G2CONF} --with-gecko=seamonkey"
44 elif use gtkhtml; then
45 G2CONF="${G2CONF} --enable-gtkhtml"
46 else
47 eerror "Setup your USE flags to specify a backend to use:"
48 eerror "xulrunner, firefox, seamonkey or gtkhtml"
49 die "Fix USE flags"
50 fi
51 G2CONF="${G2CONF} $(use_enable spell pspell)"
52 DOCS="NEWS ChangeLog README TODO"
53
54 }
55
56 pkg_postinst() {
57 gnome2_pkg_postinst
58
59 einfo "Xiphos requires modules to be of any use. You may install the"
60 einfo "sword modules packages in app-dicts/, or download modules"
61 einfo "individually from the sword website: http://crosswire.org/sword/"
62 }

  ViewVC Help
Powered by ViewVC 1.1.20