academic/bibletime: Updated for version 3.0_beta1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Tim Dickson 2019-12-15 10:21:37 +07:00 committed by Willy Sudiarto Raharjo
parent 703150a2e7
commit 1e6183df52
3 changed files with 14 additions and 9 deletions

View file

@ -2,4 +2,5 @@ BibleTime is a Bible study application for Linux. It is based on the K Desktop
Environment and uses the Sword programming library to work with Bible texts,
commentaries, dictionaries, and books provided by the Crosswire Bible Society.
This version requires sword version 1.7.0 or higher.
This version requires sword version 1.8.1 or higher, and qt5.9 or higher.
Homepage: http://bibletime.info/

View file

@ -26,10 +26,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Robert Delahunt [twinreverb[at]puresimplicity.net
# Modified 2018 by Tim Dickson (dickson.tim@googlemail.com)
# Modified 2018/9 by Tim Dickson (dickson.tim@googlemail.com)
PRGNAM=bibletime
VERSION=${VERSION:-2.11.2}
VERSION=${VERSION:-3.0_beta1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -76,9 +76,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build
#patch CMakeLists.txt so it works with version of qt5
# available on slackbuilds.org
sed -i "s/VERSION 5.9/VERSION 5.7.1/g" CMakeLists.txt
#patch CMakeLists.txt so it works with verson of cmake on slack14.2
#these patches can be removed once cmake gets to 3.10 or higher
sed -i "s/VERSION 3.10/VERSION 3.5/g" CMakeLists.txt
sed -i "s/^CHECK_IPO_SUPPORTED(RESULT HAVE_IPO)/SET(HAVE_IPO FALSE)/g" CMakeLists.txt
sed -i "s/^INCLUDE(CheckIPO/#INCLUDE(CheckIPO/g" CMakeLists.txt
sed -i "/TARGET_COMPILE_FEATURES/s/.*/SET(CMAKE_CXX_STANDARD 11)/" CMakeLists.txt
cd build
cmake \
-Wno-dev \

View file

@ -1,10 +1,11 @@
PRGNAM="bibletime"
VERSION="2.11.2"
VERSION="3.0_beta1"
HOMEPAGE="http://www.bibletime.info/"
DOWNLOAD="https://github.com/bibletime/bibletime/releases/download/v2.11.2/bibletime-2.11.2.tar.xz"
MD5SUM="e0aed5f3b672c89ee5e06ffeb505e1ae"
DOWNLOAD="https://github.com/bibletime/bibletime/releases/download/v3.0_beta1/bibletime-3.0_beta1.tar.xz"
MD5SUM="42083cd7d86769af1beeab4913fd2807"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="sword qt5"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"