# HG changeset patch # User John W. Eaton # Date 1507204645 14400 # Node ID 7b73612f57b99cff9b451da72d0d12763f1b06e5 # Parent 7467937cb7bfa7b8f4fcefe2710a646990238712 qtbase: Optionally depend on X11 and fontconfig libraries. diff -r 7467937cb7bf -r 7b73612f57b9 src/qtbase.mk --- a/src/qtbase.mk Thu Oct 05 10:34:32 2017 -0400 +++ b/src/qtbase.mk Thu Oct 05 07:57:25 2017 -0400 @@ -9,6 +9,14 @@ $(PKG)_FILE := $(PKG)-opensource-src-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://download.qt.io/official_releases/qt/5.7/$($(PKG)_VERSION)/submodules/$($(PKG)_FILE) $(PKG)_DEPS := dbus freetds freetype fontconfig jpeg libpng pcre postgresql sqlite zlib +ifeq ($(USE_SYSTEM_FONTCONFIG),no) + $(PKG)_FONTCONFIG := fontconfig +endif +ifeq ($(MXE_WINDOWS_BUILD),no) + ifeq ($(USE_SYSTEM_X11_LIBS),no) + $(PKG)_DEPS += x11 xext xfixes xdmcp xrender xfixes xdamage xt xxf86vm + endif +endif define $(PKG)_UPDATE $(WGET) -q -O- http://download.qt-project.org/official_releases/qt/5.5/ | \