academic/xiphos: Switch to i586.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Tim Dickson 2016-10-02 23:29:46 +07:00 committed by Willy Sudiarto Raharjo
parent 16bc3dd358
commit 8340b68795
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 9 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for xiphos
# Copyright 2015 Tim Dickson, email: dickson.tim@googlemail.com
# Copyright 2015/2016 Tim Dickson, email: dickson.tim@googlemail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,12 +24,13 @@
PRGNAM=xiphos
VERSION=${VERSION:-4.0.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
#updated build number for slackware 14.2 which has one less dependency
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -73,7 +74,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure \
--prefix=/usr \
--enable-webkit-editor
--enable-webkit-editor \
--gtk=3
# --gtk=2 doesn't work with webkitgtk as gtk2 is disabled
./waf build

View File

@ -5,6 +5,6 @@ DOWNLOAD="http://heanet.dl.sourceforge.net/project/gnomesword/Xiphos/4.0.4/xipho
MD5SUM="a1d88b7d6812fd261d71a229999c669d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="sword gtkhtml webkitgtk3 biblesync rarian"
REQUIRES="sword webkitgtk3 biblesync rarian"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"