diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2024-07-25 12:25:32 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-26 12:03:38 +0700 |
commit | 246f0e2e18315fc42d476c7b646eefc1a3b809e9 (patch) | |
tree | 4900c224721f6dd204e1401eac879f8abcef1080 /academic | |
parent | ce2eb8ad27df603feecf6e5d6b95de46a204562c (diff) |
academic/xiphos: add webkit2gtk4.1 support
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/xiphos/README | 3 | ||||
-rw-r--r-- | academic/xiphos/xiphos.SlackBuild | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/academic/xiphos/README b/academic/xiphos/README index e430c8f0fe1be..34979df34509c 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 3471341e366b9..dbeb9cfda1227 100644 --- a/academic/xiphos/xiphos.SlackBuild +++ b/academic/xiphos/xiphos.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xiphos -# Copyright 2015-2023 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 @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xiphos VERSION=${VERSION:-4.2.1} -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,6 +85,10 @@ 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.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 cmake -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ |