summaryrefslogtreecommitdiffstats
path: root/src/qt5.mk
blob: c699764f499a3f007a2589efca3c7a76661a40bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is part of MXE.
# See index.html for further information.

PKG             := qt5
$(PKG)_IGNORE    = $(qtbase_IGNORE)
$(PKG)_VERSION   = $(qtbase_VERSION)
$(PKG)_CHECKSUM  = $(qtbase_CHECKSUM)
$(PKG)_SUBDIR    = $(qtbase_SUBDIR)
$(PKG)_FILE      = $(qtbase_FILE)
$(PKG)_URL       = $(qtbase_URL)
$(PKG)_DEPS     := $(patsubst $(TOP_DIR)/src/%.mk,%,\
                        $(shell grep -l 'DEPS.*qtbase' \
                                $(TOP_DIR)/src/qt*.mk \
                                --exclude '$(TOP_DIR)/src/qt5.mk'))

define $(PKG)_UPDATE
    echo $(qtbase_VERSION)
endef

define $(PKG)_FIX_CMAKE_FILE
    $(if $(BUILD_STATIC), \
        find $(PREFIX)/$(TARGET)/qt5/lib/cmake/ -name '*\.cmake' | \
        xargs $(SED) -i 's!/\(.*\)\.lib!/lib\1\.a!g')
endef