From eeb333044a1d1522e457ffd328a3f86e7b0e0157 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Wed, 3 Mar 2021 01:15:54 +0000 Subject: [PATCH] poppler: use qt@5 for now Need to update the whole pdal dependency tree at the same time. Closes #72357. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/poppler.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Formula/poppler.rb b/Formula/poppler.rb index af375150026..729b8e9624d 100644 --- a/Formula/poppler.rb +++ b/Formula/poppler.rb @@ -4,6 +4,7 @@ class Poppler < Formula url "https://poppler.freedesktop.org/poppler-21.03.0.tar.xz" sha256 "fd51ead4aac1d2f4684fa6e7b0ec06f0233ed21667e720a4e817e4455dd63d27" license "GPL-2.0-only" + revision 1 head "https://gitlab.freedesktop.org/poppler/poppler.git" livecheck do @@ -32,7 +33,7 @@ class Poppler < Formula depends_on "little-cms2" depends_on "nss" depends_on "openjpeg" - depends_on "qt" + depends_on "qt@5" uses_from_macos "gperf" => :build uses_from_macos "curl" @@ -52,8 +53,8 @@ class Poppler < Formula -DBUILD_GTK_TESTS=OFF -DENABLE_CMS=lcms2 -DENABLE_GLIB=ON - -DENABLE_QT5=OFF - -DENABLE_QT6=ON + -DENABLE_QT5=ON + -DENABLE_QT6=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DWITH_GObjectIntrospection=ON ] @@ -74,7 +75,7 @@ class Poppler < Formula [ "#{lib}/libpoppler-cpp.dylib", "#{lib}/libpoppler-glib.dylib", - "#{lib}/libpoppler-qt6.dylib", + "#{lib}/libpoppler-qt5.dylib", *Dir["#{bin}/*"], ].each do |f| macho = MachO.open(f)