From: "Chris Reffett" <creffett@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sword/
Date: Wed, 20 Jun 2018 01:21:56 +0000 (UTC) [thread overview]
Message-ID: <1529457682.5d2a203eac7c405960b8d5d13ed4b85abdc946d9.creffett@gentoo> (raw)
commit: 5d2a203eac7c405960b8d5d13ed4b85abdc946d9
Author: Chris Reffett <creffett <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 00:08:36 2018 +0000
Commit: Chris Reffett <creffett <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 01:21:22 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2a203e
app-text/sword: Version bump
Closes: https://bugs.gentoo.org/658358
Package-Manager: Portage-2.3.40, Repoman-2.3.9
app-text/sword/Manifest | 1 +
app-text/sword/sword-1.8.0.ebuild | 84 +++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/app-text/sword/Manifest b/app-text/sword/Manifest
index 1ea34213ec8..739447b1e03 100644
--- a/app-text/sword/Manifest
+++ b/app-text/sword/Manifest
@@ -1 +1,2 @@
DIST sword-1.7.4.tar.gz 2157882 BLAKE2B 7ed50430500ec428a125e24550a1f7d0437a0253cf4fabad4c8af452d2aa82c71c11e4a6c334ef1a95d82f14ce1cc092f3774210113e9668ba207875b3a11b20 SHA512 4c8b183e613367364439cc7a8a842012f75180fccc8eb775b9af2dc4c10f39c152261d35f0aadaaa91a11df36ab1a4057c2edc50ea4b0b3bb0ab0a847ff68f75
+DIST sword-1.8.0.tar.gz 2444386 BLAKE2B dd74ca409cdc3e4563ec5f0ed225556cfc3d1c89e63b41df8335b4abdd4f36b1423a2953a86105d2efe8d57c0e57065f74e74629309bab93f2a0222b9a8fcc86 SHA512 c45f3135255322a77e955297997db2529f31b397c42cc4b9474dc6ec8d329b2233b292078979de5fbf33cad4a1a607aabb66f86501072a729d68e9fc840c8c8e
diff --git a/app-text/sword/sword-1.8.0.ebuild b/app-text/sword/sword-1.8.0.ebuild
new file mode 100644
index 00000000000..bb6ed4a2b10
--- /dev/null
+++ b/app-text/sword/sword-1.8.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit flag-o-matic
+
+DESCRIPTION="Library for Bible reading software"
+HOMEPAGE="http://www.crosswire.org/sword/"
+SRC_URI="http://www.crosswire.org/ftpmirror/pub/${PN}/source/v${PV%.*}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~ppc-macos"
+IUSE="clucene curl debug doc icu static-libs"
+
+RDEPEND="sys-libs/zlib
+ curl? ( net-misc/curl )
+ icu? ( dev-libs/icu:= )
+ clucene? ( dev-cpp/clucene )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+DOCS="AUTHORS CODINGSTYLE ChangeLog README"
+
+RESTRICT="test" #Restricting for now, see bug 313207
+
+src_prepare() {
+ sed -i \
+ -e '/FLAGS/s:-g3::' -e '/FLAGS/s:-O0::' \
+ -e '/FLAGS/s:-O2::' -e '/FLAGS/s:-O3::' \
+ configure || die
+
+ sed -i -e '/FLAGS/s:-Werror::' configure || die #408289
+ sed -i -e '/^#inc.*curl.*types/d' src/mgr/curl*.cpp || die #378055
+
+ cat <<-EOF > "${T}"/${PN}.conf
+ [Install]
+ DataPath=${EPREFIX}/usr/share/${PN}/
+ EOF
+ eapply "${FILESDIR}/${PN}-1.7.4-configure.patch"
+ eapply_user
+}
+
+src_configure() {
+ # TODO: Why is this here and can we remove it?
+ strip-flags
+
+ # bug 618776
+ append-cxxflags -std=c++14
+
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable debug) \
+ --with-zlib \
+ $(use_with icu) \
+ --with-conf \
+ $(use_with curl) \
+ $(use_with clucene)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ if use doc; then
+ rm -rf examples/.cvsignore
+ rm -rf examples/cmdline/.cvsignore
+ rm -rf examples/cmdline/.deps
+ cp -R samples examples "${ED}"/usr/share/doc/${PF}/
+ fi
+
+ insinto /etc
+ doins "${T}"/${PN}.conf
+}
+
+pkg_postinst() {
+ elog "Check out http://www.crosswire.org/sword/modules/"
+ elog "to download modules that you would like to use with SWORD."
+ elog "Follow module installation instructions found on"
+ elog "the web or in ${EROOT}/usr/share/doc/${PF}/"
+}
next reply other threads:[~2018-06-20 1:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-20 1:21 Chris Reffett [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-16 1:41 [gentoo-commits] repo/gentoo:master commit in: app-text/sword/ Sam James
2023-12-29 1:15 Sam James
2022-05-19 7:17 WANG Xuerui
2021-09-09 10:45 Marek Szuba
2021-01-24 12:10 Agostino Sarubbo
2021-01-22 16:53 Agostino Sarubbo
2020-12-13 12:26 Marek Szuba
2020-12-09 11:09 Marek Szuba
2020-07-25 13:56 Marek Szuba
2020-07-25 13:56 Marek Szuba
2018-10-20 17:50 Mikle Kolyada
2018-10-17 12:07 Thomas Deutschmann
2018-10-12 22:40 Chris Reffett
2018-02-19 19:42 David Seifert
2017-01-10 23:14 Chris Reffett
2017-01-10 14:56 Agostino Sarubbo
2015-12-28 21:44 Chris Reffett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529457682.5d2a203eac7c405960b8d5d13ed4b85abdc946d9.creffett@gentoo \
--to=creffett@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox