pdfpc: disable REST server

Build with libwebkit2gtk41

REST server functionality requires libsoup2, however libsoup2 cannot be loaded
in to the same process as libsoup3.

One of the maintainers reccomended disabling REST and building presentation
notes with webkit2gtk-4.1, stating that as far as he knows, he is the only one
using the REST server functionality.

https://github.com/pdfpc/pdfpc/issues/671
This commit is contained in:
oreo639 2024-02-26 16:29:40 -08:00 committed by oreo639
parent ce0387313d
commit da0ce6bedd
1 changed files with 8 additions and 3 deletions

View File

@ -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 <info@nulltime.net>"
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
}