Commit a815e1cb authored by kyak's avatar kyak Committed by Thomas Petazzoni
Browse files

package/xterm: compile with libXft support when it selected



When libXft (FreeType) library is selected, xterm will use it.
host-pkgcong is used to search for libXft during configure, so it
is in the dependencies.

Signed-off-by: default avatarMikhail Peselnik <bas@bmail.ru>
Reviewed-by: default avatarRomain Naour <romain.naour@openwide.fr>
Tested-by: default avatarRomain Naour <romain.naour@openwide.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent f24bd727
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -7,11 +7,19 @@
XTERM_VERSION = 314
XTERM_SOURCE = xterm-$(XTERM_VERSION).tgz
XTERM_SITE = ftp://invisible-island.net/xterm
XTERM_DEPENDENCIES = ncurses xlib_libXaw
XTERM_DEPENDENCIES = ncurses xlib_libXaw host-pkgconf
XTERM_LICENSE = MIT
XTERM_LICENSE_FILES = version.c
XTERM_CONF_OPTS = --enable-256-color \
	--x-includes=$(STAGING_DIR)/usr/include \
	--x-libraries=$(STAGING_DIR)/usr/lib

ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
XTERM_DEPENDENCIES += xlib_libXft
XTERM_CONF_OPTS += --enable-freetype \
	--with-freetype-config=auto
else
XTERM_CONF_OPTS += --disable-freetype
endif

$(eval $(autotools-package))