mxe/src/qtwebkit.mk

32 lines
1.1 KiB
Makefile
Raw Normal View History

2014-02-16 15:24:20 +00:00
# This file is part of MXE.
# See index.html for further information.
PKG := qtwebkit
$(PKG)_IGNORE :=
$(PKG)_VERSION = $(qtbase_VERSION)
2015-10-15 09:12:42 +01:00
$(PKG)_CHECKSUM := 77583f9dbd3e6ad874386df71b165dc3ce88efdabbc6e5d97a959ee2187d6d69
2014-02-16 15:24:20 +00:00
$(PKG)_SUBDIR = $(subst qtbase,qtwebkit,$(qtbase_SUBDIR))
$(PKG)_FILE = $(subst qtbase,qtwebkit,$(qtbase_FILE))
$(PKG)_URL = $(subst qtbase,qtwebkit,$(qtbase_URL))
$(PKG)_DEPS := gcc qtbase qtmultimedia qtquick1 sqlite
2014-02-16 15:24:20 +00:00
2015-09-05 14:42:46 +01:00
$(PKG)_MESSAGE :=*** qtwebkit is deprecated in Qt 5.5 ***
2014-02-16 15:24:20 +00:00
define $(PKG)_UPDATE
echo $(qtbase_VERSION)
endef
define $(PKG)_BUILD_SHARED
2015-08-06 23:06:31 +01:00
echo qtwebkit is deprecated in Qt 5.5
endef
define $(PKG)_BUILD_SHARED_DISABLED
2014-02-16 15:24:20 +00:00
# looks for build tools with .exe suffix and tries to use win_flex
$(SED) -i 's,\.exe,,' '$(1)/Tools/qmake/mkspecs/features/functions.prf'
# 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' FLEX=flex CONFIG-='debug debug_and_release'
2014-02-16 15:24:20 +00:00
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef