Commit Graph

3 Commits

Author SHA1 Message Date
Romain Naour
0ccc5b717e package/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling
If those flags are not explicitly passed, the sdl2_ttf configure script
will include -I/usr/include and -L/usr/lib in the compile flags, which
are obviously unsafe for cross-compilation.

"checking for X... libraries /usr/lib, headers /usr/include"

Fixes:

  http://autobuild.buildroot.net/results/f968fb31e9882cc856296a7c729d93e345e9e861

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - don't pass an argument to --with-x
 - use --without-x instead of --with-x=no]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-24 15:03:31 +02:00
Thomas Petazzoni
ce6da7295a sdl2_{gfx,image,ttf}: use lower-case package prompt in Config.in
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 16:39:30 +02:00
Peter Thompson
a0abce838b sdl2_ttf: new package
Signed-off-by: Peter Thompson <peter.macleod.thompson@gmail.com>
[Thomas:
 - point <pkg>_LICENSE_FILES to a file that actually exists
 - add host-pkgconf to the dependencies
 - remove unneeded CONF_OPTS options
 - pass FREETYPE_CONFIG in the environment to point to freetype-config]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 16:34:20 +02:00