[oe-commits] Holger Hans Peter Freyther : qtwebkit-performance-utilities: Add new recipe
git version control
git at git.openembedded.org
Thu Jan 7 12:17:10 UTC 2010
Module: openembedded.git
Branch: shr/merge
Commit: be4bdd0ffa8d542606c0c66f6784dff1977e2945
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=be4bdd0ffa8d542606c0c66f6784dff1977e2945
Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date: Thu Jan 7 13:27:11 2010 +0800
qtwebkit-performance-utilities: Add new recipe
These are some simple benchmarks and utilities for QtWebKit
---
conf/distro/include/sane-srcrevs.inc | 2 +
.../webkit/qtwebkit-performance-utilities-e_git.bb | 4 ++
recipes/webkit/qtwebkit-performance-utilities.inc | 33 ++++++++++++++++++++
.../webkit/qtwebkit-performance-utilities_git.bb | 4 ++
4 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index 3cddffd..4de3a9e 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -280,6 +280,8 @@ SRCREV_pn-qemu-native ?= "${QEMUSRCREV}"
SRCREV_pn-qemu-sdk ?= "${QEMUSRCREV}"
SRCREV_pn-qi ?= "c38b062a609f1442e6a9e13005cfbdfd59a5ac0d"
SRCREV_pn-qi-ubi ?= "c38b062a609f1442e6a9e13005cfbdfd59a5ac0d"
+SRCREV_pn-qtwebkit-performance-utilities ?= "8a39befbf5bb20dba1e5317ae55a968292d38afe"
+SRCREV_pn-qtwebkit-performance-utilities-e ?= "8a39befbf5bb20dba1e5317ae55a968292d38afe"
SRCREV_pn-remoko ?= "148"
SRCREV_pn-remoko-server ?= "148"
SRCREV_pn-s3c24xx-gpio ?= "4949"
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 0000000..5342d02
--- /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 0000000..e61f22c
--- /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 0000000..17735df
--- /dev/null
+++ b/recipes/webkit/qtwebkit-performance-utilities_git.bb
@@ -0,0 +1,4 @@
+inherit qt4x11
+
+require ${PN}.inc
+PR = "${INC_PR}.0"
More information about the Openembedded-commits
mailing list