diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-efl/recipes-efl/webkit/webkit-efl.inc | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-efl/recipes-efl/webkit/webkit-efl.inc')
-rw-r--r-- | meta-efl/recipes-efl/webkit/webkit-efl.inc | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl.inc b/meta-efl/recipes-efl/webkit/webkit-efl.inc new file mode 100644 index 000000000..44ef9d48f --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl.inc | |||
@@ -0,0 +1,67 @@ | |||
1 | DESCRIPTION = "Webkit browser engine, EFL edition" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://Source/WebKit/LICENSE;md5=4646f90082c40bcf298c285f8bab0b12 \ | ||
4 | file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691 \ | ||
5 | file://Source/WebKit/efl/ewk/EWebKit.h;endline=20;md5=55ea170b1582797d2c69712de850f2fa \ | ||
6 | " | ||
7 | |||
8 | # you need harfbuzz with icu enabled, you can add this to your config: | ||
9 | # PACKAGECONFIG_append_pn-harfbuzz = " icu" | ||
10 | DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ | ||
11 | libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \ | ||
12 | libxml2 pango eina ecore evas edje eldbus harfbuzz enchant \ | ||
13 | ruby-native" | ||
14 | |||
15 | SRC_URI = "\ | ||
16 | ${E_RELEASES}/libs/webkit-efl/webkit-efl-164189.tar.xz \ | ||
17 | file://0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch \ | ||
18 | file://0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch \ | ||
19 | file://0003-Fix-linking-issue.patch \ | ||
20 | " | ||
21 | SRC_URI[md5sum] = "731513fc042ec8e03840bc1ab6a66771" | ||
22 | SRC_URI[sha256sum] = "660aefd65c0e5c6494eaec30539cda5f40fbdff17f28e7e83d341b245227cccd" | ||
23 | |||
24 | S = "${WORKDIR}/efl-webkit" | ||
25 | |||
26 | inherit cmake lib_package pkgconfig perlnative pythonnative | ||
27 | |||
28 | ARM_INSTRUCTION_SET = "arm" | ||
29 | |||
30 | EXTRA_OECMAKE = " \ | ||
31 | -DPORT=Efl \ | ||
32 | -DSHARED_CORE=On \ | ||
33 | -DENABLE_DRAG_SUPPORT=On \ | ||
34 | -DENABLE_WEB_AUDIO=Off \ | ||
35 | -DENABLE_VIDEO=Off \ | ||
36 | -DENABLE_VIDEO_TRACK=Off \ | ||
37 | -DENABLE_ACCESSIBILITY=Off \ | ||
38 | -DENABLE_BATTERY_STATUS=Off \ | ||
39 | " | ||
40 | # generated ASM code isn't compatible with armv[45] | ||
41 | # it was removed from macro assembler in upstream commit 121885 | ||
42 | # https://bugs.webkit.org/show_bug.cgi?id=90198 | ||
43 | EXTRA_OECMAKE_append_armv4 = " -DENABLE_LLINT=Off -DENABLE_JIT=Off -DENABLE_DFG_JIT=Off -DENABLE_FTL_JIT=Off" | ||
44 | EXTRA_OECMAKE_append_armv5 = " -DENABLE_LLINT=Off -DENABLE_JIT=Off -DENABLE_DFG_JIT=Off -DENABLE_FTL_JIT=Off" | ||
45 | |||
46 | # hack it in OptionsEfl.cmake because that overrules -DENABLE_LLINT=Off | ||
47 | do_configure_prepend_armv4() { | ||
48 | sed -i 's/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT ON)/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT OFF)/g' ${S}/Source/cmake/OptionsEfl.cmake | ||
49 | } | ||
50 | do_configure_prepend_armv5() { | ||
51 | sed -i 's/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT ON)/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT OFF)/g' ${S}/Source/cmake/OptionsEfl.cmake | ||
52 | } | ||
53 | |||
54 | # and disabled LLINT currently isn't supported, so restrict to armv7a and x86* | ||
55 | COMPATIBLE_MACHINE = "(-)" | ||
56 | COMPATIBLE_MACHINE_i586 = "(.*)" | ||
57 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | ||
58 | COMPATIBLE_MACHINE_armv7a = "(.*)" | ||
59 | |||
60 | LEAD_SONAME = "libewebkit.so" | ||
61 | PACKAGES =+ "${PN}launcher-dbg ${PN}launcher ${PN}-inspector" | ||
62 | |||
63 | FILES_${PN} += "${datadir}/webkit-1.0/theme/default.edj ${datadir}/ewebkit-0/themes/default.edj" | ||
64 | FILES_${PN}-dev += "${libdir}/cmake" | ||
65 | FILES_${PN}launcher = "${bindir}/EWebLauncher" | ||
66 | FILES_${PN}launcher-dbg = "${bindir}/.debug/EWebLauncher" | ||
67 | FILES_${PN}-inspector += "${datadir}/ewebkit-0/inspector" | ||