git: b09a4503bfad - main - graphics/zathura: Update to 0.5.11

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Thu, 19 Dec 2024 19:22:39 UTC
The branch main has been updated by uzsolt:

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

commit b09a4503bfad63c16ccbc46bc2e4310b281e5f52
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-12-19 19:19:16 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-12-19 19:19:16 +0000

    graphics/zathura: Update to 0.5.11
    
    Switch to compiler:c17.
    Remove MESON_ARGS=-Dmanpages=disabled.
    
    Changelogs:
    https://pwmt.org/projects/zathura/changelog/0.5.9/index.html
    https://pwmt.org/projects/zathura/changelog/0.5.10/index.html
    https://pwmt.org/projects/zathura/changelog/0.5.11/index.html
    
    PR:             283330
    Approved by:    quentin.stievenart <quentin.stievenart@gmail.com> (maintainer)
---
 graphics/zathura/Makefile | 11 ++++-------
 graphics/zathura/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 71bf100feac5..619f39bd68a4 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	zathura
-DISTVERSION=	0.5.8
-PORTREVISION=	1
+DISTVERSION=	0.5.11
 CATEGORIES=	graphics print
 MASTER_SITES=	https://pwmt.org/projects/zathura/download/
 
@@ -14,11 +13,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libgirara-gtk3.so:x11-toolkits/girara \
 		libjson-glib-1.0.so:devel/json-glib
 
-USES=		compiler:c11 desktop-file-utils gettext-tools:build gnome meson \
-		ninja pkgconfig python sqlite tar:xz
-USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30
+USES=		compiler:c17 gettext gnome meson ninja pkgconfig sqlite tar:xz
+USE_GNOME=	glib20 gtk30
 MESON_ARGS=	-Dlandlock=disabled \
-		-Dmanpages=disabled \
 		-Dseccomp=disabled \
 		-Dtests=disabled
 
@@ -30,6 +27,7 @@ SYNCTEX_DESC=	Direct and reverse synchronisation support with SyncTeX
 
 MANPAGES_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR}
+MANPAGES_USES=		python
 MANPAGES_MESON_ENABLED=	manpages
 
 SYNCTEX_BUILD_DEPENDS=	tex-synctex>=1.19.0:devel/tex-synctex
@@ -37,7 +35,6 @@ SYNCTEX_RUN_DEPENDS=	${SYNCTEX_BUILD_DEPENDS}
 SYNCTEX_MESON_ENABLED=	synctex
 
 post-patch:
-	@${REINPLACE_CMD} -e '/GLOBAL_RC/ s|/etc|${PREFIX}/etc|' ${WRKSRC}/zathura/config.c
 	@${REINPLACE_CMD} -e 's|^/etc|${PREFIX}/etc|' ${WRKSRC}/doc/man/zathurarc.5.rst
 
 .include <bsd.port.mk>
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index 384ea6734f3e..212920c6447d 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722779768
-SHA256 (zathura-0.5.8.tar.xz) = f2bf8dcb2edff10a8e11f1f981bf8f6a42b997b4f851ab00bfd33a706ad43af8
-SIZE (zathura-0.5.8.tar.xz) = 172524
+TIMESTAMP = 1734525804
+SHA256 (zathura-0.5.11.tar.xz) = 54458a9998af0fb8faef2e934a81127bbe4b790c86dcd2c8b8f32365f3d1b53c
+SIZE (zathura-0.5.11.tar.xz) = 167820