I seem to be encountering an issue building this package. I got the following error:
CMake Error at /lib/cmake/harfbuzz/harfbuzz-config.cmake:7 (message):
File or directory //include/harfbuzz referenced by variable
HARFBUZZ_INCLUDE_DIR does not exist !
Call Stack (most recent call first):
/lib/cmake/harfbuzz/harfbuzz-config.cmake:22 (set_and_check)
Meta/CMake/check_for_dependencies.cmake:15 (find_package)
CMakeLists.txt:55 (include)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
This seems to be related to the new dependency checking scripts.
Edit: This can be fixed by adding: export CMAKE_PREFIX_PATH=/usr:$CMAKE_PREFIX_PATH in the build function before we call CMAKE.
If we really wanted to go one step further we could use pacman before exporting the variable to find the harfbuzz directory, that way we can actually customize the /usr portion of the variable incase harfbuzz is installed somewhere else.
An example could be something like this for dynamically fetching that directory:
HARFBUZZ_PREFIX=$(pacman -Ql harfbuzz | head -1 | awk '{print $2}')
export CMAKE_PREFIX_PATH="${HARFBUZZ_PREFIX}:$CMAKE_PREFIX_PATH"
Pinned Comments
CxByte commented on 2025-07-10 01:47 (UTC)
A note since this package now builds with the system libs: skia has to be installed and available through pkg-conf;
skia-staticprovides the specific version (and a pkg-conf file) needed by this build.