aboutsummaryrefslogtreecommitdiff
path: root/academic/bibletime/bibletime.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/bibletime/bibletime.SlackBuild')
-rw-r--r--academic/bibletime/bibletime.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/academic/bibletime/bibletime.SlackBuild b/academic/bibletime/bibletime.SlackBuild
index a0c3c992fb206..0863a554c03c1 100644
--- a/academic/bibletime/bibletime.SlackBuild
+++ b/academic/bibletime/bibletime.SlackBuild
@@ -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 \