|
1 | 1 | class Pdfpc < Formula |
2 | 2 | desc "Presenter console with multi-monitor support for PDF files" |
3 | 3 | homepage "https://pdfpc.github.io/" |
| 4 | + url "https://github.com/pdfpc/pdfpc/archive/refs/tags/v4.7.0.tar.gz" |
| 5 | + sha256 "0083a958a2e9288a15c31aabb76b3eadf104672b4e815017f31ffa0d87db02ec" |
4 | 6 | license "GPL-3.0-or-later" |
5 | 7 | head "https://github.com/pdfpc/pdfpc.git", branch: "master" |
6 | 8 |
|
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 | | - |
18 | 9 | bottle do |
19 | 10 | sha256 arm64_sequoia: "2a9add17232af69e9969cc6fa4a4c2546f032334ee2a5c82884ea91f1b8bd6d9" |
20 | 11 | sha256 arm64_sonoma: "37e68010fd59d6d822bc592edfefe7829e6308a3be011e04710e81289e45787a" |
@@ -53,11 +44,6 @@ class Pdfpc < Formula |
53 | 44 | end |
54 | 45 |
|
55 | 46 | 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 | | - |
61 | 47 | system "cmake", "-S", ".", "-B", "build", |
62 | 48 | "-DCMAKE_INSTALL_SYSCONFDIR=#{etc}", |
63 | 49 | "-DMDVIEW=#{OS.linux?}", # Needs webkitgtk |
|
0 commit comments