diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2018-03-02 13:08:39 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-03-12 14:12:31 +0000 |
| commit | 344c2f97025c6504ec986600498121bb83aaeb8f (patch) | |
| tree | 3d7ec602603cb083b7c8e998eddca543ce17e57c /meta-boot2qt-distro/recipes-core/packagegroups | |
| parent | d9985542d7617b43ec7180c7ade0c4f64db82b42 (diff) | |
| download | meta-boot2qt-344c2f97025c6504ec986600498121bb83aaeb8f.tar.gz | |
Split meta-boot2qt layer
Move distro specific recipes to own layer and leave only new recipes
and bbclasses to meta-boot2qt layer. This makes it easier to include
meta-boot2qt to your own distro layer to get access e.g., QDB and
QBSP recipes that might be useful even without boot2qt distro.
Task-number: QTBUG-65871
Change-Id: I6c353774dd1668b00f2d05aa262ad866b90bdef6
Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io>
Diffstat (limited to 'meta-boot2qt-distro/recipes-core/packagegroups')
5 files changed, 284 insertions, 0 deletions
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb new file mode 100644 index 0000000..9f43fff --- /dev/null +++ b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | DESCRIPTION = "Host packages for B2Qt on embedded Linux SDK" | ||
| 31 | PR = "r0" | ||
| 32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
| 33 | |||
| 34 | inherit nativesdk packagegroup | ||
| 35 | |||
| 36 | MACHINE_EXTRA_INSTALL_SDK_HOST ?= "" | ||
| 37 | |||
| 38 | python __anonymous() { | ||
| 39 | overrides = d.getVar("OVERRIDES", True).split(":") | ||
| 40 | if "mingw32" not in overrides: | ||
| 41 | d.appendVar("OVERRIDES", ":linux") | ||
| 42 | } | ||
| 43 | |||
| 44 | RDEPENDS_${PN} = "\ | ||
| 45 | nativesdk-gperf \ | ||
| 46 | ${MACHINE_EXTRA_INSTALL_SDK_HOST} \ | ||
| 47 | " | ||
| 48 | |||
| 49 | RDEPENDS_${PN}_append_linux = "\ | ||
| 50 | nativesdk-python3-modules \ | ||
| 51 | nativesdk-python3-misc \ | ||
| 52 | nativesdk-perl-modules \ | ||
| 53 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "nativesdk-wayland-dev", "", d)} \ | ||
| 54 | " | ||
| 55 | |||
| 56 | RDEPENDS_${PN}_append_mingw32 = "\ | ||
| 57 | nativesdk-make \ | ||
| 58 | nativesdk-libgcc \ | ||
| 59 | nativesdk-libstdc++ \ | ||
| 60 | " | ||
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-base.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-base.bb new file mode 100644 index 0000000..b6573e2 --- /dev/null +++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-base.bb | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | DESCRIPTION = "Packagegroup for B2Qt embedded Linux image" | ||
| 31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
| 32 | PR = "r0" | ||
| 33 | |||
| 34 | inherit packagegroup | ||
| 35 | |||
| 36 | MACHINE_EXTRA_INSTALL ?= "" | ||
| 37 | |||
| 38 | RDEPENDS_${PN} = "\ | ||
| 39 | kernel-modules \ | ||
| 40 | linux-firmware \ | ||
| 41 | ca-certificates \ | ||
| 42 | liberation-fonts \ | ||
| 43 | ttf-devanagari \ | ||
| 44 | ttf-opensans \ | ||
| 45 | ttf-dejavu-common \ | ||
| 46 | ttf-dejavu-sans \ | ||
| 47 | ttf-freefont-mono \ | ||
| 48 | otf-noto \ | ||
| 49 | dbus-session-init \ | ||
| 50 | tzdata \ | ||
| 51 | tzdata-americas \ | ||
| 52 | tzdata-asia \ | ||
| 53 | tzdata-europe \ | ||
| 54 | connman \ | ||
| 55 | rng-tools \ | ||
| 56 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "weston weston-examples", "", d)} \ | ||
| 57 | ${MACHINE_EXTRA_INSTALL} \ | ||
| 58 | " | ||
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer.bb new file mode 100644 index 0000000..b1bec0e --- /dev/null +++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image" | ||
| 31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
| 32 | PR = "r0" | ||
| 33 | |||
| 34 | inherit packagegroup | ||
| 35 | |||
| 36 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | ||
| 37 | |||
| 38 | RDEPENDS_${PN} = "\ | ||
| 39 | gstreamer1.0-meta-base \ | ||
| 40 | gstreamer1.0-meta-video \ | ||
| 41 | gstreamer1.0-meta-audio \ | ||
| 42 | gstreamer1.0-plugins-base-meta \ | ||
| 43 | gstreamer1.0-plugins-good-meta \ | ||
| 44 | gstreamer1.0-plugins-ugly-meta \ | ||
| 45 | gstreamer1.0-plugins-bad-meta \ | ||
| 46 | gstreamer1.0-libav \ | ||
| 47 | ${MACHINE_GSTREAMER_1_0_PLUGIN} \ | ||
| 48 | " | ||
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer010.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer010.bb new file mode 100644 index 0000000..af291c7 --- /dev/null +++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer010.bb | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image" | ||
| 31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
| 32 | PR = "r0" | ||
| 33 | |||
| 34 | inherit packagegroup | ||
| 35 | |||
| 36 | RDEPENDS_${PN} = "\ | ||
| 37 | gst-meta-video \ | ||
| 38 | gst-meta-audio \ | ||
| 39 | gst-plugins-good \ | ||
| 40 | gst-plugins-base-app \ | ||
| 41 | gst-plugins-base-audiorate \ | ||
| 42 | gst-plugins-base-videorate \ | ||
| 43 | gst-plugins-base-encodebin \ | ||
| 44 | gst-plugins-good-videofilter \ | ||
| 45 | gst-plugins-good-id3demux \ | ||
| 46 | gst-plugins-good-auparse \ | ||
| 47 | gst-plugins-good-isomp4 \ | ||
| 48 | gst-plugins-good-icydemux \ | ||
| 49 | gst-plugins-good-video4linux2 \ | ||
| 50 | gst-plugins-good-multifile \ | ||
| 51 | gst-plugins-good-videocrop \ | ||
| 52 | gst-plugins-good-jpeg \ | ||
| 53 | gst-plugins-ugly-rmdemux \ | ||
| 54 | gst-plugins-ugly-asf \ | ||
| 55 | gst-plugins-ugly-a52dec \ | ||
| 56 | gst-plugins-bad-mpegdemux \ | ||
| 57 | gst-plugins-bad-faad \ | ||
| 58 | gst-plugins-bad-camerabin2 \ | ||
| 59 | gst-plugins-bad-jpegformat \ | ||
| 60 | gst-plugins-ugly-mad \ | ||
| 61 | gst-plugins-ugly-mpegaudioparse \ | ||
| 62 | gst-plugins-ugly-mpeg2dec \ | ||
| 63 | gst-plugins-ugly-mpegstream \ | ||
| 64 | gst-plugins-bad-mpegvideoparse \ | ||
| 65 | gst-ffmpeg \ | ||
| 66 | " | ||
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-tools.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-tools.bb new file mode 100644 index 0000000..7644f6f --- /dev/null +++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-tools.bb | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | DESCRIPTION = "Additional tools packagegroup for B2Qt embedded Linux image" | ||
| 31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
| 32 | PR = "r0" | ||
| 33 | |||
| 34 | inherit packagegroup | ||
| 35 | |||
| 36 | RDEPENDS_${PN} = "\ | ||
| 37 | alsa-utils-amixer \ | ||
| 38 | binutils \ | ||
| 39 | binutils-symlinks \ | ||
| 40 | connman-client \ | ||
| 41 | htop \ | ||
| 42 | i2c-tools \ | ||
| 43 | iproute2 \ | ||
| 44 | ldd \ | ||
| 45 | openssh-sftp-server \ | ||
| 46 | perf \ | ||
| 47 | procps \ | ||
| 48 | rsync \ | ||
| 49 | tslib-calibrate \ | ||
| 50 | valgrind \ | ||
| 51 | ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-analyze", "", d)} \ | ||
| 52 | " | ||
