9a55b99665
Removed obsolete patches: - qt5base/0001-Disable-c-standard-compiler-flags-for-the-host-build.patch (upstream committed [1]) - qt5/qt5base/0007-build-with-explicitlib-after-all.patch (upstream committed [2]) - qt5tools/0001-Disable-qdoc-needs-qtdeclarative.patch (fixed upstream by [3]) - qt5webkit/0004-Fix-linking-with-libpthread.patch (upstream committed [4]) [1] http://code.qt.io/cgit/qt/qtbase.git/commit/?id=e69e69519661954716d59bfa5bbd0626515cfda9 [2] http://code.qt.io/cgit/qt/qtbase.git/commit/?id=523c7e3fd55c853dd424d57f28e225d57439cf89 [3] http://code.qt.io/cgit/qt/qttools.git/commit/?id=2b262fad86ef38a5fa692b4c73e6ec26a5d45a5f [4] http://code.qt.io/cgit/qt/qtwebkit.git/commit/?id=5f359baacdf92fabcece83f0a2b30f74c7c02a3c Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
826 B
Makefile
23 lines
826 B
Makefile
QT5_VERSION_MAJOR = 5.6
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).1-1
|
|
QT5_SITE = http://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)/usr/bin/qmake -spec devices/linux-buildroot-g++
|