git: 0d4c9fcb3d6d - main - math/qalculate-gtk: Update to 5.3.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Tue, 15 Oct 2024 15:42:44 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d4c9fcb3d6d342c6e7c241e24cc8afd51613e1d

commit 0d4c9fcb3d6d342c6e7c241e24cc8afd51613e1d
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-10-15 06:41:33 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-10-15 15:42:32 +0000

    math/qalculate-gtk: Update to 5.3.0
    
    Add WEBKIT option to use WebKitGTK for display of the user manual in the
    application instead opening it in an external browser. Enabled by default
    since it's a cleaner way of displaying the docs and webkit2-gtk3 is
    needed in the dependency chain for gnuplot anyways.
    
    https://github.com/Qalculate/qalculate-gtk/releases/tag/v5.3.0
---
 math/qalculate-gtk/Makefile | 13 +++++++++----
 math/qalculate-gtk/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/math/qalculate-gtk/Makefile b/math/qalculate-gtk/Makefile
index 3dd05569d077..48723d3551f6 100644
--- a/math/qalculate-gtk/Makefile
+++ b/math/qalculate-gtk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qalculate-gtk
-PORTVERSION=	5.2.0
+PORTVERSION=	5.3.0
 CATEGORIES=	math
 MASTER_SITES=	https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/
 
@@ -19,10 +19,15 @@ USES=		compiler:c++11-lang gettext gmake gnome \
 USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool libxml2
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	yes
+OPTIONS_DEFINE=		NLS WEBKIT
+OPTIONS_DEFAULT=	WEBKIT
+OPTIONS_SUB=		yes
+
+WEBKIT_DESC=		Use WebKitGTK for display of the user manual
+WEBKIT_LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
+			libwebkit2gtk-4.0.so:www/webkit2-gtk3
+WEBKIT_CONFIGURE_ON=	--with-webkitgtk=4.0
 
 post-patch-NLS-off:
 	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in
diff --git a/math/qalculate-gtk/distinfo b/math/qalculate-gtk/distinfo
index 278d272b53cc..78dcd9a40e7f 100644
--- a/math/qalculate-gtk/distinfo
+++ b/math/qalculate-gtk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1719897754
-SHA256 (qalculate-gtk-5.2.0.tar.gz) = 1a917fe5d5ca03e21a97308bac31f013d5459edd090ba20717eaf56259270dbd
-SIZE (qalculate-gtk-5.2.0.tar.gz) = 2902354
+TIMESTAMP = 1728966487
+SHA256 (qalculate-gtk-5.3.0.tar.gz) = 2cbeeaa6c820644a08427c7dbf1273bf55a1eb28650ecf425e3a420612d79c9f
+SIZE (qalculate-gtk-5.3.0.tar.gz) = 2963963