Merge pull request #1916 from tonytheodore/qt5-deps

qt5: read deps from files in current directory
This commit is contained in:
Tony Theodore 2017-10-01 17:15:04 +11:00 committed by GitHub
commit ba2afa1afa
2 changed files with 9 additions and 9 deletions

View File

@ -1,10 +1,10 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := qt5
$(PKG)_WEBSITE := http://qt-project.org/
$(PKG)_WEBSITE := https://www.qt.io/
$(PKG)_DESCR := Qt
$(PKG)_VERSION = $(qtbase_VERSION)
$(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\
$(shell grep -l 'qtbase_VERSION' \
$(TOP_DIR)/src/qt*.mk \
--exclude '$(TOP_DIR)/src/qt5.mk'))
$(PKG)_DEPS := $(subst qt5, qtbase, \
$(patsubst $(dir $(lastword $(MAKEFILE_LIST)))/%.mk,%,\
$(shell grep -l 'qtbase_VERSION' \
$(dir $(lastword $(MAKEFILE_LIST)))/qt*.mk)))

View File

@ -4,7 +4,7 @@ PKG := qt5
$(PKG)_WEBSITE := https://www.qt.io/
$(PKG)_DESCR := Qt
$(PKG)_VERSION = $(qtbase_VERSION)
$(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\
$(shell grep -l 'qtbase_VERSION' \
$(TOP_DIR)/src/qt*.mk \
--exclude '$(TOP_DIR)/src/qt5.mk'))
$(PKG)_DEPS := $(subst qt5, qtbase, \
$(patsubst $(dir $(lastword $(MAKEFILE_LIST)))/%.mk,%,\
$(shell grep -l 'qtbase_VERSION' \
$(dir $(lastword $(MAKEFILE_LIST)))/qt*.mk)))