summaryrefslogtreecommitdiff
path: root/packages/webkit/webkit-qt.inc
blob: 5522a7cf5359eaeeb1f1c192c5ddf087a71c39bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
WEBKIT_PORT = "qt"
WEBKIT_EXTRA_OPTIONS = ""

FILES_${PN}launcher = "${bindir}/QtLauncher"
FILES_${PN}launcher-dbg += "${bindir}/.debug/*"

RDEPENDS += "openssl"

require webkit.inc

PR = "r6"
SRC_URI += " file://qt-api-changes.diff;patch=0;pnum=0 \
             file://qtwebkit-use-image-decoders.patch;patch=0 "

do_install() {
	install -d ${D}${bindir}
	install -d ${D}${libdir}
	install -d ${D}${libdir}/pkgconfig

	install -m 0755 ${S}/WebKitBuilds/Debug/bin/QtLauncher ${D}${bindir}
	cd ${S}/WebKitBuilds/Debug
	PWD=`pwd` ${WEBKIT_QMAKE} WEBKIT_INC_DIR=${D}${prefix}/include WEBKIT_LIB_DIR=${D}${libdir} $PWD/../../WebKit.pro
	oe_runmake install

    oe_libinstall -C ${S}/WebKitBuilds/Debug/lib libQtWebKit ${D}${libdir}
}

# disabled as Qt and Qtopia will not like each other...
#do_stage_prepend() {
#    oe_libinstall -C ${S}/WebKitBuilds/Debug/lib libQtWebKit ${D}${libdir}
#}