Okular install via Homebrew is broken

I use a Macbook Air M2 with MacOS 15 Sequoia. I tried installing Okular via Homebrew. It generated the following error:

Last 15 lines from /Users/<user>/Library/Logs/Homebrew/kf5-kconfigwidgets/01.cmake:
  CMake did not find one.

  Could not find a package configuration file provided by "KF5I18n"
  (requested version 5.111.0) with any of the following names:

    KF5I18nConfig.cmake
    kf5i18n-config.cmake

  Add the installation prefix of "KF5I18n" to CMAKE_PREFIX_PATH or set
  "KF5I18n_DIR" to a directory containing one of the above files.  If
  "KF5I18n" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!

If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
  kde-mac/kde

I’m not quite the techie, and am not sure what to do with the error message. For one, the prefix directory in the 01.cmake doesn’t even exist. Should I create it on my own? How do I fill it? I’m quite confused.

This isn’t under KDE’s control, please report to HomeBrew. I’m not sure where their bug reports go, but you can open a discussion at Homebrew · Discussions · GitHub.

Thanks, will check out. As one last request, could you help me make sense of this?

If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
  kde-mac/kde

Making sense of this might tell me where I’m supposed to ask. But honestly, I am not quite sure.

Maybe this? Packaging / Homebrew Formulas for KDE · GitLab
If yes, it would actually be under KDE control

@yeetcode this doesn’t make sense to me either. There’s no KDE repo in the Homebrew GitHub namespace, nor is there a kde-mac/kde repo on GitHub.

@jbb never knew about this repo until now. However, it only seems to be KDE Connect being updated. The rest is over a year old.