From f00c2e41dd9a59a9a3b75f6efd9872485b512b5e Mon Sep 17 00:00:00 2001 From: oreo639 Date: Mon, 26 Feb 2024 16:29:40 -0800 Subject: [PATCH] pdfpc: disable REST server Build with libwebkit2gtk41 REST functionality cannot be used with libwebkit2gtk41 since it uses libsoup2. --- srcpkgs/pdfpc/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pdfpc/template b/srcpkgs/pdfpc/template index 450a9f300730ea..c5eff73cd6fabd 100644 --- a/srcpkgs/pdfpc/template +++ b/srcpkgs/pdfpc/template @@ -1,16 +1,21 @@ # Template file for 'pdfpc' pkgname=pdfpc version=4.6.0 -revision=1 +revision=2 build_style=cmake +configure_args="-DREST=OFF" hostmakedepends="pkg-config vala libgee08-devel" makedepends="gst-plugins-base1-devel gtk+3-devel libgee08-devel libzstd-devel poppler-glib-devel json-glib-devel vala-devel - webkit2gtk-devel discount-devel qrencode-devel" + libwebkit2gtk41-devel discount-devel" short_desc="Presenter console with multi-monitor support for PDF files" maintainer="Aaron Marcher " license="GPL-2.0-or-later" homepage="https://pdfpc.github.io/" -changelog="https://raw.githubusercontent.com/pdfpc/pdfpc/master/CHANGELOG.txt" +changelog="https://raw.githubusercontent.com/pdfpc/pdfpc/master/CHANGELOG.rst" distfiles="https://github.com/pdfpc/pdfpc/archive/v${version}.tar.gz" checksum=3b1a393f36a1b0ddc29a3d5111d8707f25fb2dd2d93b0401ff1c66fa95f50294 + +post_patch() { + vsed -e 's/webkit2gtk-4.0/webkit2gtk-4.1/' -i src/CMakeLists.txt +}