From 39f85960f57c090eae3d17b801ab2739de9f10a3 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Fri, 2 Mar 2007 07:40:11 +0000 Subject: [PATCH] bibletime version bump 1.6.3b --- app-text/bibletime/Manifest | 9 ++ app-text/bibletime/bibletime-1.6.3b.ebuild | 87 +++++++++++++++++++ .../bibletime/files/digest-bibletime-1.6.3b | 6 ++ 3 files changed, 102 insertions(+) create mode 100644 app-text/bibletime/Manifest create mode 100644 app-text/bibletime/bibletime-1.6.3b.ebuild create mode 100644 app-text/bibletime/files/digest-bibletime-1.6.3b diff --git a/app-text/bibletime/Manifest b/app-text/bibletime/Manifest new file mode 100644 index 0000000..3f2d5c2 --- /dev/null +++ b/app-text/bibletime/Manifest @@ -0,0 +1,9 @@ +DIST bibletime-1.6.3b.tar.bz2 1700462 RMD160 bdb85bf867624550b2e616561916d95c4c07da94 SHA1 d16b9641d692dff39e3f2a2e09793fbaf80fdd4c SHA256 622812cbfb6910b5f71f2f32908f931952bf0037696029348b0cda07571f68f5 +DIST bibletime-i18n-1.6.3b.tar.bz2 1035064 RMD160 0ab7d318f37c2b6a33728001ae18b1813284cbc4 SHA1 35d9561985733e540f7b66cb4b1f3e1bc7a5ecda SHA256 deb3dfcfc4dc67b7875240d75ef2c821dbe4a06c9979504414544ab26f54f918 +EBUILD bibletime-1.6.3b.ebuild 2198 RMD160 15c1a70da01ea8382ce78a917db495d7db05917f SHA1 3676a19d6d00597be6bfcc2125ff9267166da400 SHA256 f607a62b52dc5d2a494d0409f59387b3d111eb3b0c0341bf96032d224175f647 +MD5 b5ae9eab515336381757dd4c9aa022be bibletime-1.6.3b.ebuild 2198 +RMD160 15c1a70da01ea8382ce78a917db495d7db05917f bibletime-1.6.3b.ebuild 2198 +SHA256 f607a62b52dc5d2a494d0409f59387b3d111eb3b0c0341bf96032d224175f647 bibletime-1.6.3b.ebuild 2198 +MD5 018fdab93de277a9cf1b44f418f6799b files/digest-bibletime-1.6.3b 527 +RMD160 0d920b10d6885b095bec618cfad94fa0f5154362 files/digest-bibletime-1.6.3b 527 +SHA256 ce2ca87742a9b7138025e371b12c18a15921d25c7a51c9a5fa6fb526a506a556 files/digest-bibletime-1.6.3b 527 diff --git a/app-text/bibletime/bibletime-1.6.3b.ebuild b/app-text/bibletime/bibletime-1.6.3b.ebuild new file mode 100644 index 0000000..f691b3b --- /dev/null +++ b/app-text/bibletime/bibletime-1.6.3b.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/bibletime-1.6.ebuild,v 1.2 2007/01/05 14:11:09 beandog Exp $ + +inherit kde eutils versionator + +DESCRIPTION="KDE Bible study application using the SWORD library." +HOMEPAGE="http://www.bibletime.info/" +SRC_URI="mirror://sourceforge/bibletime/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=app-text/sword-1.5.9 + >=dev-cpp/clucene-0.9.16" + +LANGS_PKG=${PN}-i18n-${PV} +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" +LANGS_DOC="bg cs de fi fr it ko nl pt_BR ru" + +for X in ${LANGS}; do + IUSE="${IUSE} linguas_${X}" + 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 + ${X/uk/ua}.po" + done + for X in ${LANGS_DOC}; do + use linguas_${X} && MAKE_LANGS_DOC="${MAKE_LANGS_DOC} ${X/pt_BR/pt-br} + ${X/uk/ua}" + 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 + rm configure + 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}" +} diff --git a/app-text/bibletime/files/digest-bibletime-1.6.3b b/app-text/bibletime/files/digest-bibletime-1.6.3b new file mode 100644 index 0000000..cf1dd68 --- /dev/null +++ b/app-text/bibletime/files/digest-bibletime-1.6.3b @@ -0,0 +1,6 @@ +MD5 50463409277994cf5da946cc12aefdd1 bibletime-1.6.3b.tar.bz2 1700462 +RMD160 bdb85bf867624550b2e616561916d95c4c07da94 bibletime-1.6.3b.tar.bz2 1700462 +SHA256 622812cbfb6910b5f71f2f32908f931952bf0037696029348b0cda07571f68f5 bibletime-1.6.3b.tar.bz2 1700462 +MD5 5ae7aeb18607971c80c68cf5a9c5ca4e bibletime-i18n-1.6.3b.tar.bz2 1035064 +RMD160 0ab7d318f37c2b6a33728001ae18b1813284cbc4 bibletime-i18n-1.6.3b.tar.bz2 1035064 +SHA256 deb3dfcfc4dc67b7875240d75ef2c821dbe4a06c9979504414544ab26f54f918 bibletime-i18n-1.6.3b.tar.bz2 1035064