summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebkit.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebkit.inc')
-rw-r--r--recipes-qt/qt5/qtwebkit.inc61
1 files changed, 0 insertions, 61 deletions
diff --git a/recipes-qt/qt5/qtwebkit.inc b/recipes-qt/qt5/qtwebkit.inc
deleted file mode 100644
index 38f2b2b4..00000000
--- a/recipes-qt/qt5/qtwebkit.inc
+++ /dev/null
@@ -1,61 +0,0 @@
1require qt5.inc
2
3LICENSE = "BSD & LGPLv2+ | GPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \
5 file://Source/WebCore/rendering/RenderApplet.h;endline=22;md5=fb9694013ad71b78f8913af7a5959680 \
6 file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
7 file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee"
8
9DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt leveldb"
10
11# qemuarm build fails with:
12# | {standard input}: Assembler messages:
13# | {standard input}:106: Error: invalid immediate: 983040 is out of range
14# | {standard input}:106: Error: value of 983040 too large for field of 2 bytes at 146
15ARM_INSTRUCTION_SET = "arm"
16
17SRC_URI += "\
18 file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \
19 file://0002-Remove-TEXTREL-tag-in-x86.patch \
20"
21
22PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel"
23PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base"
24PACKAGECONFIG[gstreamer010] = "OE_GSTREAMER010_ENABLED,,gstreamer gst-plugins-base"
25PACKAGECONFIG[qtlocation] = "OE_QTLOCATION_ENABLED,,qtlocation"
26PACKAGECONFIG[qtmultimedia] = "OE_QTMULTIMEDIA_ENABLED,,qtmultimedia"
27PACKAGECONFIG[qtsensors] = "OE_QTSENSORS_ENABLED,,qtsensors"
28PACKAGECONFIG[qtwebchannel] = "OE_QTWEBCHANNEL_ENABLED,,qtwebchannel"
29PACKAGECONFIG[libwebp] = "OE_LIBWEBP_ENABLED,,libwebp"
30
31do_configure_prepend() {
32 export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}"
33 # disable gstreamer-1.0 test if it isn't enabled by PACKAGECONFIG
34 sed -e 's/\s\(packagesExist(".*\<gstreamer-1.0\>.*")\)/ OE_GSTREAMER_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
35 # disable gstreamer-0.10 test if it isn't enabled by PACKAGECONFIG
36 sed -e 's/\s\(packagesExist(".*\<gstreamer-0.10\>.*")\)/ OE_GSTREAMER010_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
37 # disable qtlocation test if it isn't enabled by PACKAGECONFIG
38 sed -e 's/\s\(qtHaveModule(positioning)\)/ OE_QTLOCATION_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
39 # disable qtmultimedia test if it isn't enabled by PACKAGECONFIG
40 sed -e 's/(video):\(qtHaveModule(multimediawidgets)\)/(video):OE_QTMULTIMEDIA_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
41 # disable qtsensors test if it isn't enabled by PACKAGECONFIG
42 sed -e 's/\s\(qtHaveModule(sensors)\)/ OE_QTSENSORS_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
43 # disable qtwebchannel test if it isn't enabled by PACKAGECONFIG
44 sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/Target.pri
45 sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/WebKit2.pri
46 # disable libwebp test if it isn't enabled by PACKAGECONFIG
47 sed -e 's/\s\(config_libwebp: \)/ OE_LIBWEBP_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
48}
49
50# qtwebkit gets terribly big when linking with all debug info, disable by default
51QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
52EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}"
53
54# remove default ${PN}-examples-dbg ${PN}-examples set in qt5.inc, because it conflicts with ${PN} from separate webkit-examples recipe
55PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN} ${PN}-qmlplugins-dbg ${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs "
56
57# make sure rb files are used from sysroot, not from host
58# ruby-1.9.3-always-use-i386.patch is doing target_cpu=`echo $target_cpu | sed s/i.86/i386/`
59# we need to replace it too (a bit longer version without importing re)
60RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }"
61export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}"