From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/bibletime/
Date: Thu, 30 Jul 2020 11:18:41 +0000 (UTC) [thread overview]
Message-ID: <1596107887.b5cdfafae9a40d9dc0c7fc8f40e71f87b8bdf4f3.marecki@gentoo> (raw)
commit: b5cdfafae9a40d9dc0c7fc8f40e71f87b8bdf4f3
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 30 11:02:27 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jul 30 11:18:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5cdfafa
app-text/bibletime: EAPI-7, cmake.eclass, fix dependencies
Have also added a test phase which actually manages to launch the test
suite, unfortunately it doesn't run properly yet so continue to restrict
tests.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-text/bibletime/bibletime-2.11.2.ebuild | 33 ++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/app-text/bibletime/bibletime-2.11.2.ebuild b/app-text/bibletime/bibletime-2.11.2.ebuild
index ebbcd684ed6..4323fdebe25 100644
--- a/app-text/bibletime/bibletime-2.11.2.ebuild
+++ b/app-text/bibletime/bibletime-2.11.2.ebuild
@@ -1,20 +1,23 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils
+VIRTUALX_REQUIRED=test
-DESCRIPTION="Qt Bible study application using the SWORD library"
-HOMEPAGE="http://www.bibletime.info/"
+inherit cmake virtualx
+
+DESCRIPTION="Qt Bible-study application using the SWORD library"
+HOMEPAGE="http://bibletime.info/"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug"
+IUSE="test"
-# bug 313657
+# Some tests fail due to being unable to find an icon directory relative
+# to ${WORKDIR}, some others segfault. Needs work.
RESTRICT="test"
RDEPEND="
@@ -23,6 +26,7 @@ RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
dev-qt/qtwebchannel:5
dev-qt/qtwebengine:5
dev-qt/qtwidgets:5
@@ -36,12 +40,23 @@ DEPEND="${RDEPEND}
net-misc/curl
sys-libs/zlib
"
+BDEPEND="test? (
+ app-dicts/sword-Josephus
+ app-dicts/sword-KJV
+ app-dicts/sword-KJVA
+ app-dicts/sword-Scofield
+ app-dicts/sword-StrongsGreek
+)"
DOCS=( ChangeLog README.md )
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -e "s:Dictionary;Qt:Dictionary;Office;TextTools;Utility;Qt:" \
- -i cmake/platforms/linux/bibletime.desktop.cmake || die "fixing .desktop file failed"
+ -i cmake/platforms/linux/bibletime.desktop.cmake || die "fixing .desktop file failed"
+}
+
+src_test() {
+ virtx cmake_src_test || die "Test run has failed"
}
next reply other threads:[~2020-07-30 11:18 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 11:18 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-24 5:26 [gentoo-commits] repo/gentoo:master commit in: app-text/bibletime/ Sam James
2025-03-10 3:02 Sam James
2025-02-14 13:07 Andreas Sturmlechner
2025-02-14 13:07 Andreas Sturmlechner
2025-02-14 13:07 Andreas Sturmlechner
2024-11-23 11:36 Andreas Sturmlechner
2022-11-10 22:40 Marek Szuba
2022-11-10 22:40 Marek Szuba
2022-09-16 10:30 Marek Szuba
2022-09-02 10:58 Marek Szuba
2022-09-02 10:58 Marek Szuba
2022-07-26 8:50 Marek Szuba
2022-07-25 22:15 Marek Szuba
2022-06-30 9:02 Marek Szuba
2022-06-30 7:01 Agostino Sarubbo
2022-06-29 11:58 Sam James
2022-05-19 6:49 Marek Szuba
2021-11-20 10:37 Marek Szuba
2021-11-20 7:28 Agostino Sarubbo
2021-11-20 7:26 Agostino Sarubbo
2021-09-03 12:15 Marek Szuba
2021-09-03 6:40 Agostino Sarubbo
2021-09-01 0:08 Marek Szuba
2021-09-01 0:08 Marek Szuba
2021-08-03 11:11 Marek Szuba
2021-05-31 8:51 Marek Szuba
2021-05-31 8:51 Marek Szuba
2021-05-26 11:22 Marek Szuba
2021-05-26 11:22 Marek Szuba
2021-02-15 12:39 Marek Szuba
2020-11-13 14:30 Sam James
2020-09-05 19:44 Marek Szuba
2020-08-24 17:19 Marek Szuba
2020-07-31 8:44 Marek Szuba
2018-06-20 1:21 Chris Reffett
2018-06-20 1:21 Chris Reffett
2017-06-05 11:05 Agostino Sarubbo
2017-03-22 19:38 Johannes Huber
2017-03-22 19:38 Johannes Huber
2017-01-10 23:14 Chris Reffett
2017-01-10 14:56 Agostino Sarubbo
2015-12-27 17:29 Michael Palimaka
2015-12-27 17:28 Michael Palimaka
2015-10-01 14:21 Michael Palimaka
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=1596107887.b5cdfafae9a40d9dc0c7fc8f40e71f87b8bdf4f3.marecki@gentoo \
--to=marecki@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