git: 8c4c5b2c0448 - main - graphics/zathura-cb: Switch from archivers/libarchive to libarchive from base
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Nov 2025 14:31:00 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8c4c5b2c0448572b6fb71ef5000bf21531d66d1a
commit 8c4c5b2c0448572b6fb71ef5000bf21531d66d1a
Author: mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2025-11-29 14:25:37 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-11-29 14:30:55 +0000
graphics/zathura-cb: Switch from archivers/libarchive to libarchive from base
PR: 291241
---
graphics/zathura-cb/Makefile | 4 ++--
graphics/zathura-cb/files/patch-meson.build | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/graphics/zathura-cb/Makefile b/graphics/zathura-cb/Makefile
index 8825c69d714b..de09b6d0e643 100644
--- a/graphics/zathura-cb/Makefile
+++ b/graphics/zathura-cb/Makefile
@@ -1,5 +1,6 @@
PORTNAME= zathura-cb
DISTVERSION= 0.1.12
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://pwmt.org/projects/zathura-cb/download/
@@ -15,8 +16,7 @@ BUILD_DEPENDS= appstreamcli:devel/appstream \
LIB_DEPENDS= libgirara-gtk3.so:x11-toolkits/girara
RUN_DEPENDS= zathura:graphics/zathura
-USES= compiler:c17 desktop-file-utils gnome libarchive meson \
- pkgconfig tar:xz
+USES= compiler:c17 desktop-file-utils gnome meson pkgconfig tar:xz
USE_GNOME= glib20 gtk30
PLIST_FILES= lib/zathura/libcb.so \
diff --git a/graphics/zathura-cb/files/patch-meson.build b/graphics/zathura-cb/files/patch-meson.build
new file mode 100644
index 000000000000..80473bacb482
--- /dev/null
+++ b/graphics/zathura-cb/files/patch-meson.build
@@ -0,0 +1,21 @@
+--- meson.build.orig 2025-10-28 17:47:54 UTC
++++ meson.build
+@@ -18,9 +18,8 @@ cairo = dependency('cairo')
+ girara = dependency('girara-gtk3')
+ glib = dependency('glib-2.0')
+ cairo = dependency('cairo')
+-libarchive = dependency('libarchive')
+
+-build_dependencies = [zathura, girara, glib, cairo, libarchive]
++build_dependencies = [zathura, girara, glib, cairo]
+
+ if get_option('plugindir') == ''
+ plugindir = zathura.get_variable(pkgconfig: 'plugindir')
+@@ -60,6 +59,7 @@ cb = shared_module('cb',
+ sources,
+ dependencies: build_dependencies,
+ c_args: defines + flags,
++ link_args: ['-larchive'],
+ install: true,
+ install_dir: plugindir
+ )