Skip to content

Commit 6968fed

Browse files
jeroenchenrui333
authored andcommitted
poppler-qt5 24.11.0
1 parent 726f462 commit 6968fed

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

Formula/p/poppler-qt5.rb

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
class PopplerQt5 < Formula
22
desc "PDF rendering library (based on the xpdf-3.0 code base)"
33
homepage "https://poppler.freedesktop.org/"
4-
url "https://poppler.freedesktop.org/poppler-24.04.0.tar.xz"
5-
sha256 "1e804ec565acf7126eb2e9bb3b56422ab2039f7e05863a5dfabdd1ffd1bb77a7"
4+
url "https://poppler.freedesktop.org/poppler-24.11.0.tar.xz"
5+
sha256 "7723d880565211740c13649d24a300257b86ddd7fa2d208187ff7e5cc8dfbd58"
66
license "GPL-2.0-only"
7-
revision 1
87
head "https://gitlab.freedesktop.org/poppler/poppler.git", branch: "master"
98

109
livecheck do
@@ -73,14 +72,16 @@ def install
7372
-DCMAKE_INSTALL_RPATH=#{rpath}
7473
]
7574

76-
system "cmake", ".", *args
77-
system "make", "install"
78-
system "make", "clean"
79-
system "cmake", ".", "-DBUILD_SHARED_LIBS=OFF", *args
80-
system "make"
81-
lib.install "libpoppler.a"
82-
lib.install "cpp/libpoppler-cpp.a"
83-
lib.install "glib/libpoppler-glib.a"
75+
system "cmake", "-S", ".", "-B", "build_shared", *args
76+
system "cmake", "--build", "build_shared"
77+
system "cmake", "--install", "build_shared"
78+
79+
system "cmake", "-S", ".", "-B", "build_static", *args, "-DBUILD_SHARED_LIBS=OFF"
80+
system "cmake", "--build", "build_static"
81+
lib.install "build_static/libpoppler.a"
82+
lib.install "build_static/cpp/libpoppler-cpp.a"
83+
lib.install "build_static/glib/libpoppler-glib.a"
84+
8485
resource("font-data").stage do
8586
system "make", "install", "prefix=#{prefix}"
8687
end

0 commit comments

Comments
 (0)