poppler: update to 0.63.0
build both shared and static libs
This commit is contained in:
parent
b5e4203086
commit
1002f6f9e6
1 changed files with 8 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
class Poppler < Formula
|
class Poppler < Formula
|
||||||
desc "PDF rendering library (based on the xpdf-3.0 code base)"
|
desc "PDF rendering library (based on the xpdf-3.0 code base)"
|
||||||
homepage "https://poppler.freedesktop.org/"
|
homepage "https://poppler.freedesktop.org/"
|
||||||
url "https://poppler.freedesktop.org/poppler-0.62.0.tar.xz"
|
url "https://poppler.freedesktop.org/poppler-0.63.0.tar.xz"
|
||||||
sha256 "5b9a73dfd4d6f61d165ada1e4f0abd2d420494bf9d0b1c15d0db3f7b83a729c6"
|
sha256 "27cc8addafc791e1a26ce6acc2b490926ea73a4f89196dd8a7742cff7cf8a111"
|
||||||
head "https://anongit.freedesktop.org/git/poppler/poppler.git"
|
head "https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
|
@ -70,6 +70,12 @@ class Poppler < Formula
|
||||||
|
|
||||||
system "cmake", ".", *args
|
system "cmake", ".", *args
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
|
system "make", "clean"
|
||||||
|
system "cmake", ".", "-DBUILD_SHARED_LIBS=OFF", *args
|
||||||
|
system "make"
|
||||||
|
lib.install "libpoppler.a"
|
||||||
|
lib.install "cpp/libpoppler-cpp.a"
|
||||||
|
lib.install "glib/libpoppler-glib.a"
|
||||||
resource("font-data").stage do
|
resource("font-data").stage do
|
||||||
system "make", "install", "prefix=#{prefix}"
|
system "make", "install", "prefix=#{prefix}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue