2007-08-10 21:07:51 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# xlib_libXfont
|
2007-08-10 21:07:51 +02:00
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-11-29 21:45:58 +01:00
|
|
|
XLIB_LIBXFONT_VERSION = 1.5.4
|
2007-08-10 21:07:51 +02:00
|
|
|
XLIB_LIBXFONT_SOURCE = libXfont-$(XLIB_LIBXFONT_VERSION).tar.bz2
|
|
|
|
XLIB_LIBXFONT_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
2013-05-09 07:50:59 +02:00
|
|
|
XLIB_LIBXFONT_LICENSE = MIT
|
|
|
|
XLIB_LIBXFONT_LICENSE_FILES = COPYING
|
2007-08-10 21:07:51 +02:00
|
|
|
XLIB_LIBXFONT_INSTALL_STAGING = YES
|
2016-07-03 00:21:19 +02:00
|
|
|
|
2018-07-21 16:16:41 +02:00
|
|
|
XLIB_LIBXFONT_DEPENDENCIES = freetype xlib_libfontenc xlib_xtrans xorgproto
|
2007-08-10 21:07:51 +02:00
|
|
|
|
2016-07-03 00:21:19 +02:00
|
|
|
HOST_XLIB_LIBXFONT_DEPENDENCIES = \
|
|
|
|
host-freetype host-xlib_libfontenc host-xlib_xtrans \
|
2018-07-21 16:16:41 +02:00
|
|
|
host-xorgproto
|
2016-07-03 00:21:19 +02:00
|
|
|
|
|
|
|
XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
|
2014-09-27 21:32:44 +02:00
|
|
|
HOST_XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
|
2010-05-06 20:07:29 +02:00
|
|
|
|
2015-05-10 22:28:29 +02:00
|
|
|
ifeq ($(BR2_microblaze),y)
|
|
|
|
# The microblaze toolchains don't define the __ELF__ preprocessor
|
|
|
|
# symbol even though they do use the elf format. LibXfont checks for
|
|
|
|
# this symbol to know if weak symbols are supported, and otherwise
|
|
|
|
# falls back to emulation code using dlopen - Causing linker issues
|
|
|
|
# for stuff using libXfont.
|
|
|
|
# Work around it by defining the symbol here as well.
|
|
|
|
XLIB_LIBXFONT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D__ELF__"
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|