git: 204145f5e523 - main - graphics/zathura: update to 0.5.8

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Tue, 27 Aug 2024 10:58:51 UTC
The branch main has been updated by uzsolt:

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

commit 204145f5e52345cf9be1927e9a462d19599d42d2
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-08-27 10:56:48 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-08-27 10:58:32 +0000

    graphics/zathura: update to 0.5.8
    
    Disable landlock-linuxism.
    Fix fish completion directory.
    
    Changelog: https://pwmt.org/projects/zathura/changelog/0.5.8/index.html
    
    PR:             280613
    Approved by:    maintainer timeout (3+ weeks)
---
 graphics/zathura/Makefile                     |  3 ++-
 graphics/zathura/distinfo                     |  6 +++---
 graphics/zathura/files/patch-data_meson.build | 11 +++++++++++
 graphics/zathura/pkg-plist                    |  2 +-
 4 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 2694c8eacd79..0043aa269283 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	zathura
-DISTVERSION=	0.5.6
+DISTVERSION=	0.5.8
 CATEGORIES=	graphics print
 MASTER_SITES=	https://pwmt.org/projects/zathura/download/
 
@@ -18,6 +18,7 @@ USES=		compiler:c11 desktop-file-utils gettext-tools:build gnome meson \
 USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30
 MESON_ARGS=	-Dmanpages=disabled \
 		-Dseccomp=disabled \
+		-Dlandlock=disabled \
 		-Dtests=disabled
 
 OPTIONS_DEFINE=		MANPAGES SYNCTEX
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index 5c78c3960450..384ea6734f3e 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715150364
-SHA256 (zathura-0.5.6.tar.xz) = b478e35e87cce57d651b4112dc8193c4b744a07f121b7b6465229a8f386f10da
-SIZE (zathura-0.5.6.tar.xz) = 169744
+TIMESTAMP = 1722779768
+SHA256 (zathura-0.5.8.tar.xz) = f2bf8dcb2edff10a8e11f1f981bf8f6a42b997b4f851ab00bfd33a706ad43af8
+SIZE (zathura-0.5.8.tar.xz) = 172524
diff --git a/graphics/zathura/files/patch-data_meson.build b/graphics/zathura/files/patch-data_meson.build
new file mode 100644
index 000000000000..dc921616fa65
--- /dev/null
+++ b/graphics/zathura/files/patch-data_meson.build
@@ -0,0 +1,11 @@
+--- data/meson.build.orig	2024-08-04 14:04:57 UTC
++++ data/meson.build
+@@ -81,7 +81,7 @@ else
+ if fish_comp.found()
+   fish_compdir = fish_comp.get_variable(pkgconfig: 'completionsdir')
+ else
+-  fish_compdir = join_paths(datadir, 'fish', 'vendor_completions.d')
++  fish_compdir = join_paths(datadir, 'fish', 'completions')
+ endif
+ 
+ install_data(bash_completion, install_dir: bash_compdir)
diff --git a/graphics/zathura/pkg-plist b/graphics/zathura/pkg-plist
index 378d1efd74f6..71d20bc03aad 100644
--- a/graphics/zathura/pkg-plist
+++ b/graphics/zathura/pkg-plist
@@ -12,7 +12,7 @@ libdata/pkgconfig/zathura.pc
 share/applications/org.pwmt.zathura.desktop
 share/bash-completion/completions/zathura
 share/dbus-1/interfaces/org.pwmt.zathura.xml
-share/fish/vendor_completions.d/zathura.fish
+share/fish/completions/zathura.fish
 share/icons/hicolor/128x128/apps/org.pwmt.zathura.png
 share/icons/hicolor/16x16/apps/org.pwmt.zathura.png
 share/icons/hicolor/256x256/apps/org.pwmt.zathura.png