diff options
4 files changed, 21 insertions, 3 deletions
diff --git a/meta-boot2qt-distro/conf/layer.conf b/meta-boot2qt-distro/conf/layer.conf index 268f6d3..9a218d9 100644 --- a/meta-boot2qt-distro/conf/layer.conf +++ b/meta-boot2qt-distro/conf/layer.conf | |||
@@ -34,6 +34,7 @@ BBPATH .= ":${LAYERDIR}" | |||
34 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | 34 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ |
35 | ${LAYERDIR}/recipes*/*/*.bbappend \ | 35 | ${LAYERDIR}/recipes*/*/*.bbappend \ |
36 | " | 36 | " |
37 | BBMASK += "meta-qt5/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bbappend" | ||
37 | 38 | ||
38 | BBFILE_COLLECTIONS += "b2qt-distro" | 39 | BBFILE_COLLECTIONS += "b2qt-distro" |
39 | BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/" | 40 | BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/" |
diff --git a/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend index f42e121..0271b6d 100644 --- a/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +++ b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -28,3 +28,19 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | PACKAGECONFIG_append = " faad" | 30 | PACKAGECONFIG_append = " faad" |
31 | |||
32 | inherit qmake5_paths | ||
33 | |||
34 | PACKAGECONFIG[qt5] = '--enable-qt \ | ||
35 | --with-moc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/moc" \ | ||
36 | --with-uic="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/uic" \ | ||
37 | --with-rcc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/rcc" \ | ||
38 | ,--disable-qt,qtbase qtdeclarative qtbase-native' | ||
39 | |||
40 | # The GStreamer Qt5 plugin needs desktop OpenGL or OpenGL ES to work, so make sure it is enabled | ||
41 | python() { | ||
42 | cur_packageconfig = d.getVar('PACKAGECONFIG',True).split() | ||
43 | if 'qt5' in cur_packageconfig and not (('opengl' in cur_packageconfig) or ('gles2' in cur_packageconfig)): | ||
44 | gl_packageconfig = d.getVar('PACKAGECONFIG_GL',True) | ||
45 | d.appendVar('PACKAGECONFIG', ' ' + gl_packageconfig) | ||
46 | } | ||
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend index e7c7adf..5f62fbb 100644 --- a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend +++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -37,6 +37,7 @@ PACKAGECONFIG += " \ | |||
37 | cups \ | 37 | cups \ |
38 | fontconfig \ | 38 | fontconfig \ |
39 | freetype \ | 39 | freetype \ |
40 | getentropy \ | ||
40 | gif \ | 41 | gif \ |
41 | glib \ | 42 | glib \ |
42 | ico \ | 43 | ico \ |
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index c2cc83d..212b4f5 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -26,7 +26,7 @@ | |||
26 | path="sources/meta-openembedded"/> | 26 | path="sources/meta-openembedded"/> |
27 | <project name="meta-qt5" | 27 | <project name="meta-qt5" |
28 | remote="qtyocto" | 28 | remote="qtyocto" |
29 | revision="b84881444814a361fcc17e7eb34407fb175541da" | 29 | revision="5a1ae484fa523568dd9c47f08c25ef336c2626fb" |
30 | path="sources/meta-qt5"/> | 30 | path="sources/meta-qt5"/> |
31 | <project name="meta-mingw" | 31 | <project name="meta-mingw" |
32 | remote="qtyocto" | 32 | remote="qtyocto" |