summaryrefslogtreecommitdiffstats
path: root/meta/packages/webkit/webkit.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/webkit/webkit.inc')
-rw-r--r--meta/packages/webkit/webkit.inc49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/packages/webkit/webkit.inc b/meta/packages/webkit/webkit.inc
new file mode 100644
index 0000000000..2ff61091c3
--- /dev/null
+++ b/meta/packages/webkit/webkit.inc
@@ -0,0 +1,49 @@
1DEPENDS += "flex-native gperf-native perl-native sqlite3"
2SRCREV_FORMAT = "webcore-rwebkit"
3
4PACKAGES =+ "${PN}launcher-dbg ${PN}launcher"
5
6# Yes, this is wrong...
7PV = "0.1+svnr${SRCREV}"
8
9inherit qmake2 pkgconfig
10
11SRC_URI = "\
12 svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptCore;proto=http \
13 svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptGlue;proto=http \
14 svn://svn.webkit.org/repository/webkit/trunk/;module=WebCore;proto=http;name=webcore \
15 svn://svn.webkit.org/repository/webkit/trunk/;module=WebKit;proto=http;name=webkit \
16 svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;proto=http \
17 svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitTools;proto=http \
18 file://Makefile \
19 file://Makefile.shared \
20 file://WebKit.pri \
21 file://WebKit.pro \
22"
23S = "${WORKDIR}/"
24
25WEBKIT_QMAKE = "qmake2 -spec ${QMAKESPEC} -r OUTPUT_DIR=$PWD/ ${WEBKIT_EXTRA_OPTIONS} CONFIG+=${WEBKIT_PORT}"
26
27do_configure() {
28 qmake2 -spec ${QMAKESPEC} CONFIG+=${WEBKIT_PORT} ${WEBKIT_EXTRA_OPTIONS} CONFIG-=release CONFIG+=debug
29 mkdir -p WebKitBuilds/Debug
30 cd WebKitBuilds/Debug
31 PWD=`pwd` ${WEBKIT_QMAKE} WEBKIT_INC_DIR=${prefix}/include WEBKIT_LIB_DIR=${libdir} $PWD/../../WebKit.pro
32}
33
34do_compile_prepend() {
35 mkdir -p ${S}/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/
36 cd ${S}/JavaScriptCore/pcre
37 ${BUILD_CC} dftables.c -o dftables -I. -I../wtf
38 cp dftables ${S}/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/
39 cd ${S}/WebKitBuilds/Debug
40}
41
42do_stage() {
43 install -d ${STAGING_LIBDIR}
44 install -d ${STAGING_INCDIR}
45 cd ${S}/WebKitBuilds/Debug
46 PWD=`pwd` ${WEBKIT_QMAKE} WEBKIT_INC_DIR=${STAGING_INCDIR} WEBKIT_LIB_DIR=${STAGING_LIBDIR} $PWD/../../WebKit.pro
47 oe_runmake install
48}
49