summaryrefslogtreecommitdiffstats
path: root/academic/xiphos
diff options
context:
space:
mode:
Diffstat (limited to 'academic/xiphos')
-rw-r--r--academic/xiphos/README3
-rw-r--r--academic/xiphos/xiphos.SlackBuild11
-rw-r--r--academic/xiphos/xiphos.info4
3 files changed, 13 insertions, 5 deletions
diff --git a/academic/xiphos/README b/academic/xiphos/README
index e430c8f0fe..34979df345 100644
--- a/academic/xiphos/README
+++ b/academic/xiphos/README
@@ -4,3 +4,6 @@ Sword project by the CrossWire Bible Society.
computer reading of the text using festival has not been tested. if
it works let me know, and i'll remove these two lines from the readme.
+
+if built with webkit2gtk4.1 then yelp also needs to be built with
+webkit2gtk4.1
diff --git a/academic/xiphos/xiphos.SlackBuild b/academic/xiphos/xiphos.SlackBuild
index d7638e29e2..769d5c613c 100644
--- a/academic/xiphos/xiphos.SlackBuild
+++ b/academic/xiphos/xiphos.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xiphos
-# Copyright 2015-2022 Tim Dickson, email: dickson.tim@googlemail.com
+# Copyright 2015-2024 Tim Dickson, email: dickson.tim@googlemail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#note: webkit2gtk is a dep, but is already included as a dep of yelp.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xiphos
VERSION=${VERSION:-4.2.1}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,9 +85,12 @@ find -L . \
#patch to make work with newer glib
echo "#define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_2_26)" >>cmake/config.h.cmake.in
+if $(pkg-config --exists webkit2gtk-4.1); then #patch for webkit2gtk4.1
+ sed -i 's/webkit2gtk-4.0/webkit2gtk-4.1/g' cmake/XiphosDependencies.cmake
+ sed -i 's/libsoup-2.4/libsoup-3.0/g' cmake/XiphosDependencies.cmake
+fi
mkdir -p build
cd build
-echo "1"
cmake -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/academic/xiphos/xiphos.info b/academic/xiphos/xiphos.info
index 2e531b0cac..70245d07d3 100644
--- a/academic/xiphos/xiphos.info
+++ b/academic/xiphos/xiphos.info
@@ -1,10 +1,10 @@
PRGNAM="xiphos"
VERSION="4.2.1"
-HOMEPAGE="http://xiphos.org"
+HOMEPAGE="https://xiphos.org"
DOWNLOAD="https://github.com/crosswire/xiphos/releases/download/4.2.1/xiphos-4.2.1.tar.gz"
MD5SUM="77d8a99c063433bea3006954710b2fd5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="sword webkit2gtk biblesync rarian gtkhtml libminizip appstream-glib yelp"
+REQUIRES="sword biblesync rarian gtkhtml libminizip appstream-glib yelp"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"