summaryrefslogtreecommitdiff
path: root/packages/webkit/webkit-qt.inc
blob: 626b691e50b6492077a0bc1e5bc3ba362c73191f (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
WEBKIT_PORT = "qt"
WEBKIT_EXTRA_OPTIONS = ""

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

RDEPENDS += "openssl"

require webkit.inc

SRC_URI += " file://qt-api-changes.diff;patch=0;pnum=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}
#}