mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
qt5base: conditionally install bundled fonts to target
qtbase carries nor more fonts since c5ceabb9a1caf6b9b7615a28c3097f221772f645 So for Qt Version 5.8.0 this reverts commitcdfa21b060and part of186ef9f6f4. Signed-off-by: Andreas Naumann <anaumann@ultratronik.de> Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> [Thomas: adjust commit log.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
17fdd42c1a
commit
080434f10e
@@ -262,12 +262,14 @@ define QT5BASE_INSTALL_TARGET_PLUGINS
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(BR2_QT5_VERSION_5_6),y)
|
||||||
define QT5BASE_INSTALL_TARGET_FONTS
|
define QT5BASE_INSTALL_TARGET_FONTS
|
||||||
if [ -d $(STAGING_DIR)/usr/lib/fonts/ ] ; then \
|
if [ -d $(STAGING_DIR)/usr/lib/fonts/ ] ; then \
|
||||||
mkdir -p $(TARGET_DIR)/usr/lib/fonts ; \
|
mkdir -p $(TARGET_DIR)/usr/lib/fonts ; \
|
||||||
cp -dpfr $(STAGING_DIR)/usr/lib/fonts/* $(TARGET_DIR)/usr/lib/fonts ; \
|
cp -dpfr $(STAGING_DIR)/usr/lib/fonts/* $(TARGET_DIR)/usr/lib/fonts ; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define QT5BASE_INSTALL_TARGET_EXAMPLES
|
define QT5BASE_INSTALL_TARGET_EXAMPLES
|
||||||
if [ -d $(STAGING_DIR)/usr/lib/qt/examples/ ] ; then \
|
if [ -d $(STAGING_DIR)/usr/lib/qt/examples/ ] ; then \
|
||||||
|
|||||||
Reference in New Issue
Block a user