python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / qt5 / qt5.mk
blob9e77ce351c99e94b2fee0dd9cb45fb7a91ceb71a
1 ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
2 QT5_VERSION_MAJOR = 5.8
3 QT5_VERSION = $(QT5_VERSION_MAJOR).0
4 QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
5 QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/submodules
6 else
7 QT5_VERSION_MAJOR = 5.6
8 QT5_VERSION = $(QT5_VERSION_MAJOR).2
9 QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
10 QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/submodules
11 endif
13 include $(sort $(wildcard package/qt5/*/*.mk))
15 define QT5_LA_PRL_FILES_FIXUP
16 for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.la"); do \
17 $(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \
18 -e "s:$(STAGING_DIR):@STAGING_DIR@:g" \
19 -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \
20 -e "s:@STAGING_DIR@:$(STAGING_DIR):g" \
21 -e "s:@BASE_DIR@:$(BASE_DIR):g" \
22 $$i ; \
23 $(SED) "/^dependency_libs=/s%-L/usr/lib %%g" $$i ; \
24 done
25 for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.prl"); do \
26 $(SED) "s%-L/usr/lib%%" $$i; \
27 done
28 endef
30 # Variable for other Qt applications to use
31 QT5_QMAKE = $(HOST_DIR)/usr/bin/qmake -spec devices/linux-buildroot-g++