kumquat-buildroot/package/qt5/qt5webkit/qt5webkit.mk
Alexey Brodkin 3f5be21db9 package/qt5/qt5webkit: needs OpenSSL
W/o OpenSSL QT5Webkit fails to build that way:
-------------------------------->8-----------------------------
.../build/qt5webkit-5.212.0-alpha4/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp: In static member function ‘static bool WebCore::ResourceRequest::alpnIsSupported()’:
.../build/qt5webkit-5.212.0-alpha4/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:68:12: error: ‘QSslSocket’ has not been declared
   68 |     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
      |            ^~~~~~~~~~
.../build/qt5webkit-5.212.0-alpha4/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:69:9: error: ‘QSslSocket’ has not been declared
   69 |         QSslSocket::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL"));
      |         ^~~~~~~~~~
-------------------------------->8-----------------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-03-07 23:07:41 +01:00

61 lines
1.7 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 \
openssl 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_MIPS_CPU_MIPS32R6),y)
QT5WEBKIT_CONF_OPTS += -DENABLE_JIT=OFF
endif
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
ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
QT5WEBKIT_DEPENDENCIES += libexecinfo
endif
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
QT5WEBKIT_CONF_OPTS += -DENABLE_SAMPLING_PROFILER=OFF
endif
QT5WEBKIT_CONF_OPTS += \
-DENABLE_TOOLS=OFF \
-DPORT=Qt \
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \
-DSHARED_CORE=ON \
-DUSE_LIBHYPHEN=OFF
$(eval $(cmake-package))