Patchwork [2/8] qtsmarthome: Create recipe to demonstrate qt5 example.

login
register
mail settings
Submitter Neena Busireddy
Date June 30, 2014, 8:04 p.m.
Message ID <1404158675-20358-3-git-send-email-neena.busireddy@freescale.com>
Download mbox | patch
Permalink /patch/74501/
State New, archived
Headers show

Comments

Neena Busireddy - June 30, 2014, 8:04 p.m.
This is the Smarthome QML demo application showing interface
to control an automated house.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
---
 recipes-qt/examples/qtsmarthome_1.0.bb |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 recipes-qt/examples/qtsmarthome_1.0.bb
Martin Jansa - July 1, 2014, 4:17 p.m.
On Mon, Jun 30, 2014 at 03:04:29PM -0500, Neena Busireddy wrote:
> This is the Smarthome QML demo application showing interface
> to control an automated house.
> 
> This recipe originated from the wandboard wiki page
> http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard
> 
> Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
> ---
>  recipes-qt/examples/qtsmarthome_1.0.bb |   29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 recipes-qt/examples/qtsmarthome_1.0.bb
> 
> diff --git a/recipes-qt/examples/qtsmarthome_1.0.bb b/recipes-qt/examples/qtsmarthome_1.0.bb
> new file mode 100644
> index 0000000..f213f03
> --- /dev/null
> +++ b/recipes-qt/examples/qtsmarthome_1.0.bb
> @@ -0,0 +1,29 @@
> +SUMMARY = "Qt5 smarthome QML demo application"
> +DESCRIPTION = "This is the Smarthome QML demo application. It shows some user interfaces 
> +for controlling an automated house"

Also incorrectly wrapped (I'll fix it before cherry-picking to
master-next - no need to send v2).

> +HOMEPAGE = "http://www.basyskom.com/news/143-demos-qt5-port.html"
> +LICENSE = "LGPLv2.1+ & GFDL-1.2"
> +LIC_FILES_CHKSUM = "file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
> +                    file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
> +
> +DEPENDS = "qtdeclarative qtgraphicaleffects"
> +
> +SRC_URI = "http://share.basyskom.com/demos/smarthome_src.tar.gz"
> +SRC_URI[md5sum] = "883b0376239baec20ebec072e938a995"
> +SRC_URI[sha256sum] = "fceaa813c33e462bad6c0383eaef81a6f6e586c15d1fa73898173b517fc1cda6"
> +
> +S = "${WORKDIR}/smarthome_src"
> +
> +require recipes-qt/qt5/qt5.inc
> +
> +do_install() {
> +    install -d ${D}${datadir}/${P}
> +    install -m 0755 ${B}/smarthome ${D}${datadir}/${P}   
> +    cp -a ${S}/qml ${D}${datadir}/${P}  
> +    cp -a ${S}/components ${D}${datadir}/${P}  
> +}
> +
> +FILES_${PN}-dbg += "${datadir}/${P}/.debug"
> +FILES_${PN} += "${datadir}"
> +
> +RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/recipes-qt/examples/qtsmarthome_1.0.bb b/recipes-qt/examples/qtsmarthome_1.0.bb
new file mode 100644
index 0000000..f213f03
--- /dev/null
+++ b/recipes-qt/examples/qtsmarthome_1.0.bb
@@ -0,0 +1,29 @@ 
+SUMMARY = "Qt5 smarthome QML demo application"
+DESCRIPTION = "This is the Smarthome QML demo application. It shows some user interfaces 
+for controlling an automated house"
+HOMEPAGE = "http://www.basyskom.com/news/143-demos-qt5-port.html"
+LICENSE = "LGPLv2.1+ & GFDL-1.2"
+LIC_FILES_CHKSUM = "file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
+                    file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+DEPENDS = "qtdeclarative qtgraphicaleffects"
+
+SRC_URI = "http://share.basyskom.com/demos/smarthome_src.tar.gz"
+SRC_URI[md5sum] = "883b0376239baec20ebec072e938a995"
+SRC_URI[sha256sum] = "fceaa813c33e462bad6c0383eaef81a6f6e586c15d1fa73898173b517fc1cda6"
+
+S = "${WORKDIR}/smarthome_src"
+
+require recipes-qt/qt5/qt5.inc
+
+do_install() {
+    install -d ${D}${datadir}/${P}
+    install -m 0755 ${B}/smarthome ${D}${datadir}/${P}   
+    cp -a ${S}/qml ${D}${datadir}/${P}  
+    cp -a ${S}/components ${D}${datadir}/${P}  
+}
+
+FILES_${PN}-dbg += "${datadir}/${P}/.debug"
+FILES_${PN} += "${datadir}"
+
+RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"