2016-12-03 12:58:06 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# xlib_libXfont2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-09-10 08:55:30 +02:00
|
|
|
XLIB_LIBXFONT2_VERSION = 2.0.5
|
2016-12-03 12:58:06 +01:00
|
|
|
XLIB_LIBXFONT2_SOURCE = libXfont2-$(XLIB_LIBXFONT2_VERSION).tar.bz2
|
2021-09-10 08:55:30 +02:00
|
|
|
XLIB_LIBXFONT2_SITE = https://xorg.freedesktop.org/archive/individual/lib
|
2016-12-03 12:58:06 +01:00
|
|
|
XLIB_LIBXFONT2_LICENSE = MIT
|
|
|
|
XLIB_LIBXFONT2_LICENSE_FILES = COPYING
|
2021-05-14 23:35:13 +02:00
|
|
|
XLIB_LIBXFONT2_CPE_ID_VENDOR = x
|
|
|
|
XLIB_LIBXFONT2_CPE_ID_PRODUCT = libxfont
|
2016-12-03 12:58:06 +01:00
|
|
|
XLIB_LIBXFONT2_INSTALL_STAGING = YES
|
2019-10-13 21:54:43 +02:00
|
|
|
# 0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch
|
|
|
|
XLIB_LIBXFONT2_AUTORECONF = YES
|
2016-12-03 12:58:06 +01:00
|
|
|
XLIB_LIBXFONT2_DEPENDENCIES = \
|
|
|
|
freetype \
|
|
|
|
xlib_libfontenc \
|
|
|
|
xlib_xtrans \
|
2018-07-21 16:16:41 +02:00
|
|
|
xorgproto \
|
2016-12-03 12:58:06 +01:00
|
|
|
xfont_encodings
|
|
|
|
|
2019-10-13 21:54:43 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
|
|
|
XLIB_LIBXFONT2_DEPENDENCIES += libbsd
|
|
|
|
endif
|
|
|
|
|
2016-12-03 12:58:06 +01:00
|
|
|
HOST_XLIB_LIBXFONT2_DEPENDENCIES = \
|
|
|
|
host-freetype \
|
|
|
|
host-xlib_libfontenc \
|
|
|
|
host-xlib_xtrans \
|
2018-07-21 16:16:41 +02:00
|
|
|
host-xorgproto \
|
2016-12-03 12:58:06 +01:00
|
|
|
host-xfont_encodings
|
|
|
|
|
|
|
|
XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
|
|
|
|
HOST_XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
|
|
|
|
|
2019-07-12 11:04:07 +02:00
|
|
|
XLIB_LIBXFONT2_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
|
|
|
XLIB_LIBXFONT2_CFLAGS += -O0
|
|
|
|
endif
|
|
|
|
|
|
|
|
XLIB_LIBXFONT2_CONF_ENV = CFLAGS="$(XLIB_LIBXFONT2_CFLAGS)"
|
|
|
|
|
2016-12-03 12:58:06 +01:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|