Added the freetype2 dependency needed for SDL_Pango...

...and changed the dependency to the pango with ft2 support.
This commit is contained in:
Mark de Wever 2008-07-06 14:56:38 +00:00
parent 1855ca47fc
commit aee9e58b8e
4 changed files with 14 additions and 3 deletions

View file

@ -12,6 +12,7 @@ You'll need to have these libraries (with equivalent devel versions) to build We
boost_iostreams >= 1.33.0
boost_regex >= 1.33.0
libfreetype2
libpango >= 1.14.8
libsdl >= 1.2.7
libsdl-image >= 1.2 (with png support)
@ -34,6 +35,7 @@ one build system will be chosen as the official build system.
SDL* libraries can be found at: http://www.libsdl.org
libfreetype can be found at: http://www.freetype.org
Python can be found at: http://www.python.org
Pango can be found at: http://www.pango.org/
The boost libraries can be found at: http://www.boost.org
You will also need to have a working installation of GNU gettext to build the

View file

@ -10,7 +10,7 @@ is making sure that spelling/grammer/whatever is usable and that you are using
The release team should empty this file after each release.
Added pango and freetype2 dependencies.

View file

@ -49,6 +49,7 @@ Version 1.5.1+svn:
stable between little mouse's moves.
* Added the pango dependency
* Various code cleanups
* added the freetype2 dependency
* Python AI
* get_variable now allows a default value to be passed to the call. If the
key is not found, the default value is returned. This is fully backward

View file

@ -940,10 +940,18 @@ AM_CONDITIONAL([BOOST_TEST_DYN_LINK], [test x"$boost_test_dyn_link" = xyes])
if test "x$game" = "xyes"; then
PKG_CHECK_MODULES(PANGO, pango >= 1.14.8)
PKG_CHECK_MODULES(PANGO, pangoft2 >= 1.14.8)
CPPFLAGS="$CPPFLAGS $PANGO_CFLAGS"
fi
#######################################################################
# Freetype 2 support #
#######################################################################
if test "x$game" = "xyes"; then
PKG_CHECK_MODULES(FREETYPE2, freetype2)
CPPFLAGS="$CPPFLAGS $FREETYPE2_CFLAGS"
fi
#######################################################################