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)
This commit is contained in:
mew14930xvi 2024-12-19 20:19:16 +01:00 committed by Zsolt Udvari
parent 2fd6a62607
commit b09a4503bf
2 changed files with 7 additions and 10 deletions

View file

@ -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>

View file

@ -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