diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index e319a01f..033bdaae 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -24,7 +24,13 @@ DEPENDS += " \ | |||
24 | " | 24 | " |
25 | 25 | ||
26 | DEPENDS += "yasm-native" | 26 | DEPENDS += "yasm-native" |
27 | EXTRA_QMAKEVARS_PRE += "GYP_CONFIG+=use_system_yasm GYP_CONFIG+=generate_character_data=0" | 27 | DEPENDS_append_libc-musl = " libexecinfo" |
28 | |||
29 | EXTRA_QMAKEVARS_PRE += "GYP_CONFIG+=use_system_yasm \ | ||
30 | GYP_CONFIG+=generate_character_data=0 \ | ||
31 | GYP_CONFIG+=use_allocator=none \ | ||
32 | GYP_CONFIG+=use_experimental_allocator_shim=false \ | ||
33 | " | ||
28 | 34 | ||
29 | # To use system ffmpeg you need to enable also libwebp, opus, vpx | 35 | # To use system ffmpeg you need to enable also libwebp, opus, vpx |
30 | # Only depenedencies available in oe-core are enabled by default | 36 | # Only depenedencies available in oe-core are enabled by default |
@@ -88,6 +94,13 @@ do_configure() { | |||
88 | -after ${EXTRA_QMAKEVARS_POST} | 94 | -after ${EXTRA_QMAKEVARS_POST} |
89 | } | 95 | } |
90 | 96 | ||
97 | do_configure_prepend_libc-musl() { | ||
98 | for f in `find ${S}/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/ -name config.h -o -name config.asm`; do | ||
99 | sed -i -e "s:define HAVE_SYSCTL 1:define HAVE_SYSCTL 0:g" $f | ||
100 | done | ||
101 | sed -i -e "s:define HAVE_STRUCT_MALLINFO 1:/*undef HAVE_STRUCT_MALLINFO */:g" ${S}/src/3rdparty/chromium/third_party/tcmalloc/chromium/src/config_linux.h | ||
102 | } | ||
103 | |||
91 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" | 104 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" |
92 | 105 | ||
93 | do_install_append() { | 106 | do_install_append() { |
@@ -119,6 +132,22 @@ SRC_URI += " \ | |||
119 | file://0003-chromium-v8-fix-build-with-gcc7.patch;patchdir=src/3rdparty \ | 132 | file://0003-chromium-v8-fix-build-with-gcc7.patch;patchdir=src/3rdparty \ |
120 | file://0004-chromium-WebKit-fix-build-with-gcc7.patch;patchdir=src/3rdparty \ | 133 | file://0004-chromium-WebKit-fix-build-with-gcc7.patch;patchdir=src/3rdparty \ |
121 | " | 134 | " |
135 | SRC_URI_append_libc-musl = "\ | ||
136 | file://0001-sandbox-Define-TEMP_FAILURE_RETRY-if-not-defined.patch;patchdir=src/3rdparty/chromium \ | ||
137 | file://0003-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty/chromium \ | ||
138 | file://0004-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty/chromium \ | ||
139 | file://0005-use-off64_t-instead-of-the-internal-__off64_t.patch;patchdir=src/3rdparty/chromium \ | ||
140 | file://0006-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty/chromium \ | ||
141 | file://0007-allocator-Do-not-include-glibc_weak_symbols-for-musl.patch;patchdir=src/3rdparty/chromium \ | ||
142 | file://0008-Use-correct-member-name-__si_fields-from-LinuxSigInf.patch;patchdir=src/3rdparty/chromium \ | ||
143 | file://0009-Match-syscalls-to-match-musl.patch;patchdir=src/3rdparty/chromium \ | ||
144 | file://0010-Define-res_ninit-and-res_nclose-for-non-glibc-platfo.patch;patchdir=src/3rdparty/chromium \ | ||
145 | file://0011-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty/chromium \ | ||
146 | file://0012-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty/chromium \ | ||
147 | file://0013-include-asm-generic-ioctl.h-for-TCGETS2.patch;patchdir=src/3rdparty/chromium \ | ||
148 | file://0014-link-with-libexecinfo-on-musl.patch;patchdir=src/3rdparty/chromium \ | ||
149 | file://0018-tcmalloc-Use-off64_t-insread-of-__off64_t.patch;patchdir=src/3rdparty/chromium \ | ||
150 | " | ||
122 | 151 | ||
123 | SRCREV_qtwebengine = "d740d6a7dbfec387752c7bc8a8b06db0e757c9dc" | 152 | SRCREV_qtwebengine = "d740d6a7dbfec387752c7bc8a8b06db0e757c9dc" |
124 | SRCREV_chromium = "15d257fd921f37b32ef643225f21df0ea24c8302" | 153 | SRCREV_chromium = "15d257fd921f37b32ef643225f21df0ea24c8302" |