academic/bibletime: Updated for version 2.11.2.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Tim Dickson 2018-06-28 22:22:10 +01:00 committed by David Spencer
parent eb4b9d0c6f
commit 00c06305c1
2 changed files with 8 additions and 9 deletions

View file

@ -26,10 +26,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Robert Delahunt [twinreverb[at]puresimplicity.net # Modified by Robert Delahunt [twinreverb[at]puresimplicity.net
# Modified by Tim Dickson (dickson.tim@googlemail.com) # Modified 2018 by Tim Dickson (dickson.tim@googlemail.com)
PRGNAM=bibletime PRGNAM=bibletime
VERSION=${VERSION:-2.11.1} VERSION=${VERSION:-2.11.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -76,8 +76,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build 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
cd build cd build
echo "1 cmake from `pwd`"
cmake \ cmake \
-Wno-dev \ -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
@ -86,12 +88,9 @@ echo "1 cmake from `pwd`"
-DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DLIB_SUFFIX=$LIBDIRSUFFIX .. -DLIB_SUFFIX=$LIBDIRSUFFIX ..
echo "2 make"
make make
echo "3 make install"
make install DESTDIR=$PKG make install DESTDIR=$PKG
cd .. cd ..
# /usr/share/icons is for themed icons # /usr/share/icons is for themed icons
mv $PKG/usr/share/icons $PKG/usr/share/pixmaps mv $PKG/usr/share/icons $PKG/usr/share/pixmaps

View file

@ -1,8 +1,8 @@
PRGNAM="bibletime" PRGNAM="bibletime"
VERSION="2.11.1" VERSION="2.11.2"
HOMEPAGE="http://www.bibletime.info/" HOMEPAGE="http://www.bibletime.info/"
DOWNLOAD="https://github.com/bibletime/bibletime/releases/download/v2.11.1/bibletime-2.11.1.tar.xz" DOWNLOAD="https://github.com/bibletime/bibletime/releases/download/v2.11.2/bibletime-2.11.2.tar.xz"
MD5SUM="6a94566c93983ff05e41f1a00b62156d" MD5SUM="e0aed5f3b672c89ee5e06ffeb505e1ae"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="sword qt5" REQUIRES="sword qt5"