* Qt4 based phone application for FSO based phones Signed-off-by: Christian Rüb <[email protected]> --- conf/distro/include/sane-srcrevs.inc | 1 + recipes/litephone/files/litephone.desktop | 9 +++++++++ recipes/litephone/litephone.inc | 18 ++++++++++++++++++ recipes/litephone/litephone_git.bb | 25 +++++++++++++++++++++++++ 4 files changed, 53 insertions(+), 0 deletions(-) create mode 100644 recipes/litephone/files/litephone.desktop create mode 100644 recipes/litephone/litephone.inc create mode 100644 recipes/litephone/litephone_git.bb
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 8d73043..47fef88 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -153,6 +153,7 @@ SRCREV_pn-linux-openmoko-devel ?= "a15608f241a40b41fed5bffe511355c2067c4e88" SRCREV_pn-linux-openmoko-shr-devel ?= "a15608f241a40b41fed5bffe511355c2067c4e88" SRCREV_pn-linux-openmoko-shr-drm-devel ?= "e62a4ae1c6783f41b41a9ac3d258786586b65a40" SRCREV_pn-linux-sgh-i900 ?= "7e5f8bd3864485e5fc66cb946e09f18b5a32cebc" +SRCREV_pn-litephone ?= "4c9f16d9acc6cd18fc3f647b7e4f44a2d3bdd7b6" SRCREV_pn-llvm-gcc4 ?= "374" SRCREV_pn-llvm-gcc4-cross ?= "374" SRCREV_pn-madbutterfly ?= "ecd1842714b5e982f3138cbdd358517d57be6aa3" diff --git a/recipes/litephone/files/litephone.desktop b/recipes/litephone/files/litephone.desktop new file mode 100644 index 0000000..f58bc58 --- /dev/null +++ b/recipes/litephone/files/litephone.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Litephone +Comment=Ligthweight Qt telephony app +Exec=litephone +Icon=litephone-mobile +Terminal=false +Type=Application +Categories=Applications; +StartupNotify=true diff --git a/recipes/litephone/litephone.inc b/recipes/litephone/litephone.inc new file mode 100644 index 0000000..e2ca8ca --- /dev/null +++ b/recipes/litephone/litephone.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Ligthweight Qt telephony app" +AUTHOR = "Michal Brzozowski" +HOMEPAGE = "http://www.litephone.org" +SECTION = "x11/applications" +PRIORITY = "optional" +LICENSE = "GPL QPL" +RRECOMMENDS = "fsodeviced fsogsmd fsousaged frameworkd" +INC_PR = "r0" + +inherit qt4x11 + +do_configure() { + ${OE_QMAKE_QMAKE} QMAKE_LRELEASE=lrelease4 +} + +do_compile() { + oe_runmake +} diff --git a/recipes/litephone/litephone_git.bb b/recipes/litephone/litephone_git.bb new file mode 100644 index 0000000..ab19857 --- /dev/null +++ b/recipes/litephone/litephone_git.bb @@ -0,0 +1,25 @@ +require litephone.inc + +PV = "0.1+gitr${SRCPV}" +PR = "${INC_PR}.0" + +SRC_URI = "git://git.senfdax.de/git/litephone;protocol=http \ + file://files/litephone.desktop" + +S = "${WORKDIR}/git/" + +do_install() { + install -d ${D}/${datadir}/pixmaps + install -m 644 ${S}/pics/blue/Mobile.png ${D}/${datadir}/pixmaps/litephone-mobile.png + install -d ${D}${bindir} + install -m 0755 ${S}litephone ${D}${bindir} + install -d ${D}/etc/litephone + install ${S}style_sheet.conf ${D}/etc/litephone/ + install -d ${D}/${datadir}/litephone/translations + install ${S}/translations/*.qm ${D}/${datadir}/litephone/translations/ + install -d ${D}/${datadir}/applications + install ${WORKDIR}/files/litephone.desktop ${D}/${datadir}/applications/ +} + +FILES_${PN}-locale-pl-pl += "/usr/share/litephone/translations/litephone_pl.qm" +PACKAGES =+ "${PN}-locale-pl-pl" -- 1.6.6 _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
