145e157b98
qt5base: - removed 0002-double-conversion-enable-for-aarch64_be.patch (superseded by upstream commits [1] and [2]) - removed 0003-double-conversion-enable-for-or1k.patch (superseded by upstream commits [1] and [2]) - rebased 0004-double-conversion-enable-for-microblaze.patch qt5location: - removed 0001-qdeclarativegeomap-fix-building-with-GCC-5.x.patch (superseded by upstream commit [3]) [1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6a39e49a6cdeb28a04a3657bb6a22f848d5dfa9d [2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=4d40f09a45202dff901d4f970a6a7e939797138b [3] https://code.qt.io/cgit/qt/qtlocation.git/commit/?id=7bafbdc91f83165710ed74639b76b48b4494937a Signed-off-by: Peter Seiderer <ps.report@gmx.net> [Thomas: - update chromium-latest.inc with the list of license files that match qt5webengine 5.12.1 - drop patch in qt5location that has been upstreamed and therefore no longer applies to 5.12.1] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# qt5
|
|
#
|
|
################################################################################
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
|
QT5_VERSION_MAJOR = 5.12
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).1
|
|
QT5_SOURCE_TARBALL_PREFIX = everywhere-src
|
|
else
|
|
QT5_VERSION_MAJOR = 5.6
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).3
|
|
QT5_SOURCE_TARBALL_PREFIX = opensource-src
|
|
endif
|
|
QT5_SITE = https://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
|
|
|
include $(sort $(wildcard package/qt5/*/*.mk))
|
|
|
|
define QT5_LA_PRL_FILES_FIXUP
|
|
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.la"); do \
|
|
$(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \
|
|
-e "s:$(STAGING_DIR):@STAGING_DIR@:g" \
|
|
-e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \
|
|
-e "s:@STAGING_DIR@:$(STAGING_DIR):g" \
|
|
-e "s:@BASE_DIR@:$(BASE_DIR):g" \
|
|
$$i ; \
|
|
$(SED) "/^dependency_libs=/s%-L/usr/lib %%g" $$i ; \
|
|
done
|
|
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.prl"); do \
|
|
$(SED) "s%-L/usr/lib%%" $$i; \
|
|
done
|
|
endef
|
|
|
|
# Variable for other Qt applications to use
|
|
QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++
|