Return-Path: Received: from mail-yh0-f45.google.com (mail-yh0-f45.google.com [209.85.213.45]) by mail.openembedded.org (Postfix) with ESMTP id 3A8256F239 for ; Sun, 23 Feb 2014 13:50:38 +0000 (UTC) Received: by mail-yh0-f45.google.com with SMTP id i57so4212567yha.32 for ; Sun, 23 Feb 2014 05:50:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=CY2uwCps2zoAv7NVcHvI+U6NHQKTDi36A6RuhrREQ48=; b=ul4kIhA8Jjg5yZKbHGrP4yy4q6kquGXPdX29KC7KA7czqEGONQjDGNoRXMAal+k6K3 0xwI+kRmckGPp/LS5WcOLlXcALAIFePvt/H55ylgT4EB5mvGIFBPnXnyBJAxWe/jUnmv rFtKIJZAFhBUCJvSYY5EpSQHmbeVg58+a+yP7KCG7QDrpXwjAgQEpgV7SH8almRajT9B kKwOM5YXcYK7RK0vW0Fvc1QW6rLN8o2S54nSMzmD/DAajhNz05PP4XdBkQwoHo3vHb3s 3XMJK3Hkm5lVEX7G6FcpRrATxUBmJOXrICDbAxRgpJ0706YskGJcx7NZyBNStw04SsQA JowA== X-Received: by 10.236.123.38 with SMTP id u26mr24070122yhh.93.1393163439732; Sun, 23 Feb 2014 05:50:39 -0800 (PST) Received: from monster.lab.ossystems.com.br ([177.194.208.225]) by mx.google.com with ESMTPSA id p63sm4246689yhl.15.2014.02.23.05.50.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 23 Feb 2014 05:50:39 -0800 (PST) Sender: Otavio Salvador From: Otavio Salvador To: openembedded-devel@lists.openembedded.org Date: Sun, 23 Feb 2014 10:50:14 -0300 Message-Id: <1393163414-9494-4-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1393163414-9494-1-git-send-email-otavio@ossystems.com.br> References: <1393163414-9494-1-git-send-email-otavio@ossystems.com.br> MIME-Version: 1.0 Cc: =?UTF-8?q?Giulian=20Gon=C3=A7alves=20Vivan?= Subject: [meta-qt5][PATCH v2 4/4] qsiv: add the qsiv 1.1 example app X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 13:50:41 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Giulian Gonçalves Vivan This provides a simple image viewer for demonstration purposes. Signed-off-by: Giulian Gonçalves Vivan --- recipes-qt/qsiv/qsiv_1.1.bb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes-qt/qsiv/qsiv_1.1.bb diff --git a/recipes-qt/qsiv/qsiv_1.1.bb b/recipes-qt/qsiv/qsiv_1.1.bb new file mode 100644 index 0000000..bb2efa6 --- /dev/null +++ b/recipes-qt/qsiv/qsiv_1.1.bb @@ -0,0 +1,28 @@ +SUMMARY = "Qt Simple Image Viewer" +DESCRIPTION = "A simple image viewer using a mix of C++ and qml code for demonstration." +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=11c7965a9059e287de5d93b98adf6d1a" +DEPENDS = "qtdeclarative" + +SRCREV = "7b9810b0f02f9ac74fae3ead6e2e9fb5c1382173" +SRC_URI = "git://code.ossystems.com.br/qt/qsiv;protocol=http" + +S = "${WORKDIR}/git" + +inherit qmake5 + +EXTRA_QMAKEVARS_PRE += "target.path=${libdir}/${P}" + +do_install_append() { + install -d ${D}${bindir} + echo "#!/bin/sh" > ${D}${bindir}/qsiv + echo "export QML_IMPORT_PATH=${libdir}/${P}/qml/qsiv" >> ${D}${bindir}/qsiv + echo "export QML2_IMPORT_PATH=${libdir}/${P}/qml/qsiv" >> ${D}${bindir}/qsiv + echo "${libdir}/${P}/qsiv \$* " >> ${D}${bindir}/qsiv + chmod +x ${D}${bindir}/qsiv +} + +FILES_${PN} += "${libdir}/${P}" +RDEPENDS_${PN} += "qtdeclarative-qmlplugins" + +FILES_${PN}-dbg += "${libdir}/${P}/.debug" -- 1.7.10.4