Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/bibletime: ChangeLog bibletime-1.6.5.ebuild bibletime-1.6.ebuild bibletime-1.6.3.ebuild
Date: Sat, 05 Jan 2008 18:03:53
Message-Id: E1JBDN5-0001wW-Tv@stork.gentoo.org
1 beandog 08/01/05 18:03:47
2
3 Modified: ChangeLog
4 Added: bibletime-1.6.5.ebuild
5 Removed: bibletime-1.6.ebuild bibletime-1.6.3.ebuild
6 Log:
7 Version bump, bug 177377
8 (Portage version: 2.1.4_rc14)
9
10 Revision Changes Path
11 1.44 app-text/bibletime/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibletime/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibletime/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibletime/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/bibletime/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 30 Apr 2007 20:18:13 -0000 1.43
24 +++ ChangeLog 5 Jan 2008 18:03:47 -0000 1.44
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/bibletime
27 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/ChangeLog,v 1.43 2007/04/30 20:18:13 genone Exp $
29 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/ChangeLog,v 1.44 2008/01/05 18:03:47 beandog Exp $
31 +
32 +*bibletime-1.6.5 (05 Jan 2008)
33 +
34 + 05 Jan 2008; Steve Dibb <beandog@g.o> -bibletime-1.6.ebuild,
35 + -bibletime-1.6.3.ebuild, +bibletime-1.6.5.ebuild:
36 + Version bump, bug 177377
37
38 30 Apr 2007; Marius Mauch <genone@g.o> bibletime-1.6.3.ebuild:
39 Replacing einfo with elog
40
41
42
43 1.1 app-text/bibletime/bibletime-1.6.5.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibletime/bibletime-1.6.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibletime/bibletime-1.6.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: bibletime-1.6.5.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/bibletime-1.6.5.ebuild,v 1.1 2008/01/05 18:03:47 beandog Exp $
53
54 inherit kde eutils versionator
55
56 DESCRIPTION="KDE Bible study application using the SWORD library."
57 HOMEPAGE="http://www.bibletime.info/"
58 SRC_URI="mirror://sourceforge/bibletime/${P}.tar.bz2"
59 LICENSE="GPL-2"
60
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE=""
64
65 DEPEND="=app-text/sword-1.5.10*
66 >=dev-cpp/clucene-0.9.16"
67
68 LANGS_PKG=${PN}-i18n-${PV}
69 LANGS="af bg cs da de en_GB es fi fr hu it ko nl nn_NO no pl pt_BR ro ru sk uk"
70 LANGS_DOC="bg cs de fi fr it ko nl pt_BR ru"
71
72 for X in ${LANGS}; do
73 IUSE="${IUSE} linguas_${X}"
74 SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/bibletime/${LANGS_PKG}.tar.bz2 )"
75 done
76
77 need-kde 3.4
78
79 pkg_setup() {
80 if ! built_with_use app-text/sword curl; then
81 echo
82 ewarn "The SWORD library may not have been compiled with curl support."
83 ewarn "If you wish to use BibleTime's ability to download modules"
84 ewarn "straight from the SWORD website, please make sure app-text/sword"
85 ewarn "was compiled with USE=\"curl\"."
86 ewarn "Press ctrl+c to abort the merge of BibleTime if you want to"
87 ewarn "recompile SWORD with curl support."
88 echo
89 ebeep 5
90 fi
91 }
92
93 src_compile() {
94 cd ${S}
95
96 # Those paths are missing a slash.
97 sed -i -e "s:\$(kde_htmldir):\$(kde_htmldir)/:g" ${KDE_S}/docs/handbook/unicode/Makefile.*
98 sed -i -e "s:\$(kde_htmldir):\$(kde_htmldir)/:g" ${KDE_S}/docs/handbook/html/Makefile.*
99 sed -i -e "s:\$(kde_htmldir):\$(kde_htmldir)/:g" ${KDE_S}/docs/howto/unicode/Makefile.*
100
101 kde_src_compile
102
103 local MAKE_PO MAKE_DOC TMP
104 local _S="${KDE_S}"
105 if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then
106 KDE_S="${WORKDIR}/${LANGS_PKG}"
107 cd "${KDE_S}"
108
109 # Adapted from kde.eclass
110 if [[ -z ${LINGUAS} ]]; then
111 elog "You can add some of the translations of the interface and"
112 elog "documentation by setting the \${LINGUAS} variable to the"
113 elog "languages you want installed."
114 elog
115 elog "Enabling English interface and documentation only."
116 else
117 if [[ -n ${LANGS} ]]; then
118 MAKE_PO=$(echo $(echo "${LINGUAS} ${LANGS}" | tr ' ' '\n' | sort | uniq -d))
119 TMP=$(echo $(echo "${MAKE_PO/pt_BR/pt_br}" | sort | uniq))
120 TMP=$(echo $(echo "${TMP/uk/ua}" | sort | uniq))
121 TMP+=" "
122 MAKE_PO=${TMP// /.po }
123
124 elog "Enabling translations for: ${MAKE_PO}"
125 sed -i -e "s:^POFILES =.*:POFILES = ${MAKE_PO}:" "${KDE_S}/po/Makefile.am" \
126 || die "sed for locale failed"
127 rm -f "${KDE_S}/configure"
128 fi
129
130 TMP=""
131
132 if [[ -n ${LANGS_DOC} ]]; then
133 MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | tr ' ' '\n' | sort | uniq -d))
134 TMP=$(echo $(echo "${MAKE_DOC/pt_BR/pt-br}" | sort | uniq))
135 TMP=$(echo $(echo "${TMP/uk/ua}" | sort | uniq))
136 MAKE_DOC=${TMP}
137
138 elog "Enabling documentation for: ${MAKE_DOC}"
139 sed -i -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_DOC}:" \
140 "${KDE_S}/docs/Makefile.am" || die "sed for locale failed"
141
142 # Those paths are missing a slash.
143 for X in ${MAKE_DOC}; do
144 [[ -f ${KDE_S}/docs/${X}/handbook/unicode/Makefile.am ]] && \
145 sed -i -e "s:\$(kde_htmldir):\$(kde_htmldir)/:g" \
146 ${KDE_S}/docs/${X}/handbook/unicode/Makefile.am || die "sed for handbook failed"
147 [[ -f ${KDE_S}/docs/${X}/handbook/unicode/Makefile.am ]] && \
148 sed -i -e "s:\$(kde_htmldir):\$(kde_htmldir)/:g" \
149 ${KDE_S}/docs/${X}/howto/unicode/Makefile.am || die "sed for howto failed"
150 done
151
152 rm -f "${KDE_S}/configure"
153 fi
154 fi
155
156 kde_src_compile
157 fi
158 KDE_S="${_S}"
159 }
160
161 src_install() {
162 kde_src_install
163
164 local _S="${KDE_S}"
165 if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then
166 KDE_S="${WORKDIR}/${LANGS_PKG}"
167 cd "${KDE_S}"
168
169 kde_src_install
170 fi
171 KDE_S="${_S}"
172 }
173
174
175
176 --
177 gentoo-commits@g.o mailing list