zathura: update to 0.5.6.

This commit is contained in:
lemmi 2024-06-04 22:52:41 +02:00
parent a8c399daba
commit 1cecf4f490
2 changed files with 3 additions and 29 deletions

View File

@ -1,26 +0,0 @@
From d74091a7452846112c0bb11e1412cd2af48ee7cd Mon Sep 17 00:00:00 2001
From: Carlo Buccisano <slashdeipoveri@gmail.com>
Date: Tue, 12 Dec 2023 00:24:20 +0100
Subject: [PATCH] The function file_valid_extension should return True if
plugin is different then NULL, not if it is equal.
---
zathura/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/utils.c b/zathura/utils.c
index 802757f..8f379be 100644
--- a/zathura/utils.c
+++ b/zathura/utils.c
@@ -60,7 +60,7 @@ file_valid_extension(zathura_t* zathura, const char* path)
zathura_plugin_t* plugin = zathura_plugin_manager_get_plugin(zathura->plugins.manager, content_type);
g_free(content_type);
- return plugin == NULL;
+ return plugin != NULL;
}
static void
--
2.43.0

View File

@ -1,7 +1,7 @@
# Template file for 'zathura'
pkgname=zathura
version=0.5.4
revision=2
version=0.5.6
revision=1
build_style=meson
configure_args="-Dsynctex=enabled"
hostmakedepends="pkg-config gettext python3-Sphinx desktop-file-utils
@ -15,7 +15,7 @@ license="Zlib"
homepage="https://pwmt.org/projects/zathura/"
changelog="https://pwmt.org/projects/zathura/changelog/${version}/index.html"
distfiles="https://pwmt.org/projects/zathura/download/zathura-${version}.tar.xz"
checksum=a3037f7aa94d4096bfd97069f62ffcdca9f06431e8663548c1cd6b945c556f32
checksum=b478e35e87cce57d651b4112dc8193c4b744a07f121b7b6465229a8f386f10da
if [ -z "$CROSS_BUILD" ] && [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=enabled"