[Shr-Devel] [PATCH] stopwatch: new program

Christian Rüb christian.rueb at gmx.net
Sun Jan 17 20:39:14 CET 2010


* Author: Christof Musik
* can be used as stop watch
* has countdown capability (e.g. for next holiday)
* survives suspend/resume

Signed-off-by: Christian Rüb <christian.rueb at gmx.net>
---
 recipes/stopwatch/stopwatch_git.bb |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 recipes/stopwatch/stopwatch_git.bb

diff --git a/recipes/stopwatch/stopwatch_git.bb b/recipes/stopwatch/stopwatch_git.bb
new file mode 100644
index 0000000..564ce4f
--- /dev/null
+++ b/recipes/stopwatch/stopwatch_git.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "Simple Qt based stop watch"
+PN = stopwatch
+AUTHOR = "Christof Musik"
+SECTION = "x11/applications"
+PRIORITY = "optional"
+HOMEPAGE = "http://git.senfdax.de"
+LICENSE = "GPL QPL"
+DEPENDS = "qt4-x11-free"
+PV = "1.3.1-git${AUTOREV}"
+PR = "r1"
+
+inherit qt4x11
+
+SRC_URI = "git://git.senfdax.de/git/stopwatch;protocol=http;tag=master;branch=master"
+S = ${WORKDIR}/git/
+
+do_configure() {
+	${OE_QMAKE_QMAKE}
+}
+
+do_compile() {
+	oe_runmake
+}
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 0755 ${S}stopwatch ${D}${bindir}
+	install -d ${D}${datadir}/applications
+	install ${S}desktop/stopwatch.desktop ${D}${datadir}/applications/
+	install -d ${D}${datadir}/pixmaps
+	install ${S}desktop/stopwatch.png ${D}${datadir}/pixmaps/
+	install -d ${D}${datadir}/${PN}
+	install ${S}desktop/om.style ${D}${datadir}/${PN}/
+}
-- 
1.6.6



More information about the Shr-devel mailing list