academic/xiphos: Fix build on current.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-12-03 18:10:45 +07:00
parent 62525afa60
commit 9c13a57c83
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 13 additions and 3 deletions

View File

@ -0,0 +1,8 @@
--- cmake/config.h.cmake.in-orig 2021-04-15 19:28:57.468140150 +0300
+++ cmake/config.h.cmake.in 2021-04-15 20:45:57.816551253 +0300
@@ -65,3 +65,5 @@
#endif
+
+#define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_2_26)

View File

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xiphos
VERSION=${VERSION:-4.2.1}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -89,7 +89,9 @@ export PATH=/opt/cmake-202x/bin:$PATH
# patch navbar_versekey.gtkbuilder to work with gtk shipped with slackware 14.2
# patch won't be needed for slackware 15
sed -i "s/3.20/3.14/g" ui/navbar_versekey.gtkbuilder
#sed -i "s/3.20/3.14/g" ui/navbar_versekey.gtkbuilder
patch -p0 < $CWD/xiphos-glibc.patch
mkdir -p build
cd build

View File

@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/crosswire/xiphos/releases/download/4.2.1/xiphos-4.2
MD5SUM="77d8a99c063433bea3006954710b2fd5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="sword webkitgtk3 biblesync rarian gtkhtml libminizip appstream-glib yelp"
REQUIRES="sword webkit2gtk biblesync rarian gtkhtml libminizip appstream-glib yelp"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"