git: de230a17731a - main - graphics/zathura: Update to 0.5.4

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 06:21:13 UTC
The branch main has been updated by fernape:

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

commit de230a17731a69a7e13172472729f0e002227e5e
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-04-07 17:39:23 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-04-11 06:20:56 +0000

    graphics/zathura: Update to 0.5.4
    
    ChangeLog: https://pwmt.org/news/category/zathura/index.html
    
    PR:             277951
    Reported by:    mew14930xvi@inbox.lv
    Approved by:    quentin.stievenart@gmail.com (maintainer)
---
 graphics/zathura-cb/Makefile          |  2 +-
 graphics/zathura-djvu/Makefile        |  2 +-
 graphics/zathura-pdf-mupdf/Makefile   |  2 +-
 graphics/zathura-pdf-poppler/Makefile |  2 +-
 graphics/zathura-ps/Makefile          |  2 +-
 graphics/zathura/Makefile             | 23 ++++++++++++-----------
 graphics/zathura/distinfo             |  6 +++---
 graphics/zathura/pkg-plist            |  4 ++--
 8 files changed, 22 insertions(+), 21 deletions(-)

diff --git a/graphics/zathura-cb/Makefile b/graphics/zathura-cb/Makefile
index a4d359cc2b7d..9fecb42212f3 100644
--- a/graphics/zathura-cb/Makefile
+++ b/graphics/zathura-cb/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zathura-cb
 DISTVERSION=	0.1.10
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
 
diff --git a/graphics/zathura-djvu/Makefile b/graphics/zathura-djvu/Makefile
index 94e5f8617b3f..293e766fe425 100644
--- a/graphics/zathura-djvu/Makefile
+++ b/graphics/zathura-djvu/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zathura-djvu
 DISTVERSION=	0.2.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
 
diff --git a/graphics/zathura-pdf-mupdf/Makefile b/graphics/zathura-pdf-mupdf/Makefile
index d12fb395dadc..efcbdeebf19b 100644
--- a/graphics/zathura-pdf-mupdf/Makefile
+++ b/graphics/zathura-pdf-mupdf/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zathura-pdf-mupdf
 DISTVERSION=	0.4.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 
 MAINTAINER=	uzsolt@FreeBSD.org
diff --git a/graphics/zathura-pdf-poppler/Makefile b/graphics/zathura-pdf-poppler/Makefile
index 8a04381b60ef..150612c2efb6 100644
--- a/graphics/zathura-pdf-poppler/Makefile
+++ b/graphics/zathura-pdf-poppler/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zathura-pdf-poppler
 DISTVERSION=	0.3.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
 
diff --git a/graphics/zathura-ps/Makefile b/graphics/zathura-ps/Makefile
index da880ba05e12..cab9eec25007 100644
--- a/graphics/zathura-ps/Makefile
+++ b/graphics/zathura-ps/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zathura-ps
 DISTVERSION=	0.2.7
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
 
diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 1568e78c367f..d28107e210a6 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	zathura
-DISTVERSION=	0.5.2
-PORTREVISION=	3
+DISTVERSION=	0.5.4
 CATEGORIES=	graphics print
 MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
 
@@ -11,19 +10,21 @@ WWW=		https://pwmt.org/projects/zathura/
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
-LIB_DEPENDS=	libcairo.so:graphics/cairo \
-		libgirara-gtk3.so:x11-toolkits/girara \
-		libsynctex.so:devel/tex-synctex
+LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib \
+		libgirara-gtk3.so:x11-toolkits/girara
 
 USES=		compiler:c11 desktop-file-utils gettext-tools:build gnome meson \
 		ninja pkgconfig python
-USE_GNOME=	gdkpixbuf2 glib20 gtk30
-MESON_ARGS=	-Dseccomp=disabled -Dtests=disabled
+USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30
+MESON_ARGS=	-Dseccomp=disabled -Dtests=disabled -Dmanpages=disabled
 
-OPTIONS_DEFINE=		SQLITE SYNCTEX
-OPTIONS_DEFAULT=	SQLITE SYNCTEX
+OPTIONS_DEFINE=		MANPAGES SQLITE SYNCTEX
+OPTIONS_DEFAULT=	MANPAGES SQLITE SYNCTEX
+OPTIONS_SUB=		yes
+
+MANPAGES_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
+MANPAGES_MESON_ENABLED=	manpages
 
 SQLITE_USES=		sqlite
 SQLITE_MESON_ENABLED=	sqlite
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index ee3d7becbb82..ed456e4c9860 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671135393
-SHA256 (zathura-0.5.2.tar.gz) = 7be256b94d0e517dca5d3e0d0f7835e9ff4801c5e5df8a5e5e3034b25c7c2e74
-SIZE (zathura-0.5.2.tar.gz) = 208606
+TIMESTAMP = 1711376550
+SHA256 (zathura-0.5.4.tar.gz) = c41e1ff2f30ea5de21b778e082c608649078650df4b5e06999f016f1b127546b
+SIZE (zathura-0.5.4.tar.gz) = 216719
diff --git a/graphics/zathura/pkg-plist b/graphics/zathura/pkg-plist
index 2104284227b6..378d1efd74f6 100644
--- a/graphics/zathura/pkg-plist
+++ b/graphics/zathura/pkg-plist
@@ -7,8 +7,8 @@ include/zathura/plugin-api.h
 include/zathura/types.h
 include/zathura/zathura-version.h
 libdata/pkgconfig/zathura.pc
-share/man/man1/zathura.1.gz
-share/man/man5/zathurarc.5.gz
+%%MANPAGES%%share/man/man1/zathura.1.gz
+%%MANPAGES%%share/man/man5/zathurarc.5.gz
 share/applications/org.pwmt.zathura.desktop
 share/bash-completion/completions/zathura
 share/dbus-1/interfaces/org.pwmt.zathura.xml