Skip to content

Commit c598e26

Browse files
committed
pdfpc 4.7.0
1 parent 2913e84 commit c598e26

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

Formula/p/pdfpc.rb

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
class Pdfpc < Formula
22
desc "Presenter console with multi-monitor support for PDF files"
33
homepage "https://pdfpc.github.io/"
4+
url "https://github.com/pdfpc/pdfpc/archive/refs/tags/v4.7.0.tar.gz"
5+
sha256 "0083a958a2e9288a15c31aabb76b3eadf104672b4e815017f31ffa0d87db02ec"
46
license "GPL-3.0-or-later"
57
head "https://github.com/pdfpc/pdfpc.git", branch: "master"
68

7-
stable do
8-
url "https://github.com/pdfpc/pdfpc/archive/refs/tags/v4.6.0.tar.gz"
9-
sha256 "3b1a393f36a1b0ddc29a3d5111d8707f25fb2dd2d93b0401ff1c66fa95f50294"
10-
11-
# Backport fix for Vala 0.56.7+. Remove in the next release.
12-
patch do
13-
url "https://github.com/pdfpc/pdfpc/commit/18beaecbbcc066e0d4c889b3aa3ecaa7351f7768.patch?full_index=1"
14-
sha256 "894a0cca9525a045f4bd28b54963bd0ad8b1752907f1ad4d8b4f7d9fdd4880c3"
15-
end
16-
end
17-
189
bottle do
1910
sha256 arm64_sequoia: "2a9add17232af69e9969cc6fa4a4c2546f032334ee2a5c82884ea91f1b8bd6d9"
2011
sha256 arm64_sonoma: "37e68010fd59d6d822bc592edfefe7829e6308a3be011e04710e81289e45787a"
@@ -53,11 +44,6 @@ class Pdfpc < Formula
5344
end
5445

5546
def install
56-
# Upstream currently uses webkit2gtk-4.0 (API for GTK 3 and libsoup 2)
57-
# but we only provide webkit2gtk-4.1 (API for GTK 3 and libsoup 3).
58-
# Issue ref: https://github.com/pdfpc/pdfpc/issues/671
59-
inreplace "src/CMakeLists.txt", "webkit2gtk-4.0", "webkit2gtk-4.1" unless build.head?
60-
6147
system "cmake", "-S", ".", "-B", "build",
6248
"-DCMAKE_INSTALL_SYSCONFDIR=#{etc}",
6349
"-DMDVIEW=#{OS.linux?}", # Needs webkitgtk

0 commit comments

Comments
 (0)