void-packages/srcpkgs/pdfpc/template
oreo639 da0ce6bedd 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
2024-04-09 15:36:16 -07:00

21 lines
815 B
Bash

# Template file for 'pdfpc'
pkgname=pdfpc
version=4.6.0
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
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.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
}