summaryrefslogtreecommitdiff
path: root/recipes/webkit
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-07 13:27:11 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-07 11:21:47 +0100
commitbe4bdd0ffa8d542606c0c66f6784dff1977e2945 (patch)
tree6b0f9db460cc9c782a1217d7780d55011ef3077f /recipes/webkit
parentd542c62b5af575ecfa6c4e353b1d57c27d3e12c3 (diff)
qtwebkit-performance-utilities: Add new recipe
These are some simple benchmarks and utilities for QtWebKit
Diffstat (limited to 'recipes/webkit')
-rw-r--r--recipes/webkit/qtwebkit-performance-utilities-e_git.bb4
-rw-r--r--recipes/webkit/qtwebkit-performance-utilities.inc33
-rw-r--r--recipes/webkit/qtwebkit-performance-utilities_git.bb4
3 files changed, 41 insertions, 0 deletions
diff --git a/recipes/webkit/qtwebkit-performance-utilities-e_git.bb b/recipes/webkit/qtwebkit-performance-utilities-e_git.bb
new file mode 100644
index 0000000000..5342d02a78
--- /dev/null
+++ b/recipes/webkit/qtwebkit-performance-utilities-e_git.bb
@@ -0,0 +1,4 @@
+inherit qt4e
+
+require qtwebkit-performance-utilities.inc
+PR = "${INC_PR}.0"
diff --git a/recipes/webkit/qtwebkit-performance-utilities.inc b/recipes/webkit/qtwebkit-performance-utilities.inc
new file mode 100644
index 0000000000..e61f22ce71
--- /dev/null
+++ b/recipes/webkit/qtwebkit-performance-utilities.inc
@@ -0,0 +1,33 @@
+DESCRIPTION = "QtWebKit Performance Utilities"
+LICENSE = "GPLv3"
+
+INC_PR = "r0"
+
+DEPENDS = "gd"
+
+SRC_URI = "git://gitorious.org/qtwebkit/performance.git;protocol=git"
+S = "${WORKDIR}/git"
+PV = "0.1+gitr${SRCREV}"
+
+EXTRA_QMAKEVARS_PRE = "INSTALL_DIR=${bindir}"
+
+FILES_${PN} = "${bindir}/qtwebkit-benchmark/*"
+FILES_${PN}-dbg = "${bindir}/qtwebkit-benchmark/.debug/*"
+
+# package memusage stat
+PACKAGES += "memusagestat-dbg memusagestat"
+FILES_memusagestat = "${bindir}/*"
+FILES_memusagestat-dbg = "${bindir}/.debug/*"
+
+
+do_compile_append() {
+ cd ${S}/host-tools/memusagestat
+ ${CC} -o memusagestat memusagestat.c ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -lgd
+}
+
+do_install() {
+ oe_runmake install INSTALL_ROOT=${D}
+ cd ${S}/host-tools/memusagestat
+ install -d ${D}${bindir}
+ install -m 0755 memusagestat ${D}/${bindir}
+}
diff --git a/recipes/webkit/qtwebkit-performance-utilities_git.bb b/recipes/webkit/qtwebkit-performance-utilities_git.bb
new file mode 100644
index 0000000000..17735dff54
--- /dev/null
+++ b/recipes/webkit/qtwebkit-performance-utilities_git.bb
@@ -0,0 +1,4 @@
+inherit qt4x11
+
+require ${PN}.inc
+PR = "${INC_PR}.0"