/[gentoo-x86]/app-text/bibletime/bibletime-2.10.1.ebuild
Gentoo

Contents of /app-text/bibletime/bibletime-2.10.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Mar 20 20:52:19 2015 UTC (3 years, 4 months ago) by creffett
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -2 lines
Add missing qtwebkit:5 dep, drop ppc keyword due to qt5 not being keyworded on ppc

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xD1BAB6B528DB029C)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/bibletime-2.10.1.ebuild,v 1.2 2015/02/18 01:47:11 creffett Exp $
4
5 EAPI=5
6 inherit cmake-utils
7
8 DESCRIPTION="Qt Bible study application using the SWORD library"
9 HOMEPAGE="http://www.bibletime.info/"
10 SRC_URI="mirror://sourceforge/project/bibletime/BibleTime%202/BibleTime%202%20source%20code/${P}.tar.xz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="debug qt5"
16
17 # bug 313657
18 # RESTRICT="test"
19
20 RDEPEND="
21 >=app-text/sword-1.6.0
22 >=dev-cpp/clucene-2.3.3.4
23 qt5? (
24 dev-qt/linguist-tools:5
25 dev-qt/qtcore:5
26 dev-qt/qtdbus:5
27 dev-qt/qtprintsupport:5
28 dev-qt/qtwebkit:5
29 dev-qt/qtwidgets:5
30 )
31 !qt5? (
32 dev-qt/qtcore:4
33 dev-qt/qtdbus:4
34 dev-qt/qtgui:4
35 dev-qt/qtwebkit:4
36 )
37 "
38 DEPEND="
39 ${RDEPEND}
40 dev-libs/boost
41 dev-libs/icu:=
42 net-misc/curl
43 sys-libs/zlib
44 qt5? (
45 dev-qt/qttest:5
46 )
47 !qt5? (
48 dev-qt/qttest:4
49 )
50 "
51
52 DOCS=( ChangeLog README )
53
54 src_prepare() {
55 sed -e "s:Dictionary;Qt:Dictionary;Office;TextTools;Utility;Qt:" \
56 -i cmake/platforms/linux/bibletime.desktop.cmake || die "fixing .desktop file failed"
57 epatch "${FILESDIR}/${PN}-2.10.1-qt5-printsupport.patch"
58 }
59
60 src_configure() {
61 local mycmakeargs=(
62 -DUSE_QT_WEBKIT=ON
63 )
64 if use !qt5; then
65 mycmakeargs+=(-DBT_FORCE_USE_QT4=)
66 fi
67
68 cmake-utils_src_configure
69 }

  ViewVC Help
Powered by ViewVC 1.1.20