blob: 82d670d9441d6393b82f452a8de9eee728687030 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "WebKit web rendering engine for the GTK+ platform"
2HOMEPAGE = "http://www.webkitgtk.org/"
3BUGTRACKER = "http://bugs.webkit.org/"
4
5LICENSE = "BSD & LGPLv2+"
6LIC_FILES_CHKSUM = "file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691 \
7 file://Source/WebKit/LICENSE;md5=4646f90082c40bcf298c285f8bab0b12 \
8 file://Source/WebCore/LICENSE-APPLE;md5=4646f90082c40bcf298c285f8bab0b12 \
9 file://Source/WebCore/LICENSE-LGPL-2;md5=36357ffde2b64ae177b2494445b79d21 \
10 file://Source/WebCore/LICENSE-LGPL-2.1;md5=a778a33ef338abbaf8b8a7c36b6eec80 \
11 "
12
13SRC_URI = "\
14 http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
15 file://0001-This-patch-fixes-a-command-line-that-is-too-long-ove.patch \
16 file://gcc5.patch \
17 "
18SRC_URI[md5sum] = "df79991848a5096d3a75289ebce547ae"
19SRC_URI[sha256sum] = "3d1f0c534935f43fd74df90f2648fcee672d60f1f57a30fa557a77891ae04d20"
20
21inherit cmake lib_package pkgconfig perlnative pythonnative
22
23DEPENDS = "zlib enchant libsoup-2.4 curl libxml2 cairo libxslt libxt libidn gnutls \
24 gtk+ gtk+3 gstreamer1.0 gstreamer1.0-plugins-base flex-native gperf-native sqlite3 \
25 pango icu bison-native gnome-common gawk intltool-native libwebp \
26 atk udev harfbuzz jpeg libpng pulseaudio librsvg libtheora libvorbis libxcomposite libxtst \
27 ruby-native libsecret libnotify gstreamer1.0-plugins-bad \
28 "
29DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)}"
30
31EXTRA_OECMAKE = " \
32 -DPORT=GTK \
33 -DCMAKE_BUILD_TYPE=Release \
34 -DENABLE_INTROSPECTION=False \
35 -DENABLE_MINIBROWSER=True \
36 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '-DENABLE_WEBGL=True', '-DENABLE_WEBGL=False', d)} \
37 "
38
39# Javascript JIT is not supported on powerpc
40EXTRA_OECMAKE_append_powerpc = " -DENABLE_JIT=False "
41EXTRA_OECMAKE_append_powerpc64 = " -DENABLE_JIT=False "
42
43# ARM JIT code does not build on ARMv5/6 anymore, apparently they test only on v7 onwards
44EXTRA_OECMAKE_append_armv5 = " -DENABLE_JIT=False "
45EXTRA_OECMAKE_append_armv6 = " -DENABLE_JIT=False "
46
47# binutils 2.25.1 has a bug on aarch64:
48# https://sourceware.org/bugzilla/show_bug.cgi?id=18430
49EXTRA_OECMAKE_append_aarch64 = " -DUSE_LD_GOLD=False "
50
51# JIT not supported on MIPS either
52EXTRA_OECMAKE_append_mips = " -DENABLE_JIT=False "
53EXTRA_OECMAKE_append_mips64 = " -DENABLE_JIT=False "
54
55FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so"
56FILES_${PN}-dbg += "${libdir}/webkit2gtk-4.0/injected-bundle/.debug/libwebkit2gtkinjectedbundle.so"
57FILES_${PN}-dbg += "${libdir}/webkitgtk/webkit2gtk-4.0/.debug/*"
58