diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/webkit/qtwebkit-performance-utilities-e_git.bb | 4 | ||||
-rw-r--r-- | recipes/webkit/qtwebkit-performance-utilities.inc | 33 | ||||
-rw-r--r-- | recipes/webkit/qtwebkit-performance-utilities_git.bb | 4 |
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" |