aboutsummaryrefslogtreecommitdiff
path: root/system/yelp
diff options
context:
space:
mode:
Diffstat (limited to 'system/yelp')
-rw-r--r--system/yelp/README6
-rw-r--r--system/yelp/yelp.SlackBuild48
-rw-r--r--system/yelp/yelp.info8
3 files changed, 34 insertions, 28 deletions
diff --git a/system/yelp/README b/system/yelp/README
index ea91a18c09..e80033b91f 100644
--- a/system/yelp/README
+++ b/system/yelp/README
@@ -2,7 +2,7 @@ yelp allows you to view documentation regarding GNOME and other
components through a variety of formats
Conflict warning: webkit2gtk and webkit2gtk4.1 conflict with each
-other. If this is build with webkit2gtk4.1 instead of webkit2gtk,
-any software that uses it and it's deps must also be built with
-webkit2gtk4.1/soup3 instead of webkit2gtk/soup2
+other. If this is build with webkit2gtk4.1 instead of webkit2gtk
+(default), any software that uses it and it's deps must also be
+built with webkit2gtk4.1/soup3 instead of webkit2gtk/soup2.
diff --git a/system/yelp/yelp.SlackBuild b/system/yelp/yelp.SlackBuild
index 9fa5cadab7..f1bdedeea0 100644
--- a/system/yelp/yelp.SlackBuild
+++ b/system/yelp/yelp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for yelp
-# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yelp
-VERSION=${VERSION:-42.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-42.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,27 +76,33 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-WKIT2="4-0" #handle either webkit2gtk or webkit2gtk4.1
+WKIT2="" #handle either webkit2gtk or webkit2gtk4.1
if $(pkg-config --exists webkit2gtk-4.1); then
- WKIT2="4-1"
+ WKIT2="webkit2gtk-4-0=false"
+elif $(pkg-config --exists webkit2gtk-4.0); then
+ WKIT2="webkit2gtk-4-0=true"
fi
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --disable-schemas-compile \
- --with-webkit2gtk-$WKIT2 \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -D$WKIT2 \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/system/yelp/yelp.info b/system/yelp/yelp.info
index 872a5ae246..752f410131 100644
--- a/system/yelp/yelp.info
+++ b/system/yelp/yelp.info
@@ -1,10 +1,10 @@
PRGNAM="yelp"
-VERSION="42.2"
+VERSION="42.3"
HOMEPAGE="http://projects.gnome.org/yelp/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/yelp/42/yelp-42.2.tar.xz"
-MD5SUM="3792122c4ab90725716cd88e9274f0f6"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/yelp/42/yelp-42.3.tar.xz"
+MD5SUM="55f5edc7e1d52797a8fba23540fa72c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="yelp-tools webkit2gtk libhandy"
+REQUIRES="yelp-tools webkit2gtk libhandy python3-meson-opt"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"