toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / qt5 / qt5.mk
blobe937e234b596d25c785bd0c65dda9c6723fd7c08
1 QT5_VERSION_MAJOR = 5.6
2 QT5_VERSION = $(QT5_VERSION_MAJOR).2
3 QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
4 QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/submodules
5 include $(sort $(wildcard package/qt5/*/*.mk))
7 define QT5_LA_PRL_FILES_FIXUP
8 for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.la"); do \
9 $(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \
10 -e "s:$(STAGING_DIR):@STAGING_DIR@:g" \
11 -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \
12 -e "s:@STAGING_DIR@:$(STAGING_DIR):g" \
13 -e "s:@BASE_DIR@:$(BASE_DIR):g" \
14 $$i ; \
15 $(SED) "/^dependency_libs=/s%-L/usr/lib %%g" $$i ; \
16 done
17 for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.prl"); do \
18 $(SED) "s%-L/usr/lib%%" $$i; \
19 done
20 endef
22 # Variable for other Qt applications to use
23 QT5_QMAKE = $(HOST_DIR)/usr/bin/qmake -spec devices/linux-buildroot-g++