summaryrefslogtreecommitdiffstats
path: root/src/qt3d.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt3d.mk')
-rw-r--r--src/qt3d.mk17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/qt3d.mk b/src/qt3d.mk
index 2288356..1a4efa9 100644
--- a/src/qt3d.mk
+++ b/src/qt3d.mk
@@ -1,20 +1,23 @@
# This file is part of MXE.
# See index.html for further information.
+
PKG := qt3d
$(PKG)_IGNORE :=
-$(PKG)_VERSION := bcdbf04b74cc7ded4d7b2471347f51b54ff8584b
-$(PKG)_CHECKSUM := 7e5e553f0132bc801f11f318f58b4fe3b8b1fd930f4acc23e97757fb6c76049c
-$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE := qt-$(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL := https://github.com/qtproject/qt3d/archive/$($(PKG)_VERSION).tar.gz
+$(PKG)_VERSION = $(qtbase_VERSION)
+$(PKG)_CHECKSUM := a8248a1779b561ea450e92345e8187bacac359df0e92ad61a1ad7652bb233e29
+$(PKG)_SUBDIR = $(subst qtbase,qt3d,$(qtbase_SUBDIR))
+$(PKG)_FILE = $(subst qtbase,qt3d,$(qtbase_FILE))
+$(PKG)_URL = $(subst qtbase,qt3d,$(qtbase_URL))
$(PKG)_DEPS := gcc qtbase qtdeclarative
-$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, qtproject/qt3d, master)
+define $(PKG)_UPDATE
+ echo $(qtbase_VERSION)
+endef
define $(PKG)_BUILD
# invoke qmake with removed debug options as a workaround for
# https://bugreports.qt-project.org/browse/QTBUG-30898
- cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' CONFIG+=git_build CONFIG-='debug debug_and_release'
+ cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' CONFIG-='debug debug_and_release'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef