From e13c34792ea3d6626262daa3ecae4c7566a5bd11 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 15 Feb 2016 15:20:56 +0200 Subject: add wayland demo compositor Change-Id: I720676f6edb1789f4d073a58539e2fe929582f0e Reviewed-by: Teemu Holappa --- recipes-qt/b2qt-addons/democompositor_git.bb | 43 ++++++++++++++++++++++ .../packagegroup-b2qt-embedded-addons.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 recipes-qt/b2qt-addons/democompositor_git.bb diff --git a/recipes-qt/b2qt-addons/democompositor_git.bb b/recipes-qt/b2qt-addons/democompositor_git.bb new file mode 100644 index 0000000..0d2c3db --- /dev/null +++ b/recipes-qt/b2qt-addons/democompositor_git.bb @@ -0,0 +1,43 @@ +############################################################################## +## +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:COMM$ +## +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## $QT_END_LICENSE$ +## +############################################################################## + +DESCRIPTION = "Boot to Qt Wayland Demo Compositor" +LICENSE = "QtEnterprise" +LIC_FILES_CHKSUM = "file://main.cpp;md5=56e7f80d726792929d5d089852de7cde;beginline=1;endline=39" + +inherit qmake5 sdk-sources + +SRC_URI = " \ + git://codereview.qt-project.org/tqtc-boot2qt/demos;branch=${BRANCH};protocol=ssh;sdk-uri=5.5/Boot2Qt/sources/b2qt-demos \ + " + +SRCREV = "b6217fb2bb7702324da2a9f3f45be4a60e6ffe6c" +BRANCH = "5.6" + +S = "${WORKDIR}/git/wayland/democompositor/" + +DEPENDS = "qtbase qtwayland" +RDEPENDS_${PN} = "qtwayland (>= 5.7)" + +do_install_append() { + install -d -m0775 ${D}/usr/bin + install -m0775 ${B}/democompositor ${D}/usr/bin +} diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb index 2676e6e..7f0867e 100644 --- a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb +++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb @@ -31,4 +31,5 @@ RDEPENDS_${PN} += " \ b2qt-utils \ b2qt-launcher \ b2qt-demos \ + democompositor \ " -- cgit v1.2.3-54-g00ecf