diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2019-12-15 10:21:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-15 10:21:37 +0700 |
commit | 1e6183df528835fb6a87704474be656d393ac061 (patch) | |
tree | df5df6b57d0fb837486c2b454890971973a8b84a /academic/bibletime/bibletime.SlackBuild | |
parent | 703150a2e76734f8243ac2b12a2ca4824ec41840 (diff) | |
download | slackbuilds-1e6183df528835fb6a87704474be656d393ac061.tar.gz |
academic/bibletime: Updated for version 3.0_beta1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/bibletime/bibletime.SlackBuild')
-rw-r--r-- | academic/bibletime/bibletime.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/academic/bibletime/bibletime.SlackBuild b/academic/bibletime/bibletime.SlackBuild index a0c3c992fb..0863a554c0 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 \ |