Gentoo Archives: gentoo-commits

From: Chris Reffett <creffett@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xiphos/
Date: Sun, 03 Jan 2016 15:06:30
Message-Id: 1451833555.802ef2292be0775d0103dfaf920d8e2d5d41143f.creffett@gentoo
1 commit: 802ef2292be0775d0103dfaf920d8e2d5d41143f
2 Author: Chris Reffett <creffett <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 3 15:05:20 2016 +0000
4 Commit: Chris Reffett <creffett <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 3 15:05:55 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802ef229
7
8 app-text/xiphos: Version bump
9
10 Package-Manager: portage-2.2.26
11
12 app-text/xiphos/Manifest | 1 +
13 app-text/xiphos/xiphos-4.0.4.ebuild | 89 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 90 insertions(+)
15
16 diff --git a/app-text/xiphos/Manifest b/app-text/xiphos/Manifest
17 index 177535e..1126e42 100644
18 --- a/app-text/xiphos/Manifest
19 +++ b/app-text/xiphos/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xiphos-3.1.5.tar.gz 6720533 SHA256 2887426908e269f25d2d191be445112027b2b7e80356823d4942b1803a359d8c SHA512 2183125a1076660cf0448ee5f2df3ded9ee58c389716a8ceefe0185989d6c8267f19082add3fa8a7a9da57693f82b47e26c0fe77154e961b84234afbdf5b3a1d WHIRLPOOL 6a66671ab99cc62f0beb6bdfffcec2ff1048cae66ad6304fd788d005c0d0bf81273856af6373eba0bdf5fd6df0176894e1a99fe633fcd1fbad46c78b89848bbf
22 DIST xiphos-3.2.2.tar.gz 7088153 SHA256 2326efd2bad1b27d6c4231cba68077f71f91ee31f73bdada1cbe2c3bd11eadc6 SHA512 14dd33f99217de4062e6ff6c4030fce748f57bc7e4a984aa7927acb7779f3720da21a51eb2943d5be93eac702dcc32b023f9e39a91acb7182ce59b3c90941dbf WHIRLPOOL 488f3fb65b591a9122cc8fc8a1c118cb461ce1890205d53d5957633bb8ff240166616e4de3169afccf5799fb2db40e1e90ac8cef61f3f133e135dd9578227de8
23 +DIST xiphos-4.0.4-20150830.tar.gz 8040173 SHA256 413bb8acb444946ccde1fb9fcfa3ff4bdb622cb56995b557f3215fab42193f20 SHA512 337503ee4cc6139ec8724266f3c9c0ce5d17518c48f7aab03ea8213165054854c8dd7317ff9e1b9097ece12292b52f1c8002684c00c5a7b43c5b4810edd6ecda WHIRLPOOL a1795b6fe5c978fcfc2c1f17f48844797bcf6e07a272181168717807dfd0a7b6e9359380a21fa330c539f1197c54c7e7293457f7733ab55d9dcca274ba044991
24
25 diff --git a/app-text/xiphos/xiphos-4.0.4.ebuild b/app-text/xiphos/xiphos-4.0.4.ebuild
26 new file mode 100644
27 index 0000000..b5fbabd
28 --- /dev/null
29 +++ b/app-text/xiphos/xiphos-4.0.4.ebuild
30 @@ -0,0 +1,89 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +PYTHON_COMPAT=( python2_7 )
37 +inherit flag-o-matic gnome2-utils python-single-r1 toolchain-funcs
38 +
39 +MY_PV="${PV}-20150830"
40 +MY_P="${PN}-${MY_PV}"
41 +DESCRIPTION="A bible study frontend for Sword (formerly known as GnomeSword)"
42 +HOMEPAGE="http://xiphos.org/"
43 +SRC_URI="mirror://sourceforge/gnomesword/${MY_P}.tar.gz"
44 +
45 +LICENSE="GPL-2 FDL-1.1 LGPL-2 MIT MPL-1.1"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="dbus debug"
49 +
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +RDEPEND="${PYTHON_DEPS}
53 + >=app-text/sword-1.7.4
54 + >=dev-libs/glib-2[${PYTHON_USEDEP}]
55 + dev-libs/libxml2[${PYTHON_USEDEP}]
56 + gnome-base/gconf[${PYTHON_USEDEP}]
57 + gnome-extra/gtkhtml:4.0
58 + >=gnome-extra/libgsf-1.14
59 + net-libs/webkit-gtk:3
60 + x11-libs/gtk+:3
61 + dbus? ( dev-libs/dbus-glib )
62 +"
63 +DEPEND="${RDEPEND}
64 + app-text/docbook2X
65 + app-text/gnome-doc-utils[${PYTHON_USEDEP}]
66 + app-text/rarian
67 + dev-libs/libxslt[${PYTHON_USEDEP}]
68 + dev-util/intltool
69 + net-libs/biblesync
70 + virtual/pkgconfig
71 + sys-devel/gettext
72 +"
73 +
74 +pkg_setup() {
75 + python-single-r1_pkg_setup
76 +}
77 +
78 +src_prepare() {
79 + sed -i \
80 + -e '/FLAGS_DEBUG/s:-g:-Wall:' \
81 + -e '/FLAGS_RELEASE/s:-O2:-Wall:' \
82 + wscript || die
83 +}
84 +
85 +src_configure() {
86 + append-cppflags -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1
87 +
88 + tc-export AR CC CPP CXX RANLIB
89 +
90 + CCFLAGS="${CFLAGS}" \
91 + LINKFLAGS="${LDFLAGS}" \
92 + SGML2MAN="$(type -P docbook2man.pl)" \
93 + ./waf -v \
94 + --prefix=/usr \
95 + --gtk=3 \
96 + --debug-level=$(use debug && echo debug || echo release) \
97 + $(use dbus || echo --disable-dbus) \
98 + configure || die
99 +}
100 +
101 +src_compile() {
102 + ./waf -v build || die
103 +}
104 +
105 +src_install() {
106 + ./waf -v --destdir="${D}" install || die
107 +
108 + doman ${PN}.1
109 + dodoc AUTHORS ChangeLog README RELEASE-NOTES TODO
110 +
111 + dodoc Xiphos.ogg
112 + docompress -x /usr/share/doc/${PF}/Xiphos.ogg
113 +
114 + rm -rf "${ED}"/usr/share/doc/${PN}
115 +}
116 +
117 +pkg_preinst() { gnome2_icon_savelist; }
118 +pkg_postinst() { gnome2_icon_cache_update; }
119 +pkg_postrm() { gnome2_icon_cache_update; }