9d5ac9698b
Instead of messing with git we can get tarballs of obsolete but still existing Qt5 submodules as we used to but from a bit different location. It turned out Qt people still create packages for obsolete submodules for so-called "unofficial builds", see [1]. [1] https://wiki.qt.io/Qt-5-unofficial-builds Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Yegor Yefremov <yegorslists@googlemail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Seiderer <ps.report@gmx.net> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Julien Corjon <corjon.j@ecagroup.com> Cc: Gary Bisson <gary.bisson@boundarydevices.com> Cc: Jérôme Pouiller <jezz@sysmic.org> Reviewed-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
938 B
Makefile
24 lines
938 B
Makefile
QT5_VERSION_MAJOR = 5.6
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).2
|
|
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
|
QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/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)/usr/bin/qmake -spec devices/linux-buildroot-g++
|