add package qtwebkit

This commit is contained in:
Tony Theodore 2014-02-17 02:24:20 +11:00
parent 4777ef22e2
commit 927f87ba40
2 changed files with 27 additions and 0 deletions

View File

@ -2130,6 +2130,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">qtxmlpatterns</td>
<td class="website"><a href="http://qt-project.org/">Qt</a></td>
</tr>
<tr>
<td class="package">qtwebkit</td>
<td class="website"><a href="http://qt-project.org/">Qt</a></td>
</tr>
<tr>
<td class="package">qtwinextras</td>
<td class="website"><a href="http://qt-project.org/">Qt</a></td>

23
src/qtwebkit.mk Normal file
View File

@ -0,0 +1,23 @@
# This file is part of MXE.
# See index.html for further information.
PKG := qtwebkit
$(PKG)_IGNORE :=
$(PKG)_VERSION = $(qtbase_VERSION)
$(PKG)_CHECKSUM := a3c6749c66d0192ef286c8a08c325124d52d9bc2
$(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
define $(PKG)_UPDATE
echo $(qtbase_VERSION)
endef
define $(PKG)_BUILD_SHARED
# looks for build tools with .exe suffix and tries to use win_flex
$(SED) -i 's,\.exe,,' '$(1)/Tools/qmake/mkspecs/features/functions.prf'
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' FLEX=flex
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef