1636f604bd
Disable sampling profiler on musl to avoid the following build falure
raised since bump to version 5.212.0-alpha4 in commit
df0b0fe691
:
/home/buildroot/autobuild/instance-0/output-1/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/heap/MachineStackMarker.cpp:686:2: error: #error Need a way to get the frame pointer for another thread on this platform
686 | #error Need a way to get the frame pointer for another thread on this platform
| ^~~~~
Fixes:
- http://autobuild.buildroot.org/results/87f52db7f8ebefa4c1ae3dd70d4a7a460f9aca35
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
57 lines
1.6 KiB
Makefile
57 lines
1.6 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
|
|
|
|
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))
|