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>
master
Bo Anderson 2021-03-03 01:15:54 +00:00 committed by BrewTestBot
parent 228692c841
commit eeb333044a
1 changed files with 5 additions and 4 deletions

View File

@ -4,6 +4,7 @@ class Poppler < Formula
url "https://poppler.freedesktop.org/poppler-21.03.0.tar.xz" url "https://poppler.freedesktop.org/poppler-21.03.0.tar.xz"
sha256 "fd51ead4aac1d2f4684fa6e7b0ec06f0233ed21667e720a4e817e4455dd63d27" sha256 "fd51ead4aac1d2f4684fa6e7b0ec06f0233ed21667e720a4e817e4455dd63d27"
license "GPL-2.0-only" license "GPL-2.0-only"
revision 1
head "https://gitlab.freedesktop.org/poppler/poppler.git" head "https://gitlab.freedesktop.org/poppler/poppler.git"
livecheck do livecheck do
@ -32,7 +33,7 @@ class Poppler < Formula
depends_on "little-cms2" depends_on "little-cms2"
depends_on "nss" depends_on "nss"
depends_on "openjpeg" depends_on "openjpeg"
depends_on "qt" depends_on "qt@5"
uses_from_macos "gperf" => :build uses_from_macos "gperf" => :build
uses_from_macos "curl" uses_from_macos "curl"
@ -52,8 +53,8 @@ class Poppler < Formula
-DBUILD_GTK_TESTS=OFF -DBUILD_GTK_TESTS=OFF
-DENABLE_CMS=lcms2 -DENABLE_CMS=lcms2
-DENABLE_GLIB=ON -DENABLE_GLIB=ON
-DENABLE_QT5=OFF -DENABLE_QT5=ON
-DENABLE_QT6=ON -DENABLE_QT6=OFF
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
-DWITH_GObjectIntrospection=ON -DWITH_GObjectIntrospection=ON
] ]
@ -74,7 +75,7 @@ class Poppler < Formula
[ [
"#{lib}/libpoppler-cpp.dylib", "#{lib}/libpoppler-cpp.dylib",
"#{lib}/libpoppler-glib.dylib", "#{lib}/libpoppler-glib.dylib",
"#{lib}/libpoppler-qt6.dylib", "#{lib}/libpoppler-qt5.dylib",
*Dir["#{bin}/*"], *Dir["#{bin}/*"],
].each do |f| ].each do |f|
macho = MachO.open(f) macho = MachO.open(f)