ATTN Porters: Freetype2 detection now uses pkg-config

Bastien Bouclet <[email protected]> Sat, 4 Aug 2018 11:02:28 +0200
Newsgroups gmane.games.devel.scummvm
Message-ID <CAAPuaS0A+HCsrMWLB0s07a25vK5yUwTQfBsmNBOmGzhmQUFgsQ@mail.gmail.com>
Hi all,

With their 2.9.1 release, freetype stopped installing the freetype-config
script by default. Applications are now recommended to use the pkg-config
tool to get the library compilation flags.

ScummVM has been updated to use pkg-config by default to detect freetype,
with a fallback to the old freetype-config script if pkg-config is not
installed or if freetype is not found through pkg-config.

However, special care is required when cross-compiling. pkg-config by
default uses the package description files (.pc files) from the host
system. The PKG_CONFIG_LIBDIR environment variable must be set to the path
of the target system toolchain .pc files directory for pkg-config to use
them.

Maybe you'll want to add a line looking like this to your toolchain
environment setup script:
export PKG_CONFIG_LIBDIR=/opt/toolchains/ps3dev/lib/pkgconfig

This configuration has already been applied to the buildbot server
toolchains.

Bastien

_______________________________________________
Scummvm-devel mailing list
[email protected]
http://lists.scummvm.org/listinfo/scummvm-devel