Skip to content

Commit

Permalink
poppler: update 22.12.0 bottle.
Browse files Browse the repository at this point in the history
  • Loading branch information
gromgit committed Jan 2, 2023
1 parent 824e5fe commit e6c1fb3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Formula/poppler.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Poppler < Formula
desc "PDF rendering library (based on the xpdf-3.0 code base)"
homepage "https://poppler.freedesktop.org/"
url "https://poppler.freedesktop.org/poppler-22.08.0.tar.xz"
sha256 "b493328721402f25cb7523f9cdc2f7d7c59f45ad999bde75c63c90604db0f20b"
url "https://poppler.freedesktop.org/poppler-22.12.0.tar.xz"
sha256 "d9aa9cacdfbd0f8e98fc2b3bb008e645597ed480685757c3e7bc74b4278d15c0"
license "GPL-2.0-only"
head "https://gitlab.freedesktop.org/poppler/poppler.git", branch: "master"

Expand All @@ -13,8 +13,7 @@ class Poppler < Formula

bottle do
root_url "https://github.com/gromgit/homebrew-core-mojave/releases/download/poppler"
rebuild 1
sha256 cellar: :any_skip_relocation, mojave: "d7c50357223440bf7c52568c8c218f3743245fb8aa67730ba416ff29f3f46e9f"
sha256 mojave: "25855489cfdf1d1daf51e4aed64e9deab545ff70dbc044b5792c536efee1371f"
end

depends_on "cmake" => :build
Expand Down Expand Up @@ -50,10 +49,6 @@ class Poppler < Formula
def install
ENV.cxx11

# Fix for BSD sed. Reported upstream at:
# https://gitlab.freedesktop.org/poppler/poppler/-/issues/1290
inreplace "CMakeLists.txt", "${SED} -i", "\\0 -e"

# removes /usr/include from CFLAGS (not clear why)
ENV["PKG_CONFIG_SYSTEM_INCLUDE_PATH"] = "/usr/include" if MacOS.version < :mojave

Expand Down

0 comments on commit e6c1fb3

Please sign in to comment.