bebeb772eb
Build JavaScriptCore and WebCore as shared libraries to avoid a build failure Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Adam Duskett <aduskett@gmail.com> Tested-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# qt5webkit
|
|
#
|
|
################################################################################
|
|
|
|
QT5WEBKIT_VERSION = 5.212.0-alpha4
|
|
QT5WEBKIT_SITE = https://github.com/qtwebkit/qtwebkit/releases/download/qtwebkit-$(QT5WEBKIT_VERSION)
|
|
QT5WEBKIT_SOURCE = qtwebkit-$(QT5WEBKIT_VERSION).tar.xz
|
|
QT5WEBKIT_DEPENDENCIES = \
|
|
host-bison host-flex host-gperf host-python3 host-ruby gstreamer1 \
|
|
gst1-plugins-base icu leveldb jpeg libpng libxml2 libxslt qt5location \
|
|
qt5sensors qt5webchannel sqlite webp woff2
|
|
QT5WEBKIT_INSTALL_STAGING = YES
|
|
|
|
QT5WEBKIT_LICENSE_FILES = Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1
|
|
|
|
QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause
|
|
# Source files contain references to LGPL_EXCEPTION.txt but it is not included
|
|
# in the archive.
|
|
QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL),y)
|
|
QT5WEBKIT_CONF_OPTS += \
|
|
-DENABLE_OPENGL=ON \
|
|
-DENABLE_WEBKIT2=ON
|
|
else
|
|
QT5WEBKIT_CONF_OPTS += \
|
|
-DENABLE_OPENGL=OFF \
|
|
-DENABLE_WEBKIT2=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
|
|
QT5WEBKIT_DEPENDENCIES += xlib_libXcomposite xlib_libXext xlib_libXrender
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
|
QT5WEBKIT_DEPENDENCIES += qt5declarative
|
|
endif
|
|
|
|
QT5WEBKIT_CONF_OPTS += \
|
|
-DENABLE_TOOLS=OFF \
|
|
-DPORT=Qt \
|
|
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \
|
|
-DSHARED_CORE=ON \
|
|
-DUSE_LIBHYPHEN=OFF
|
|
|
|
$(eval $(cmake-package))
|