# ChangeLog for app-text/bibletime
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/ChangeLog,v 1.26 2005/11/20 02:59:36 josejx Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/ChangeLog,v 1.27 2006/06/13 21:25:59 squinky86 Exp $
+
+*bibletime-1.6_beta2 (13 Jun 2006)
+
+ 13 Jun 2006; Jon Hood <squinky86@gentoo.org> metadata.xml,
+ -bibletime-1.4.2_pre1.ebuild, -bibletime-1.5.ebuild,
+ -bibletime-1.5.1.ebuild, +bibletime-1.6_beta2.ebuild:
+ Remove old versions, add testing version and new language packs, readd
+ myself as maintainer.
20 Nov 2005; Joseph Jezak <josejx@gentoo.org> bibletime-1.5.2.ebuild:
Marked ppc stable for bug #112834.
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/bibletime-1.6_beta2.ebuild,v 1.1 2006/06/13 21:25:59 squinky86 Exp $
+
+inherit kde eutils versionator
+
+MY_P="${PN}-$(replace_version_separator 2 '')"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="KDE Bible study application using the SWORD library."
+HOMEPAGE="http://www.bibletime.info/"
+SRC_URI="mirror://sourceforge/bibletime/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=app-text/sword-1.5.8
+ dev-cpp/clucene"
+
+LANGS_PKG=${PN}-i18n-1.5.3
+LANGS="af bg cs da de en_GB es fi fr hu it ko nl nn_NO no pl pt_BR ro ru sk ua"
+LANGS_DOC="bg cs de fi fr it ko nl pt_BR ru"
+
+for X in ${LANGS}; do
+ SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/bibletime/${LANGS_PKG}.tar.bz2 )"
+done
+
+need-kde 3.4
+
+pkg_setup() {
+ if ! built_with_use app-text/sword curl; then
+ echo
+ ewarn "The SWORD library may not have been compiled with curl support."
+ ewarn "If you wish to use BibleTime's ability to download modules"
+ ewarn "straight from the SWORD website, please make sure app-text/sword"
+ ewarn "was compiled with USE=\"curl\"."
+ ewarn "Press ctrl+c to abort the merge of BibleTime if you want to"
+ ewarn "recompile SWORD with curl support."
+ echo
+ ebeep 5
+ fi
+}
+
+src_unpack() {
+ kde_src_unpack
+
+ local MAKE_LANGS MAKE_LANGS_DOC
+ for X in ${LANGS}; do
+ use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X/pt_BR/pt_br}.po"
+ done
+ for X in ${LANGS_DOC}; do
+ use linguas_${X} && MAKE_LANGS_DOC="${MAKE_LANGS_DOC} ${X/pt_BR/pt-br}"
+ done
+
+ if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then
+ cd "${WORKDIR}/${LANGS_PKG}"
+ sed -i -e "s,^POFILES.*,POFILES = ${MAKE_LANGS}," po/Makefile.am
+ sed -i -e "s,^SUBDIRS.*,SUBDIRS = ${MAKE_LANGS_DOC}," docs/Makefile.am
+ make -f admin/Makefile.common || die
+ fi
+}
+
+src_compile() {
+ kde_src_compile
+
+ local _S="${S}"
+ if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then
+ S="${WORKDIR}/${LANGS_PKG}"
+ cd "${S}"
+ kde_src_compile
+ fi
+ S="${_S}"
+}
+
+src_install() {
+ kde_src_install
+
+ local _S="${S}"
+ if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then
+ S="${WORKDIR}/${LANGS_PKG}"
+ cd "${S}"
+ kde_src_install
+ fi
+ S="${_S}"
+}
--- /dev/null
+MD5 ec43053d9fdb0f9e2858f91d9ba78b6d bibletime-1.6beta2.tar.bz2 1200407
+RMD160 742a5e3f5809a06ca93672001063be276183622b bibletime-1.6beta2.tar.bz2 1200407
+SHA256 333644309e4fd03282430137c27a2f134a5b110b7c9829356a81d7576e203867 bibletime-1.6beta2.tar.bz2 1200407
+MD5 dcf548af05fde1d4d1b864f21ffc9fcb bibletime-i18n-1.5.3.tar.bz2 1024639
+RMD160 5455172a63001e84fc30628d41bd1a709f23e3e9 bibletime-i18n-1.5.3.tar.bz2 1024639
+SHA256 ac43274ae1b45e26c8ed38170657f94a146d8645122b0a2900e2bc39e9867c3e bibletime-i18n-1.5.3.tar.bz2 1024639