git: eb1c9e2eec56 - main - graphics/zathura-djvu: Update to 0.2.10

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 06 Sep 2024 08:23:38 UTC
The branch main has been updated by fernape:

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

commit eb1c9e2eec564d862f372123a49e36247dfa5fa8
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-08-23 07:58:29 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-09-06 08:22:30 +0000

    graphics/zathura-djvu: Update to 0.2.10
    
    ChangeLog: https://pwmt.org/projects/zathura-djvu/changelog/0.2.10/index.html
    
    Implement basic selection rectangle
    
    PR:             280964
    Reported by:    mew14930xvi@inbox.lv
    Approved by:    alexander.4mail@gmail.com (maintainer timeout > 2 weeks)
---
 graphics/zathura-djvu/Makefile | 23 ++++++++++-------------
 graphics/zathura-djvu/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/graphics/zathura-djvu/Makefile b/graphics/zathura-djvu/Makefile
index 7cdc07664b92..95bef96e69ad 100644
--- a/graphics/zathura-djvu/Makefile
+++ b/graphics/zathura-djvu/Makefile
@@ -1,31 +1,28 @@
 PORTNAME=	zathura-djvu
-DISTVERSION=	0.2.9
-PORTREVISION=	6
+DISTVERSION=	0.2.10
 CATEGORIES=	graphics
-MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
+MASTER_SITES=	https://pwmt.org/projects/zathura-djvu/download/
 
 MAINTAINER=	alexander.4mail@gmail.com
 COMMENT=	DjVu support for zathura
-WWW=		https://pwmt.org/projects/zathura/plugins/
+WWW=		https://pwmt.org/projects/zathura-djvu/
 
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	appstream-util:devel/appstream-glib \
+		zathura:graphics/zathura
 LIB_DEPENDS=	libdjvulibre.so:graphics/djvulibre \
 		libgirara-gtk3.so:x11-toolkits/girara
-BUILD_DEPENDS=	zathura:graphics/zathura
 RUN_DEPENDS=	zathura:graphics/zathura
 
-USES=		compiler:c11 desktop-file-utils gnome meson ninja pkgconfig
+USES=		compiler:c11 desktop-file-utils gnome meson ninja pkgconfig \
+		tar:xz
 
-USE_GNOME=	glib20 gtk30
+USE_GNOME=	cairo glib20
 
 PLIST_FILES=	lib/zathura/libdjvu.so \
-		share/appdata/org.pwmt.zathura-djvu.metainfo.xml \
-		share/applications/org.pwmt.zathura-djvu.desktop
-
-pre-configure:
-	@${REINPLACE_CMD} "s:join_paths(datadir, 'metainfo'):join_paths(datadir, 'appdata'):" \
-		${WRKSRC}/meson.build
+		share/applications/org.pwmt.zathura-djvu.desktop \
+		share/metainfo/org.pwmt.zathura-djvu.metainfo.xml
 
 .include <bsd.port.mk>
diff --git a/graphics/zathura-djvu/distinfo b/graphics/zathura-djvu/distinfo
index 0dd19f59deae..f1abbba4f279 100644
--- a/graphics/zathura-djvu/distinfo
+++ b/graphics/zathura-djvu/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594840425
-SHA256 (zathura-djvu-0.2.9.tar.gz) = 84fae6da42e7cdc2e49ed4cd4f0315ac09716e95358b9c7487803a2cff47dbca
-SIZE (zathura-djvu-0.2.9.tar.gz) = 9885
+TIMESTAMP = 1724195438
+SHA256 (zathura-djvu-0.2.10.tar.xz) = 32e9d89929a76cd7d3fcbaf79f441868bdabedf17317d1d1843faa1f19338d95
+SIZE (zathura-djvu-0.2.10.tar.xz) = 9408