mxe/src/qtgamepad.mk

23 lines
729 B
Makefile

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := qtgamepad
$(PKG)_WEBSITE := https://www.qt.io/
$(PKG)_DESCR := Qt
$(PKG)_IGNORE :=
$(PKG)_VERSION = $(qtbase_VERSION)
$(PKG)_CHECKSUM := 660e2bea430be5dc75557d038f162b77454c945ab6df1a1f4a7d69011e02c199
$(PKG)_SUBDIR = $(subst qtbase,qtgamepad,$(qtbase_SUBDIR))
$(PKG)_FILE = $(subst qtbase,qtgamepad,$(qtbase_FILE))
$(PKG)_URL = $(subst qtbase,qtgamepad,$(qtbase_URL))
$(PKG)_DEPS := cc qtbase qtdeclarative
define $(PKG)_UPDATE
echo $(qtbase_VERSION)
endef
define $(PKG)_BUILD
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef