Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
config BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
bool
|
||||
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
|
||||
default y
|
||||
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
bool
|
||||
default y
|
||||
# Javascript engine is only available on certain architectures
|
||||
depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
|
||||
depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_mipsel
|
||||
# ARM needs BLX, so v5t+
|
||||
depends on !BR2_ARM_CPU_ARMV4
|
||||
default y
|
||||
|
||||
comment "Qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
|
||||
depends on !BR2_PACKAGE_QT
|
||||
@@ -35,15 +35,15 @@ choice
|
||||
prompt "Qt5 version"
|
||||
|
||||
config BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
bool "Latest (5.8)"
|
||||
bool "Latest (5.9)"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
|
||||
# no built-in double-conversion support
|
||||
depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
|
||||
help
|
||||
This option builds Qt 5.8, which is licensed under
|
||||
(L)GPLv3+.
|
||||
This option builds Qt 5.9, which is licensed under
|
||||
(L)GPL-3.0+.
|
||||
|
||||
comment "Latest Qt version needs host/toolchain w/ gcc >= 4.8"
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_HOST_GCC_AT_LEAST_4_8
|
||||
@@ -54,13 +54,14 @@ config BR2_PACKAGE_QT5_VERSION_5_6
|
||||
bool "LTS (5.6)"
|
||||
help
|
||||
This option builds Qt 5.6, which is licensed under
|
||||
(L)GPLv2+.
|
||||
(L)GPL-2.0+.
|
||||
|
||||
endchoice
|
||||
|
||||
source "package/qt5/qt53d/Config.in"
|
||||
source "package/qt5/qt5base/Config.in"
|
||||
source "package/qt5/qt5canvas3d/Config.in"
|
||||
source "package/qt5/qt5charts/Config.in"
|
||||
source "package/qt5/qt5connectivity/Config.in"
|
||||
source "package/qt5/qt5declarative/Config.in"
|
||||
source "package/qt5/qt5enginio/Config.in"
|
||||
@@ -71,13 +72,18 @@ source "package/qt5/qt5multimedia/Config.in"
|
||||
source "package/qt5/qt5quickcontrols/Config.in"
|
||||
source "package/qt5/qt5quickcontrols2/Config.in"
|
||||
source "package/qt5/qt5script/Config.in"
|
||||
source "package/qt5/qt5scxml/Config.in"
|
||||
source "package/qt5/qt5sensors/Config.in"
|
||||
source "package/qt5/qt5serialbus/Config.in"
|
||||
source "package/qt5/qt5serialport/Config.in"
|
||||
source "package/qt5/qt5svg/Config.in"
|
||||
source "package/qt5/qt5tools/Config.in"
|
||||
source "package/qt5/qt5virtualkeyboard/Config.in"
|
||||
source "package/qt5/qt5wayland/Config.in"
|
||||
source "package/qt5/qt5webchannel/Config.in"
|
||||
source "package/qt5/qt5webkit/Config.in"
|
||||
source "package/qt5/qt5webkit-examples/Config.in"
|
||||
source "package/qt5/qt5webengine/Config.in"
|
||||
source "package/qt5/qt5websockets/Config.in"
|
||||
source "package/qt5/qt5x11extras/Config.in"
|
||||
source "package/qt5/qt5xmlpatterns/Config.in"
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5_VERSION_MAJOR = 5.8
|
||||
QT5_VERSION = $(QT5_VERSION_MAJOR).0
|
||||
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
||||
QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/submodules
|
||||
QT5_VERSION_MAJOR = 5.9
|
||||
QT5_VERSION = $(QT5_VERSION_MAJOR).6
|
||||
else
|
||||
QT5_VERSION_MAJOR = 5.6
|
||||
QT5_VERSION = $(QT5_VERSION_MAJOR).3
|
||||
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
||||
QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/submodules
|
||||
endif
|
||||
QT5_SITE = https://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
||||
|
||||
include $(sort $(wildcard package/qt5/*/*.mk))
|
||||
|
||||
@@ -28,4 +31,4 @@ define QT5_LA_PRL_FILES_FIXUP
|
||||
endef
|
||||
|
||||
# Variable for other Qt applications to use
|
||||
QT5_QMAKE = $(HOST_DIR)/usr/bin/qmake -spec devices/linux-buildroot-g++
|
||||
QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
config BR2_PACKAGE_QT53D
|
||||
bool "qt53d"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative_quick
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative_quick
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
This package corresponds to the qt53d module.
|
||||
|
||||
|
||||
This module was in tech preview in Qt 5.6, and promoted
|
||||
to a core module in Qt 5.7.0.
|
||||
|
||||
Enable the assimp package to gain the assimp sceneparser plugin.
|
||||
Enable the assimp package to gain the assimp sceneparser
|
||||
plugin.
|
||||
|
||||
http://doc.qt.io/qt-5/qt3d-index.html
|
||||
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qt3d-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 10d05a30e925fcad971126c7f47a5e32c39f007dab96b298b2094501f9607ffe qt3d-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qt3d-opensource-src-5.8.0.tar.xz
|
||||
sha256 3a224576fc922195ac0063b5b351cd6b9d13afcde9cec14317be0347d10c8ae5 qt3d-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qt3d-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 c89cbc12fde5a279e5b127651a194cae75003ba8113f9e7e7b24e67495ecff09 qt3d-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPL
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 9ae1959e86bd49b9680f78e0b49d4e52ae88a3f234d497e175e42a7e8ed59216 LICENSE.LGPLv3
|
||||
|
||||
@@ -14,16 +14,11 @@ ifeq ($(BR2_PACKAGE_ASSIMP),y)
|
||||
QT53D_DEPENDENCIES += assimp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT53D_LICENSE = GPLv2 or GPLv3 or LGPLv3
|
||||
QT53D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0
|
||||
QT53D_LICENSE_FILES = LICENSE.GPL LICENSE.GPLv3 LICENSE.LGPLv3
|
||||
else
|
||||
QT53D_LICENSE = Commercial license
|
||||
QT53D_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT53D_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT53D_BUILD_CMDS
|
||||
@@ -35,11 +30,27 @@ define QT53D_INSTALL_STAGING_CMDS
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT53D_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/qt3d $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
# Available since 5.9
|
||||
define QT53D_INSTALL_TARGET_LATEST
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/geometryloaders $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/renderplugins $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
endef
|
||||
endif
|
||||
define QT53D_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt53D*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/sceneparsers $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt3D $(TARGET_DIR)/usr/qml
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick $(TARGET_DIR)/usr/qml
|
||||
$(QT53D_INSTALL_TARGET_LATEST)
|
||||
$(QT53D_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
7
bsp/buildroot/package/qt5/qt5base/5.6.3/qt5base.hash
Normal file
7
bsp/buildroot/package/qt5/qt5base/5.6.3/qt5base.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# Hashes for license files:
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 66f6bb53f6d985a4d651bf1ecfe8bbcbe32b0f744708d588f047580ee85d8ec8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 68afaf3392f8c04218fbf29db43cc0b18bf651c1db086556aa584046de9f3e35 LICENSE.LGPLv3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 1d05f2662f0be7544c4cc238d0957d1ed5d0edc45210e9108f905df354241a0e header.BSD
|
||||
@@ -1,34 +0,0 @@
|
||||
From 74af93f5298b54bc2327843f390bf202776f2f48 Mon Sep 17 00:00:00 2001
|
||||
From: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
||||
Date: Tue, 10 Jan 2017 14:18:02 +0100
|
||||
Subject: [PATCH] fix parallel builds with -qt-freetype -system-libpng
|
||||
|
||||
freetype has no dependency on gui, so it needs to pull in gui's
|
||||
configuration manually, as that's where the system libpng is found.
|
||||
|
||||
Task-number: QTBUG-58038
|
||||
Change-Id: I881495f7d2a8f7c1a45d7d4c9e7698ff1d30f2a9
|
||||
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
||||
Reviewed-by: Joni Poikelin <joni.poikelin@qt.io>
|
||||
|
||||
Upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=4dcfd90e4fd7d4c49138038dbbcbda8794a9fbff
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
src/3rdparty/freetype/freetype.pro | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/3rdparty/freetype/freetype.pro b/src/3rdparty/freetype/freetype.pro
|
||||
index 5b1eb92e..390a6da7 100644
|
||||
--- a/src/3rdparty/freetype/freetype.pro
|
||||
+++ b/src/3rdparty/freetype/freetype.pro
|
||||
@@ -69,6 +69,7 @@ DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB
|
||||
include(../zlib_dependency.pri)
|
||||
|
||||
DEFINES += FT_CONFIG_OPTION_USE_PNG
|
||||
+include($$OUT_PWD/../../gui/qtgui-config.pri)
|
||||
QMAKE_USE_PRIVATE += libpng
|
||||
|
||||
DEFINES += TT_CONFIG_OPTION_SUBPIXEL_HINTING
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
From 35ee8b53549fab6ebffe289417e1d94298447af7 Mon Sep 17 00:00:00 2001
|
||||
From: Shawn Rutledge <shawn.rutledge@digia.com>
|
||||
Date: Fri, 10 Feb 2017 13:56:58 +0100
|
||||
Subject: [PATCH] fix VNC platform plugin build on big-endian machines
|
||||
|
||||
Task-number: QTBUG-58734
|
||||
Change-Id: I3e44ee4be5003acaba2f1b8ed2658a3ff1bd700e
|
||||
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
||||
Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
|
||||
|
||||
Upstream: http://code.qt.io/cgit/qt/qtbase.git/patch/?id=6f64bfa654fb7e20bb75ec3b0544b81482babb44
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
src/plugins/platforms/vnc/qvncclient.cpp | 6 +++---
|
||||
src/plugins/platforms/vnc/qvncscreen.cpp | 7 ++++++-
|
||||
src/plugins/platforms/vnc/qvncscreen.h | 2 +-
|
||||
3 files changed, 10 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/plugins/platforms/vnc/qvncclient.cpp b/src/plugins/platforms/vnc/qvncclient.cpp
|
||||
index dae3e83f..58dcfc9b 100644
|
||||
--- a/src/plugins/platforms/vnc/qvncclient.cpp
|
||||
+++ b/src/plugins/platforms/vnc/qvncclient.cpp
|
||||
@@ -142,7 +142,7 @@ void QVncClient::convertPixels(char *dst, const char *src, int count) const
|
||||
case 16: {
|
||||
quint16 p = *reinterpret_cast<const quint16*>(src);
|
||||
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
|
||||
- if (swapBytes)
|
||||
+ if (m_swapBytes)
|
||||
p = ((p & 0xff) << 8) | ((p & 0xff00) >> 8);
|
||||
#endif
|
||||
r = (p >> 11) & 0x1f;
|
||||
@@ -484,7 +484,7 @@ void QVncClient::setPixelFormat()
|
||||
m_sameEndian = (QSysInfo::ByteOrder == QSysInfo::BigEndian) == !!m_pixelFormat.bigEndian;
|
||||
m_needConversion = pixelConversionNeeded();
|
||||
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
|
||||
- m_swapBytes = qvnc_screen->swapBytes();
|
||||
+ m_swapBytes = server()->screen()->swapBytes();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -639,7 +639,7 @@ bool QVncClient::pixelConversionNeeded() const
|
||||
return true;
|
||||
|
||||
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
|
||||
- if (qvnc_screen->swapBytes())
|
||||
+ if (server()->screen()->swapBytes())
|
||||
return true;
|
||||
#endif
|
||||
|
||||
diff --git a/src/plugins/platforms/vnc/qvncscreen.cpp b/src/plugins/platforms/vnc/qvncscreen.cpp
|
||||
index 34def457..64f1bc0b 100644
|
||||
--- a/src/plugins/platforms/vnc/qvncscreen.cpp
|
||||
+++ b/src/plugins/platforms/vnc/qvncscreen.cpp
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <QtFbSupport/private/qfbcursor_p.h>
|
||||
|
||||
#include <QtGui/QPainter>
|
||||
+#include <QtGui/QScreen>
|
||||
#include <QtCore/QRegularExpression>
|
||||
|
||||
|
||||
@@ -172,14 +173,18 @@ QPixmap QVncScreen::grabWindow(WId wid, int x, int y, int width, int height) con
|
||||
}
|
||||
|
||||
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
|
||||
-bool QVNCScreen::swapBytes() const
|
||||
+bool QVncScreen::swapBytes() const
|
||||
{
|
||||
+ return false;
|
||||
+
|
||||
+ /* TODO
|
||||
if (depth() != 16)
|
||||
return false;
|
||||
|
||||
if (screen())
|
||||
return screen()->frameBufferLittleEndian();
|
||||
return frameBufferLittleEndian();
|
||||
+ */
|
||||
}
|
||||
#endif
|
||||
|
||||
diff --git a/src/plugins/platforms/vnc/qvncscreen.h b/src/plugins/platforms/vnc/qvncscreen.h
|
||||
index 785abd6d..0b42c3c7 100644
|
||||
--- a/src/plugins/platforms/vnc/qvncscreen.h
|
||||
+++ b/src/plugins/platforms/vnc/qvncscreen.h
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
void clearDirty() { dirtyRegion = QRegion(); }
|
||||
|
||||
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
|
||||
- bool swapBytes() const
|
||||
+ bool swapBytes() const;
|
||||
#endif
|
||||
|
||||
QStringList mArgs;
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
From c5d7425f8ad391112758db161e3e08f18dc9d299 Mon Sep 17 00:00:00 2001
|
||||
From: Marc Mutz <marc.mutz@kdab.com>
|
||||
Date: Thu, 26 May 2016 08:30:26 +0200
|
||||
Subject: [PATCH] QAtomic: pass explicit failure mode to
|
||||
std::atomic::compare_exchange_strong
|
||||
|
||||
... in an attempt to avoid GCC 4.8 errors such as
|
||||
|
||||
bits/atomic_base.h:577:70: error: failure memory model cannot be stronger than success memory model for '__atomic_compare_exchange'
|
||||
return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 0, __m1, __m2);
|
||||
^
|
||||
|
||||
as seen on Android.
|
||||
|
||||
Change-Id: If046e735888cf331d2d6506d8d5ca9aa7402f9ad
|
||||
[Bug report: https://bugreports.qt.io/browse/QTBUG-59399
|
||||
Patch sent upstream: https://codereview.qt-project.org/#/c/187980/]
|
||||
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.org>
|
||||
---
|
||||
src/corelib/arch/qatomic_cxx11.h | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/corelib/arch/qatomic_cxx11.h b/src/corelib/arch/qatomic_cxx11.h
|
||||
index bb49aae..d6731ec 100644
|
||||
--- a/src/corelib/arch/qatomic_cxx11.h
|
||||
+++ b/src/corelib/arch/qatomic_cxx11.h
|
||||
@@ -153,7 +153,7 @@ template <typename X> struct QAtomicOps
|
||||
template <typename T>
|
||||
static bool testAndSetRelaxed(std::atomic<T> &_q_value, T expectedValue, T newValue, T *currentValue = Q_NULLPTR) Q_DECL_NOTHROW
|
||||
{
|
||||
- bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_relaxed);
|
||||
+ bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_relaxed, std::memory_order_relaxed);
|
||||
if (currentValue)
|
||||
*currentValue = expectedValue;
|
||||
return tmp;
|
||||
@@ -162,7 +162,7 @@ template <typename X> struct QAtomicOps
|
||||
template <typename T>
|
||||
static bool testAndSetAcquire(std::atomic<T> &_q_value, T expectedValue, T newValue, T *currentValue = Q_NULLPTR) Q_DECL_NOTHROW
|
||||
{
|
||||
- bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_acquire);
|
||||
+ bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_acquire, std::memory_order_acquire);
|
||||
if (currentValue)
|
||||
*currentValue = expectedValue;
|
||||
return tmp;
|
||||
@@ -171,7 +171,7 @@ template <typename X> struct QAtomicOps
|
||||
template <typename T>
|
||||
static bool testAndSetRelease(std::atomic<T> &_q_value, T expectedValue, T newValue, T *currentValue = Q_NULLPTR) Q_DECL_NOTHROW
|
||||
{
|
||||
- bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_release);
|
||||
+ bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_release, std::memory_order_relaxed);
|
||||
if (currentValue)
|
||||
*currentValue = expectedValue;
|
||||
return tmp;
|
||||
@@ -180,7 +180,7 @@ template <typename X> struct QAtomicOps
|
||||
template <typename T>
|
||||
static bool testAndSetOrdered(std::atomic<T> &_q_value, T expectedValue, T newValue, T *currentValue = Q_NULLPTR) Q_DECL_NOTHROW
|
||||
{
|
||||
- bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_acq_rel);
|
||||
+ bool tmp = _q_value.compare_exchange_strong(expectedValue, newValue, std::memory_order_acq_rel, std::memory_order_acquire);
|
||||
if (currentValue)
|
||||
*currentValue = expectedValue;
|
||||
return tmp;
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
From 8902f4d7b7c532592d1a34ad117698d3e380e9e1 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Fri, 10 Mar 2017 22:23:06 +0100
|
||||
Subject: [PATCH] eglfs: fix x11 header related compile failure
|
||||
|
||||
Add egl config and QT_EGL_NO_X11 define (as all other eglfs project
|
||||
files do).
|
||||
|
||||
Task-number: QTBUG-59427
|
||||
Change-Id: Ifbb11eae0fdf0e58c0b7feecb9a7914a889c8f77
|
||||
|
||||
Upstream: https://codereview.qt-project.org/188158
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
src/plugins/platforms/eglfs/eglfs-plugin.pro | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
||||
index cf4863975a..ec229796e5 100644
|
||||
--- a/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
||||
+++ b/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
||||
@@ -2,6 +2,11 @@ TARGET = qeglfs
|
||||
|
||||
QT += eglfsdeviceintegration-private
|
||||
|
||||
+CONFIG += egl
|
||||
+
|
||||
+# Avoid X11 header collision, use generic EGL native types
|
||||
+DEFINES += QT_EGL_NO_X11
|
||||
+
|
||||
SOURCES += $$PWD/qeglfsmain.cpp
|
||||
|
||||
OTHER_FILES += $$PWD/eglfs.json
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
From fe8a9bacf781fcf290e04a08f2b8e37d881d58bb Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Thu, 27 Apr 2017 22:41:28 +0200
|
||||
Subject: [PATCH] examples: fix compile without gui module
|
||||
|
||||
Fixes:
|
||||
|
||||
Project ERROR: Could not find feature opengl.
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
examples/gui/gui.pro | 2 +-
|
||||
examples/widgets/widgets.pro | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/examples/gui/gui.pro b/examples/gui/gui.pro
|
||||
index a4d960d3f5..b8080c2075 100644
|
||||
--- a/examples/gui/gui.pro
|
||||
+++ b/examples/gui/gui.pro
|
||||
@@ -6,5 +6,5 @@ CONFIG += no_docs_target
|
||||
|
||||
SUBDIRS += analogclock
|
||||
SUBDIRS += rasterwindow
|
||||
-qtConfig(opengl): \
|
||||
+qtHaveModule(gui):qtConfig(opengl): \
|
||||
SUBDIRS += openglwindow
|
||||
diff --git a/examples/widgets/widgets.pro b/examples/widgets/widgets.pro
|
||||
index 513ddc91f2..cef4936d32 100644
|
||||
--- a/examples/widgets/widgets.pro
|
||||
+++ b/examples/widgets/widgets.pro
|
||||
@@ -22,7 +22,7 @@ SUBDIRS = \
|
||||
tutorials \
|
||||
widgets
|
||||
|
||||
-qtConfig(opengl): \
|
||||
+qtHaveModule(gui):qtConfig(opengl): \
|
||||
SUBDIRS += windowcontainer
|
||||
|
||||
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
From f0c02fb22bc277e2015a18e562b551ec7b3eed9e Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Sun, 16 Jul 2017 00:05:44 +0200
|
||||
Subject: [PATCH] Fix error attribute(target("+crc")) is unknown
|
||||
|
||||
Task-number: QTBUG-61975
|
||||
Change-Id: I0b1b55c0737dad485b5ace8e6eb7cb842589453d
|
||||
---
|
||||
src/corelib/tools/qhash.cpp | 2 ++
|
||||
src/corelib/tools/qsimd_p.h | 3 +++
|
||||
2 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp
|
||||
index 1f9c05c..bbf6efb 100644
|
||||
--- a/src/corelib/tools/qhash.cpp
|
||||
+++ b/src/corelib/tools/qhash.cpp
|
||||
@@ -144,7 +144,9 @@ static inline bool hasFastCrc32()
|
||||
}
|
||||
|
||||
template <typename Char>
|
||||
+#if defined(__aarch64__)
|
||||
QT_FUNCTION_TARGET(CRC32)
|
||||
+#endif
|
||||
static uint crc32(const Char *ptr, size_t len, uint h)
|
||||
{
|
||||
// The crc32[whbd] instructions on Aarch64/Aarch32 calculate a 32-bit CRC32 checksum
|
||||
diff --git a/src/corelib/tools/qsimd_p.h b/src/corelib/tools/qsimd_p.h
|
||||
index 023a4b0..a85d572 100644
|
||||
--- a/src/corelib/tools/qsimd_p.h
|
||||
+++ b/src/corelib/tools/qsimd_p.h
|
||||
@@ -326,7 +326,10 @@
|
||||
#endif
|
||||
// AArch64/ARM64
|
||||
#if defined(Q_PROCESSOR_ARM_V8) && defined(__ARM_FEATURE_CRC32)
|
||||
+#if defined(__aarch64__)
|
||||
+// only available on aarch64
|
||||
#define QT_FUNCTION_TARGET_STRING_CRC32 "+crc"
|
||||
+#endif
|
||||
# include <arm_acle.h>
|
||||
#endif
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
config BR2_PACKAGE_QT5BASE
|
||||
bool "qt5base"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_PCRE
|
||||
select BR2_PACKAGE_PCRE_16
|
||||
select BR2_PACKAGE_PCRE_UTF
|
||||
select BR2_PACKAGE_PCRE if BR2_PACKAGE_QT5_VERSION_5_6
|
||||
select BR2_PACKAGE_PCRE_16 if BR2_PACKAGE_QT5_VERSION_5_6
|
||||
select BR2_PACKAGE_PCRE_UTF if BR2_PACKAGE_QT5_VERSION_5_6
|
||||
select BR2_PACKAGE_PCRE2 if BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
select BR2_PACKAGE_PCRE2_16 if BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
@@ -27,18 +29,6 @@ config BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS
|
||||
E.g. to remove the Windows Vista style option, add the option
|
||||
-no-feature-style_windowsvista.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
|
||||
bool "Approve free license"
|
||||
help
|
||||
Select this if you approve one of the available free licenses for the
|
||||
Qt5 library.
|
||||
By doing this you will not be asked while the library is compiled.
|
||||
Please read and understand the license terms before approving this.
|
||||
|
||||
LGPL: http://doc.qt.io/qt-5/lgpl.html
|
||||
|
||||
See also http://doc.qt.io/qt-5/licensing.html
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_CONFIG_FILE
|
||||
string "Config file"
|
||||
help
|
||||
@@ -73,19 +63,19 @@ config BR2_PACKAGE_QT5BASE_SQL
|
||||
if BR2_PACKAGE_QT5BASE_SQL
|
||||
config BR2_PACKAGE_QT5BASE_MYSQL
|
||||
bool "MySQL Plugin"
|
||||
depends on BR2_USE_MMU # mysql
|
||||
select BR2_PACKAGE_MYSQL
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
depends on BR2_USE_MMU # mysql
|
||||
help
|
||||
Build MySQL plugin
|
||||
If unsure, say n.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_PSQL
|
||||
bool "PostgreSQL Plugin"
|
||||
select BR2_PACKAGE_POSTGRESQL
|
||||
depends on BR2_USE_MMU # postgresql
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_POSTGRESQL
|
||||
help
|
||||
Build PostgreSQL plugin
|
||||
If unsure, say n.
|
||||
@@ -180,8 +170,9 @@ config BR2_PACKAGE_QT5BASE_OPENGL_LIB
|
||||
bool "opengl module"
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
help
|
||||
This option enables the Qt5OpenGL library. This library includes
|
||||
OpenGL support classes provided to ease porting from Qt 4.x.
|
||||
This option enables the Qt5OpenGL library. This library
|
||||
includes OpenGL support classes provided to ease porting
|
||||
from Qt 4.x.
|
||||
|
||||
endif
|
||||
|
||||
@@ -210,9 +201,9 @@ comment "X.org XCB backend available if X.org is enabled"
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_EGLFS
|
||||
bool "eglfs support"
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL
|
||||
|
||||
comment "eglfs backend available if OpenGL and EGL are enabled"
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
@@ -221,12 +212,14 @@ config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
|
||||
string "Default graphical platform"
|
||||
help
|
||||
Choose the default platform abstraction to use for graphical
|
||||
applications (e.g xcb, linuxfb, eglfs, ...). If this is empty, the
|
||||
default for your architecture will be used (usually this is eglfs).
|
||||
applications (e.g xcb, linuxfb, eglfs, ...). If this is
|
||||
empty, the default for your architecture will be used
|
||||
(usually this is eglfs).
|
||||
|
||||
You can get a list of supported platforms by running a Qt application
|
||||
with the option "-platform help" on your target. You can choose a
|
||||
different platform at runtime with the -platform option.
|
||||
You can get a list of supported platforms by running a Qt
|
||||
application with the option "-platform help" on your
|
||||
target. You can choose a different platform at runtime with
|
||||
the -platform option.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
|
||||
depends on BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
@@ -239,6 +232,14 @@ config BR2_PACKAGE_QT5BASE_FONTCONFIG
|
||||
This option enables Fontconfig and Freetype support using
|
||||
the system fontconfig and freetype2 libraries.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_HARFBUZZ
|
||||
bool "harfbuzz support"
|
||||
select BR2_PACKAGE_HARFBUZZ if BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
help
|
||||
This option enables HarfBuzz support (either system harfbuzz
|
||||
if the toolchain supports __sync for 4 bytes, or the qt
|
||||
provided one which avoids this dependency by using QAtomic).
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_GIF
|
||||
bool "GIF support"
|
||||
help
|
||||
@@ -262,28 +263,31 @@ endif
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_DBUS
|
||||
bool "DBus module"
|
||||
select BR2_PACKAGE_DBUS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_PACKAGE_DBUS
|
||||
help
|
||||
This option enables the D-Bus module.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_ICU
|
||||
bool "Enable ICU support"
|
||||
select BR2_PACKAGE_ICU
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
|
||||
depends on !BR2_BINFMT_FLAT # icu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
|
||||
select BR2_PACKAGE_ICU
|
||||
help
|
||||
This option enables ICU support in Qt5. This is for example
|
||||
needed for Qt5Webkit.
|
||||
|
||||
comment "icu support needs a toolchain w/ gcc >= 4.8, host gcc >= 4.8"
|
||||
depends on !BR2_BINFMT_FLAT
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_TSLIB
|
||||
bool "Enable Tslib support"
|
||||
depends on !BR2_STATIC_LIBS # dlopen
|
||||
select BR2_PACKAGE_TSLIB
|
||||
help
|
||||
This options enables the Tslib plugin
|
||||
|
||||
comment "tslib support needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
|
||||
@@ -21,8 +21,10 @@ CONFIG += nostrip
|
||||
QMAKE_LIBS += -lrt -lpthread -ldl
|
||||
QMAKE_CFLAGS_ISYSTEM =
|
||||
|
||||
# Architecturespecific configuration
|
||||
# Architecture specific configuration
|
||||
include(arch.conf)
|
||||
|
||||
@EGLFS_DEVICE@
|
||||
|
||||
include(../common/linux_device_post.conf)
|
||||
load(qt_config)
|
||||
19
bsp/buildroot/package/qt5/qt5base/qt.conf.in
Normal file
19
bsp/buildroot/package/qt5/qt5base/qt.conf.in
Normal file
@@ -0,0 +1,19 @@
|
||||
[Paths]
|
||||
Prefix=@@HOST_DIR@@
|
||||
Sysroot=@@STAGING_DIR@@
|
||||
Headers=/usr/include/qt5
|
||||
Libraries=/usr/lib
|
||||
LibraryExecutables=/usr/libexec
|
||||
Binaries=/usr/bin
|
||||
Plugins=/usr/lib/qt/plugins
|
||||
Examples=/usr/lib/qt/examples
|
||||
Qml2Imports=/usr/qml
|
||||
Imports=/usr/imports
|
||||
Translations=/usr/translations
|
||||
Examples=/usr/lib/qt/examples
|
||||
Demos=/usr/lib/qt/examples
|
||||
Tests=/usr/tests
|
||||
Settings=/usr
|
||||
Documentation=/usr/doc
|
||||
ArchData=/usr
|
||||
Data=/usr
|
||||
@@ -1,5 +1,14 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtbase-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 fef48529a6fc2617a30d75d952cb327c6be341fd104154993922184b3b3b4da1 qtbase-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtbase-opensource-src-5.8.0.tar.xz
|
||||
sha256 c17111ae02a44dc7be1ec2cf979a47ee9e58edf4904041a525c21f4fa53fc005 qtbase-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtbase-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 eed620cb268b199bd83b3fc6a471c51d51e1dc2dbb5374fc97a0cc75facbe36f qtbase-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 68afaf3392f8c04218fbf29db43cc0b18bf651c1db086556aa584046de9f3e35 LICENSE.LGPLv3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 8fdefa0b45d9f791f687da6c2c4c83c1b701aaee2c08008f55d522af214b88f0 header.BSD
|
||||
sha256 2a886915de4f296cdae5ed67064f86dba01d0c55286d86e8487f2a5caaf40216 src/3rdparty/harfbuzz-ng/COPYING
|
||||
|
||||
@@ -8,7 +8,7 @@ QT5BASE_VERSION = $(QT5_VERSION)
|
||||
QT5BASE_SITE = $(QT5_SITE)
|
||||
QT5BASE_SOURCE = qtbase-opensource-src-$(QT5BASE_VERSION).tar.xz
|
||||
|
||||
QT5BASE_DEPENDENCIES = host-pkgconf zlib pcre
|
||||
QT5BASE_DEPENDENCIES = host-pkgconf zlib
|
||||
QT5BASE_INSTALL_STAGING = YES
|
||||
|
||||
# A few comments:
|
||||
@@ -27,6 +27,12 @@ QT5BASE_CONFIGURE_OPTS += \
|
||||
-no-pch \
|
||||
-shared
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),y)
|
||||
QT5BASE_DEPENDENCIES += pcre
|
||||
else
|
||||
QT5BASE_DEPENDENCIES += pcre2
|
||||
endif
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(call qstrip,$(BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS))
|
||||
|
||||
# Uses libgbm from mesa3d
|
||||
@@ -47,23 +53,18 @@ ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -largefile
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -opensource -confirm-license
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5BASE_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5BASE_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5BASE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5BASE_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5BASE_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5BASE_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
QT5BASE_LICENSE := $(QT5BASE_LICENSE), BSD-3c (examples)
|
||||
QT5BASE_LICENSE := $(QT5BASE_LICENSE), BSD-3-Clause (examples)
|
||||
QT5BASE_LICENSE_FILES += header.BSD
|
||||
endif
|
||||
else
|
||||
QT5BASE_LICENSE = Commercial license
|
||||
QT5BASE_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
QT5BASE_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_QT5BASE_CONFIG_FILE))
|
||||
|
||||
@@ -104,6 +105,22 @@ QT5BASE_DEPENDENCIES += freetype
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-gui -no-freetype
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_HARFBUZZ),y)
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),y)
|
||||
# system harfbuzz in case __sync for 4 bytes is supported
|
||||
QT5BASE_CONFIGURE_OPTS += -system-harfbuzz
|
||||
QT5BASE_DEPENDENCIES += harfbuzz
|
||||
else
|
||||
# qt harfbuzz otherwise (using QAtomic instead)
|
||||
QT5BASE_CONFIGURE_OPTS += -qt-harfbuzz
|
||||
QT5BASE_LICENSE := $(QT5BASE_LICENSE), MIT (harfbuzz)
|
||||
QT5BASE_LICENSE_FILES += src/3rdparty/harfbuzz-ng/COPYING
|
||||
endif
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-harfbuzz
|
||||
endif
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),-widgets,-no-widgets)
|
||||
# We have to use --enable-linuxfb, otherwise Qt thinks that -linuxfb
|
||||
# is to add a link against the "inuxfb" library.
|
||||
@@ -189,6 +206,16 @@ else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-libinput
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
# only enable gtk support if libgtk3 X11 backend is enabled
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3)$(BR2_PACKAGE_LIBGTK3_X11),yy)
|
||||
QT5BASE_CONFIGURE_OPTS += -gtk
|
||||
QT5BASE_DEPENDENCIES += libgtk3
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-gtk
|
||||
endif
|
||||
endif
|
||||
|
||||
# Build the list of libraries to be installed on the target
|
||||
QT5BASE_INSTALL_LIBS_y += Qt5Core
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XCB) += Qt5XcbQpa
|
||||
@@ -213,6 +240,11 @@ QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_PRINTSUPPORT) += Qt5PrintSupport
|
||||
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_DBUS) += Qt5DBus
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST)$(BR2_PACKAGE_IMX_GPU_VIV),yy)
|
||||
# use vivante backend
|
||||
QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_viv
|
||||
endif
|
||||
|
||||
ifneq ($(QT5BASE_CONFIG_FILE),)
|
||||
define QT5BASE_CONFIGURE_CONFIG_FILE
|
||||
cp $(QT5BASE_CONFIG_FILE) $(@D)/src/corelib/global/qconfig-buildroot.h
|
||||
@@ -228,7 +260,9 @@ endef
|
||||
endif
|
||||
|
||||
define QT5BASE_CONFIGURE_CMDS
|
||||
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qmake.conf \
|
||||
mkdir -p $(@D)/mkspecs/devices/linux-buildroot-g++/
|
||||
sed 's/@EGLFS_DEVICE@/$(QT5BASE_EGLFS_DEVICE)/g' \
|
||||
$(QT5BASE_PKGDIR)/qmake.conf.in > \
|
||||
$(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf
|
||||
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \
|
||||
$(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h
|
||||
@@ -244,7 +278,7 @@ define QT5BASE_CONFIGURE_CMDS
|
||||
./configure \
|
||||
-v \
|
||||
-prefix /usr \
|
||||
-hostprefix $(HOST_DIR)/usr \
|
||||
-hostprefix $(HOST_DIR) \
|
||||
-headerdir /usr/include/qt5 \
|
||||
-sysroot $(STAGING_DIR) \
|
||||
-plugindir /usr/lib/qt/plugins \
|
||||
@@ -263,9 +297,17 @@ define QT5BASE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
# The file "qt.conf" can be used to override the hard-coded paths that are
|
||||
# compiled into the Qt library. We need it to make "qmake" relocatable.
|
||||
define QT5BASE_INSTALL_QT_CONF
|
||||
sed -e "s|@@HOST_DIR@@|$(HOST_DIR)|" -e "s|@@STAGING_DIR@@|$(STAGING_DIR)|" \
|
||||
$(QT5BASE_PKGDIR)/qt.conf.in > $(HOST_DIR)/bin/qt.conf
|
||||
endef
|
||||
|
||||
define QT5BASE_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
$(QT5BASE_INSTALL_QT_CONF)
|
||||
endef
|
||||
|
||||
define QT5BASE_INSTALL_TARGET_LIBS
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
config BR2_PACKAGE_QT5CANVAS3D
|
||||
bool "qt5canvas3d"
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtcanvas3d-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 e99e0e159f2fba539b7947a1921072f6807f20958d32809edbf12aac571f56ff qtcanvas3d-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtcanvas3d-opensource-src-5.8.0.tar.xz
|
||||
sha256 5446f790f526f582df7790e1e1442357f61aac9c23ea9b00d4a791c9d78ccaa3 qtcanvas3d-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtcanvas3d-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 9da45991f62152c2c76931aed8a6059375fdce441b38752991e1ad2c77507c22 qtcanvas3d-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
|
||||
@@ -10,16 +10,11 @@ QT5CANVAS3D_SOURCE = qtcanvas3d-opensource-src-$(QT5CANVAS3D_VERSION).tar.xz
|
||||
QT5CANVAS3D_DEPENDENCIES = qt5base qt5declarative
|
||||
QT5CANVAS3D_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5CANVAS3D_LICENSE = GPLv2 or GPLv3 or LGPLv3
|
||||
QT5CANVAS3D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0
|
||||
QT5CANVAS3D_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3
|
||||
else
|
||||
QT5CANVAS3D_LICENSE = Commercial license
|
||||
QT5CANVAS3D_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5CANVAS3D_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5CANVAS3D_BUILD_CMDS
|
||||
|
||||
17
bsp/buildroot/package/qt5/qt5charts/Config.in
Normal file
17
bsp/buildroot/package/qt5/qt5charts/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
comment "qt5charts needs at least qt-5.7"
|
||||
depends on !BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
|
||||
config BR2_PACKAGE_QT5CHARTS
|
||||
bool "qt5charts"
|
||||
depends on BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt Charts module provides a set of easy to use chart
|
||||
components.
|
||||
|
||||
https://doc.qt.io/qt-5/qtcharts-index.html
|
||||
5
bsp/buildroot/package/qt5/qt5charts/qt5charts.hash
Normal file
5
bsp/buildroot/package/qt5/qt5charts/qt5charts.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtcharts-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 5fd60f08b1815b0e7b813c75a0ec726bffc7cc686b160bebf1e710e882ceadab qtcharts-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
61
bsp/buildroot/package/qt5/qt5charts/qt5charts.mk
Normal file
61
bsp/buildroot/package/qt5/qt5charts/qt5charts.mk
Normal file
@@ -0,0 +1,61 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5charts
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5CHARTS_VERSION = $(QT5_VERSION)
|
||||
QT5CHARTS_SITE = $(QT5_SITE)
|
||||
QT5CHARTS_SOURCE = qtcharts-opensource-src-$(QT5CHARTS_VERSION).tar.xz
|
||||
QT5CHARTS_DEPENDENCIES = qt5base
|
||||
QT5CHARTS_INSTALL_STAGING = YES
|
||||
|
||||
QT5CHARTS_LICENSE = GPL-3.0
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5CHARTS_LICENSE_FILES = LICENSE.GPL3
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5CHARTS_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5CHARTS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5CHARTS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5CHARTS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5CHARTS_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Charts*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
endef
|
||||
endif
|
||||
|
||||
# this is only built with quick support enabled
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5CHARTS_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtCharts $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5CHARTS_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/charts* $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5CHARTS_INSTALL_TARGET_CMDS
|
||||
$(QT5CHARTS_INSTALL_TARGET_LIBS)
|
||||
$(QT5CHARTS_INSTALL_TARGET_QMLS)
|
||||
$(QT5CHARTS_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -1,9 +1,9 @@
|
||||
config BR2_PACKAGE_QT5CONNECTIVITY
|
||||
bool "qt5connectivity"
|
||||
depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ_UTILS || BR2_PACKAGE_BLUEZ5_UTILS
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_CONCURRENT
|
||||
select BR2_PACKAGE_QT5BASE_DBUS
|
||||
depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ_UTILS || BR2_PACKAGE_BLUEZ5_UTILS
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtconnectivity-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 fa406e3d63fa4a2acc8ecae6d110f20c766f19a21c7061a12f3c167deb07ccde qtconnectivity-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtconnectivity-opensource-src-5.8.0.tar.xz
|
||||
sha256 7b2d01e9d67f6390a9e64bdae62e81a965b0f0b21137cf1a021e08a28bb227f1 qtconnectivity-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtconnectivity-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 6c696855c2d4e63709ba81d22c85cab30f66418eac2fb2810a02a4b47a531c57 qtconnectivity-opensource-src-5.9.6.tar.xz
|
||||
|
||||
@@ -10,20 +10,15 @@ QT5CONNECTIVITY_SOURCE = qtconnectivity-opensource-src-$(QT5CONNECTIVITY_VERSION
|
||||
QT5CONNECTIVITY_DEPENDENCIES = qt5base
|
||||
QT5CONNECTIVITY_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5CONNECTIVITY_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5CONNECTIVITY_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5CONNECTIVITY_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5CONNECTIVITY_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5CONNECTIVITY_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5CONNECTIVITY_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5CONNECTIVITY_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
QT5CONNECTIVITY_LICENSE := $(QT5CONNECTIVITY_LICENSE), BSD-3c (examples)
|
||||
endif
|
||||
else
|
||||
QT5CONNECTIVITY_LICENSE = Commercial license
|
||||
QT5CONNECTIVITY_REDISTRIBUTE = NO
|
||||
QT5CONNECTIVITY_LICENSE := $(QT5CONNECTIVITY_LICENSE), BSD-3-Clause (examples)
|
||||
endif
|
||||
|
||||
QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5DECLARATIVE),qt5declarative)
|
||||
@@ -32,7 +27,7 @@ QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils)
|
||||
QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_NEARD),neard)
|
||||
|
||||
define QT5CONNECTIVITY_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5CONNECTIVITY_BUILD_CMDS
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From b616a7e2a7e03e2eb189dca3dc428c0e19e1652b Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Thu, 6 Apr 2017 21:53:40 +0200
|
||||
Subject: [PATCH] examples: photoviewer needs widgets support
|
||||
|
||||
Fixes:
|
||||
|
||||
.../qt5declarative-5.8.0/examples/quick/demos/photoviewer/photoviewer.pro
|
||||
Project ERROR: Unknown module(s) in QT: widgets
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
examples/quick/demos/demos.pro | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/examples/quick/demos/demos.pro b/examples/quick/demos/demos.pro
|
||||
index 0644b81a2..5a6fd52ba 100644
|
||||
--- a/examples/quick/demos/demos.pro
|
||||
+++ b/examples/quick/demos/demos.pro
|
||||
@@ -7,5 +7,7 @@ SUBDIRS = samegame \
|
||||
photosurface \
|
||||
stocqt
|
||||
|
||||
-qtHaveModule(xmlpatterns): SUBDIRS += rssnews photoviewer
|
||||
-
|
||||
+qtHaveModule(xmlpatterns) {
|
||||
+ SUBDIRS += rssnews
|
||||
+ qtHaveModule(widgets): SUBDIRS += photoviewer
|
||||
+}
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
From b4db5c6cef877b33b5e7cd5a07fe4a7e6797dcfc Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Tue, 16 May 2017 19:47:19 +0200
|
||||
Subject: [PATCH] examples: qquickviewcomparison and quickwidget needs OpenGL
|
||||
support
|
||||
|
||||
Fixes:
|
||||
|
||||
main.cpp:(.text._ZN11QQmlPrivate10createIntoI6FbItemEEvPv[_ZN11QQmlPrivate10createIntoI6FbItemEEvPv]+0x18): undefined reference to `QQuickFramebufferObject::QQuickFramebufferObject(QQuickItem*)'
|
||||
.obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
|
||||
main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED2Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED5Ev]+0x5c): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
|
||||
main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev]+0x64): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x48): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x4c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xbc): undefined reference to `QQuickFramebufferObject::releaseResources()'
|
||||
.obj/moc_fbitem.o: In function `FbItem::qt_metacast(char const*)':
|
||||
moc_fbitem.cpp:(.text+0x70): undefined reference to `QQuickFramebufferObject::qt_metacast(char const*)'
|
||||
.obj/moc_fbitem.o: In function `FbItem::qt_metacall(QMetaObject::Call, int, void**)':
|
||||
moc_fbitem.cpp:(.text+0x80): undefined reference to `QQuickFramebufferObject::qt_metacall(QMetaObject::Call, int, void**)'
|
||||
.obj/moc_fbitem.o: In function `FbItem::~FbItem()':
|
||||
moc_fbitem.cpp:(.text._ZN6FbItemD2Ev[_ZN6FbItemD5Ev]+0x38): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/moc_fbitem.o: In function `FbItem::~FbItem()':
|
||||
moc_fbitem.cpp:(.text._ZN6FbItemD0Ev[_ZN6FbItemD0Ev]+0x40): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0x8): undefined reference to `typeinfo for QQuickFramebufferObject'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0x58): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0x5c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xc4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xc8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xcc): undefined reference to `QQuickFramebufferObject::releaseResources()'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xf0): undefined reference to `QQuickFramebufferObject::staticMetaObject'
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
|
||||
Note:
|
||||
An equivalent patch is upstream for qt5declarative 5.10, but it is not suitable for
|
||||
backporting to this version due to license differences.
|
||||
|
||||
---
|
||||
examples/quick/quick.pro | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/quick/quick.pro b/examples/quick/quick.pro
|
||||
index 445dfb0fa..26ca0138e 100644
|
||||
--- a/examples/quick/quick.pro
|
||||
+++ b/examples/quick/quick.pro
|
||||
@@ -36,7 +36,10 @@ qtConfig(opengl(es1|es2)?) {
|
||||
# Widget dependent examples
|
||||
qtHaveModule(widgets) {
|
||||
SUBDIRS += embeddedinwidgets
|
||||
- qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
|
||||
+ # OpenGL Support Required
|
||||
+ qtConfig(opengl(es1|es2)?) {
|
||||
+ qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
|
||||
+ }
|
||||
}
|
||||
|
||||
EXAMPLE_FILES = \
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
config BR2_PACKAGE_QT5DECLARATIVE
|
||||
bool "qt5declarative"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
select BR2_PACKAGE_QT5XMLPATTERNS
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
@@ -17,11 +17,11 @@ config BR2_PACKAGE_QT5DECLARATIVE
|
||||
if BR2_PACKAGE_QT5DECLARATIVE
|
||||
|
||||
comment "quick module needs an OpenGL-capable backend"
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && !BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
|
||||
config BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
bool "quick module"
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtdeclarative-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 f63fc053d0d16b8a9ca9308f8ead77874b470ae31b66057e2bd336bf648191fc qtdeclarative-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtdeclarative-opensource-src-5.8.0.tar.xz
|
||||
sha256 32941eb9ad12d8735dfc64de8b50b5ab830a6d8705a421c57369de7cb5708a46 qtdeclarative-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtdeclarative-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 058fd99a779a753fc5f5e887f1afb799aa53b9f010faa06374b1cfb6fc8bad8a qtdeclarative-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
|
||||
@@ -10,32 +10,24 @@ QT5DECLARATIVE_SOURCE = qtdeclarative-opensource-src-$(QT5DECLARATIVE_VERSION).t
|
||||
QT5DECLARATIVE_DEPENDENCIES = qt5base qt5xmlpatterns
|
||||
QT5DECLARATIVE_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5DECLARATIVE_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5DECLARATIVE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5DECLARATIVE_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5DECLARATIVE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5DECLARATIVE_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5DECLARATIVE_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5DECLARATIVE_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5DECLARATIVE_LICENSE = Commercial license
|
||||
QT5DECLARATIVE_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5DECLARATIVE_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5DECLARATIVE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
sub-src-all sub-tools-all
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5DECLARATIVE_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
sub-src-install_subtargets \
|
||||
sub-tools-install_subtargets
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
@@ -45,6 +37,9 @@ ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Quick*.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
define QT5DECLARATIVE_INSTALL_TARGET_QUICK_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/quick/ $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5DECLARATIVE_INSTALL_TARGET_LIBS
|
||||
@@ -55,9 +50,17 @@ endef
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5DECLARATIVE_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/qml* $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
$(QT5DECLARATIVE_INSTALL_TARGET_QUICK_EXAMPLES)
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5DECLARATIVE_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/bin/qml* $(TARGET_DIR)/usr/bin
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml $(TARGET_DIR)/usr
|
||||
$(QT5DECLARATIVE_INSTALL_TARGET_EXAMPLES)
|
||||
$(QT5DECLARATIVE_INSTALL_TARGET_LIBS)
|
||||
endef
|
||||
|
||||
|
||||
@@ -1,2 +1,9 @@
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtenginio-opensource-src-1.6.2.tar.xz.mirrorlist
|
||||
sha256 90ffc38d214a75ab0ef90a4760843f12bc073ae49c17de24c677d1d403bddcc3 qtenginio-opensource-src-1.6.2.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtenginio-opensource-src-1.6.3.tar.xz.mirrorlist
|
||||
sha256 d907060b355512ceb7a8c3f6980e3979c20d54320b6804303b6c5e8ed42d3912 qtenginio-opensource-src-1.6.3.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d LICENSE.FDL
|
||||
|
||||
@@ -6,21 +6,16 @@
|
||||
|
||||
# Qt5Enginio does not follow Qt versionning
|
||||
# see https://bugreports.qt.io/browse/QTBUG-50111
|
||||
QT5ENGINIO_VERSION = 1.6.2
|
||||
QT5ENGINIO_VERSION = 1.6.3
|
||||
QT5ENGINIO_SITE = $(QT5_SITE)
|
||||
QT5ENGINIO_SOURCE = qtenginio-opensource-src-$(QT5ENGINIO_VERSION).tar.xz
|
||||
QT5ENGINIO_DEPENDENCIES = openssl qt5base
|
||||
QT5ENGINIO_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5ENGINIO_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5ENGINIO_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5ENGINIO_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
QT5ENGINIO_LICENSE := $(QT5ENGINIO_LICENSE), BSD-3c (examples)
|
||||
endif
|
||||
else
|
||||
QT5ENGINIO_LICENSE = Commercial license
|
||||
QT5ENGINIO_REDISTRIBUTE = NO
|
||||
QT5ENGINIO_LICENSE := $(QT5ENGINIO_LICENSE), BSD-3-Clause (examples)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
@@ -28,7 +23,7 @@ QT5ENGINIO_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5ENGINIO_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5ENGINIO_BUILD_CMDS
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
config BR2_PACKAGE_QT5GRAPHICALEFFECTS
|
||||
bool "qt5graphicaleffects"
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtgraphicaleffects-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 c742592d5e45b122b29df60b69be23ba7c817f2dc471db86e054f6ea24a999ed qtgraphicaleffects-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtgraphicaleffects-opensource-src-5.8.0.tar.xz
|
||||
sha256 5f2a9b50530ac83d7c2b2ce73fbdf03ac61f83a9521e9d4b796fa17a969dd919 qtgraphicaleffects-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtgraphicaleffects-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 5f98bc62e8f27bd13853e90306e7e10f47fb06d7cd38f2e7be76bd907ef37154 qtgraphicaleffects-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
|
||||
@@ -10,21 +10,16 @@ QT5GRAPHICALEFFECTS_SOURCE = qtgraphicaleffects-opensource-src-$(QT5GRAPHICALEFF
|
||||
QT5GRAPHICALEFFECTS_DEPENDENCIES = qt5base qt5declarative
|
||||
QT5GRAPHICALEFFECTS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5GRAPHICALEFFECTS_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5GRAPHICALEFFECTS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5GRAPHICALEFFECTS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5GRAPHICALEFFECTS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5GRAPHICALEFFECTS_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5GRAPHICALEFFECTS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5GRAPHICALEFFECTS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5GRAPHICALEFFECTS_LICENSE = Commercial license
|
||||
QT5GRAPHICALEFFECTS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5GRAPHICALEFFECTS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5GRAPHICALEFFECTS_BUILD_CMDS
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtimageformats-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 efe4da3c90c976c9b9a2eb6b081d2b8e1435935695104456276ce98e8a5848c3 qtimageformats-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtimageformats-opensource-src-5.8.0.tar.xz
|
||||
sha256 75045eeac11c96194260badbdb4d3e9eb7b7f9972d18d3491230ea820be4606f qtimageformats-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtimageformats-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 158272da5e49a388b43423399592372968984323bfd543a5a992bbd466ff4060 qtimageformats-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
|
||||
@@ -10,21 +10,16 @@ QT5IMAGEFORMATS_SOURCE = qtimageformats-opensource-src-$(QT5IMAGEFORMATS_VERSION
|
||||
QT5IMAGEFORMATS_DEPENDENCIES = qt5base
|
||||
QT5IMAGEFORMATS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5IMAGEFORMATS_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5IMAGEFORMATS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5IMAGEFORMATS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5IMAGEFORMATS_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5IMAGEFORMATS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5IMAGEFORMATS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5IMAGEFORMATS_LICENSE = Commercial license
|
||||
QT5IMAGEFORMATS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5IMAGEFORMATS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5IMAGEFORMATS_BUILD_CMDS
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtlocation-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 b7a81c58cc331fb15bea8fba21d3c9a59f6dc6ad2e4855e30a14ce59a2af1466 qtlocation-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtlocation-opensource-src-5.8.0.tar.xz
|
||||
sha256 48a1e39ed989f0133aeacaa379e9c3958ec9b08c043626bba503619891d21abb qtlocation-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtlocation-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 7d65c8e155c617719e2fb56d39f11cf2bc911a43cf6667c124d86cc1a12619c9 qtlocation-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
|
||||
@@ -10,25 +10,20 @@ QT5LOCATION_SOURCE = qtlocation-opensource-src-$(QT5LOCATION_VERSION).tar.xz
|
||||
QT5LOCATION_DEPENDENCIES = qt5base
|
||||
QT5LOCATION_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5LOCATION_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5LOCATION_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5LOCATION_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5LOCATION_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5LOCATION_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5LOCATION_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5LOCATION_LICENSE = Commercial license
|
||||
QT5LOCATION_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5LOCATION_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5LOCATION_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5LOCATION_BUILD_CMDS
|
||||
@@ -62,5 +57,4 @@ define QT5LOCATION_INSTALL_TARGET_CMDS
|
||||
$(QT5LOCATION_INSTALL_TARGET_QMLS)
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -9,8 +9,8 @@ config BR2_PACKAGE_QT5MULTIMEDIA
|
||||
developers using C++.
|
||||
|
||||
The Qt Multimedia module provides a rich feature set that
|
||||
enables you to easily take advantage of a platform's multimedia
|
||||
capabilities such as media playback and the use of camera and
|
||||
radio devices.
|
||||
enables you to easily take advantage of a platform's
|
||||
multimedia capabilities such as media playback and the use
|
||||
of camera and radio devices.
|
||||
|
||||
http://doc.qt.io/qt-5/multimediaoverview.html
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtmultimedia-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 ae36039ea8037742342f1615687e0ca2188f3ed0d700627a5e5be546c15e1b46 qtmultimedia-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtmultimedia-opensource-src-5.8.0.tar.xz
|
||||
sha256 a8bc044834f95208261915feefe5e2fdb6761b76f0f99e21062963bd9f9d4a07 qtmultimedia-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtmultimedia-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 9edc11d74e10e4ef857ab38a66700259829e6b5baa4ab0b30655f549d8939fff qtmultimedia-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
|
||||
@@ -10,18 +10,13 @@ QT5MULTIMEDIA_SOURCE = qtmultimedia-opensource-src-$(QT5MULTIMEDIA_VERSION).tar.
|
||||
QT5MULTIMEDIA_DEPENDENCIES = qt5base
|
||||
QT5MULTIMEDIA_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5MULTIMEDIA_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5MULTIMEDIA_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5MULTIMEDIA_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5MULTIMEDIA_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5MULTIMEDIA_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5MULTIMEDIA_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5MULTIMEDIA_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5MULTIMEDIA_LICENSE = Commercial license
|
||||
QT5MULTIMEDIA_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += gst1-plugins-base
|
||||
@@ -39,8 +34,15 @@ ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += alsa-lib
|
||||
endif
|
||||
|
||||
# The mesa's EGL/eglplatform.h header includes X11 headers unless the flag
|
||||
# MESA_EGL_NO_X11_HEADERS is defined. Tell to not include X11 headers if
|
||||
# the libxcb is not selected.
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)x$(BR2_PACKAGE_LIBXCB),yx)
|
||||
QT5MULTIMEDIA_QMAKEFLAGS += QMAKE_CXXFLAGS+=-DMESA_EGL_NO_X11_HEADERS
|
||||
endif
|
||||
|
||||
define QT5MULTIMEDIA_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake $(QT5MULTIMEDIA_QMAKEFLAGS))
|
||||
endef
|
||||
|
||||
define QT5MULTIMEDIA_BUILD_CMDS
|
||||
@@ -66,7 +68,8 @@ define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
# this is only built with quick/opengl support enabled
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK)$(BR2_PACKAGE_QT5_GL_AVAILABLE),yy)
|
||||
define QT5MULTIMEDIA_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtMultimedia $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
@@ -74,7 +77,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/multimedia* $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/multimedia* $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
config BR2_PACKAGE_QT5QUICKCONTROLS
|
||||
bool "qt5quickcontrols"
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
@@ -14,5 +14,5 @@ config BR2_PACKAGE_QT5QUICKCONTROLS
|
||||
http://doc.qt.io/qt-5/qtquickcontrols-index.html
|
||||
|
||||
comment "qt5quickcontrols needs an OpenGL-capable backend"
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && !BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtquickcontrols-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 31bb0fc8f21b855af6ff02c415be3246128b523d0ef7c05e248e92281ab0db8e qtquickcontrols-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtquickcontrols-opensource-src-5.8.0.tar.xz
|
||||
sha256 04e70d0ccfd9ba882691a5e8f81e3428ae1b72a76bb9f43ba242f1c33bd7b326 qtquickcontrols-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtquickcontrols-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 da4dd353802197c2bb53c92a36cf7749c7d9dc29b4acc919b692683e9c1c3313 qtquickcontrols-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
|
||||
@@ -10,16 +10,16 @@ QT5QUICKCONTROLS_SOURCE = qtquickcontrols-opensource-src-$(QT5QUICKCONTROLS_VERS
|
||||
QT5QUICKCONTROLS_DEPENDENCIES = qt5base qt5declarative
|
||||
QT5QUICKCONTROLS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5QUICKCONTROLS_LICENSE = GPLv2 or GPLv3 or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5QUICKCONTROLS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5QUICKCONTROLS_LICENSE = Commercial license
|
||||
QT5QUICKCONTROLS_REDISTRIBUTE = NO
|
||||
QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
|
||||
define QT5QUICKCONTROLS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5QUICKCONTROLS_BUILD_CMDS
|
||||
@@ -30,7 +30,6 @@ define QT5QUICKCONTROLS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK)$(BR2_PACKAGE_QT5BASE_WIDGETS),yy)
|
||||
define QT5QUICKCONTROLS_INSTALL_TARGET_PRIVATEWIDGETS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/PrivateWidgets $(TARGET_DIR)/usr/qml/QtQuick
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Hashes for license files:
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 0ec5b37a28dd638c5c05c8cc940276e55c808353fe8d942c7f993c2c8b4cbe62 LICENSE.LGPLv3
|
||||
@@ -1,9 +1,9 @@
|
||||
config BR2_PACKAGE_QT5QUICKCONTROLS2
|
||||
bool "qt5quickcontrols2"
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT5_VERSION_LATEST # qt5declarative/quick
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative/quick
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative/quick
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative/quick
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
@@ -16,5 +16,5 @@ config BR2_PACKAGE_QT5QUICKCONTROLS2
|
||||
https://doc.qt.io/qt-5/qtquickcontrols2-index.html
|
||||
|
||||
comment "qt5quickcontrols2 needs an OpenGL-capable backend"
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && !BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtquickcontrols2-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 ec5078470abe2da888c2be5d1749b5961ef5132487c180ce4d4aa19ea7ff81cb qtquickcontrols2-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtquickcontrols2-opensource-src-5.8.0.tar.xz
|
||||
sha256 b099866ec74f13cf0047274c61f0486d1eba27716fa07b69f682c54d3a4ade1b qtquickcontrols2-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtquickcontrols2-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 24b41ae6acec9372190147736ba31bf0b4467c71cc4b14817e3a82a750481679 qtquickcontrols2-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 d2cfc059acb4abd8e513cd0a73cd8489f34cbafa7bc34d5d31fb3210821cf8ca LICENSE.GPLv3
|
||||
sha256 9e63a04ce021b8bf811b30881fa51c8c3db88afeead942cd59322f2fb69c75bc LICENSE.LGPLv3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
|
||||
@@ -10,16 +10,11 @@ QT5QUICKCONTROLS2_SOURCE = qtquickcontrols2-opensource-src-$(QT5QUICKCONTROLS2_V
|
||||
QT5QUICKCONTROLS2_DEPENDENCIES = qt5base qt5declarative
|
||||
QT5QUICKCONTROLS2_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5QUICKCONTROLS2_LICENSE = GPLv3 or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5QUICKCONTROLS2_LICENSE = GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5QUICKCONTROLS2_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5QUICKCONTROLS2_LICENSE = Commercial license
|
||||
QT5QUICKCONTROLS2_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5QUICKCONTROLS2_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5QUICKCONTROLS2_BUILD_CMDS
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
From daf2e222903bacf85f27dfb0fffc4459bbf58b77 Mon Sep 17 00:00:00 2001
|
||||
From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
|
||||
Date: Sun, 10 Jun 2018 08:23:50 -0400
|
||||
Subject: [PATCH] Detect 32-bits armv8-a architecture
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
These toolchains define __ARM_ARCH_8A__ (for ARM architecture version)
|
||||
and __arm__ (for 32-bits word-size; __aarch64__ for 64-bits).
|
||||
|
||||
This commit catches this new architecture (armv8a) within a #ifdef/#endif
|
||||
inside the if statement dedicated for 32-bits ARM detection. See commit
|
||||
from WebKit [1] and [2].
|
||||
|
||||
Fixes:
|
||||
|
||||
In file included from ../3rdparty/javascriptcore/JavaScriptCore/config.h:26,
|
||||
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:44:
|
||||
../3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:370:6: error: #error "Not supported ARM architecture"
|
||||
# error "Not supported ARM architecture"
|
||||
^~~~~
|
||||
|
||||
[1]: https://github.com/WebKit/webkit/commit/313d9fc4bdd2f020a5d0cf834c3c61982f161ebb
|
||||
[2]: https://github.com/WebKit/webkit/commit/98f0de0709786f5d9b09dfd5908266990eb909d6
|
||||
|
||||
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
|
||||
---
|
||||
src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
|
||||
index 00caa6d..c4b758e 100644
|
||||
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
|
||||
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
|
||||
@@ -306,6 +306,10 @@
|
||||
|| defined(__ARM_ARCH_7R__)
|
||||
#define WTF_ARM_ARCH_VERSION 7
|
||||
|
||||
+#elif defined(__ARM_ARCH_8__) \
|
||||
+ || defined(__ARM_ARCH_8A__)
|
||||
+#define WTF_ARM_ARCH_VERSION 8
|
||||
+
|
||||
/* RVCT sets _TARGET_ARCH_ARM */
|
||||
#elif defined(__TARGET_ARCH_ARM)
|
||||
#define WTF_ARM_ARCH_VERSION __TARGET_ARCH_ARM
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_QT5SCRIPT
|
||||
bool "qt5script"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtscript-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 f08720dd0e3a70377c1cb7fa3b129e24f4cdedade279e51b67c9271ab470b389 qtscript-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtscript-opensource-src-5.8.0.tar.xz
|
||||
sha256 293ab91d2d189d889dc80609aa259190fb7de636d360e904784a5ce1a45e5ad3 qtscript-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtscript-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 8dbf41abee35be4eb34a56ca3276fac83f3b8671db54c3c7e91c877225727220 qtscript-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 5094ecb9c9dcd0eadc34f3c11511d9b5535063032bc150164ecd1a5d5a445547 src/3rdparty/javascriptcore/JavaScriptCore/COPYING.LIB
|
||||
sha256 43b007cd3ac7b7ea5284b13e9580334028e6f42e859059605d57558f39374197 src/3rdparty/javascriptcore/JavaScriptCore/pcre/COPYING
|
||||
|
||||
@@ -10,16 +10,24 @@ QT5SCRIPT_SOURCE = qtscript-opensource-src-$(QT5SCRIPT_VERSION).tar.xz
|
||||
QT5SCRIPT_DEPENDENCIES = qt5base
|
||||
QT5SCRIPT_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5SCRIPT_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5SCRIPT_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
# JavaScriptCore contains files under BSD-2-Clause, BSD-3-Clause, and LGPL-2+.
|
||||
# This is linked into libQt5Script, which also contains Qt sources under
|
||||
# LGPL-2.1 (only). Therefore, the library is LGPL-2.1 and BSD-3-Clause.
|
||||
# libQt5ScriptTools is under the normal Qt opensource license.
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5SCRIPT_LICENSE = LGPL-2.1, BSD-3-Clause, LGPL-3.0 or GPL-2.0+ (libQt5ScriptTools), GFDL-1.3 (docs)
|
||||
QT5SCRIPT_LICENSE_FILES = LICENSE.LGPLv21 LICENSE.LGPLv3 LICENSE.GPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5SCRIPT_LICENSE = Commercial license
|
||||
QT5SCRIPT_REDISTRIBUTE = NO
|
||||
QT5SCRIPT_LICENSE = LGPL-2.1, BSD-3-Clause, LGPL-2.1 with exception or LGPL-3.0 with exception (libQt5ScriptTools), GFDL-1.3 (docs)
|
||||
QT5SCRIPT_LICENSE_FILES = LICENSE.LGPLv21 LICENSE.LGPLv3 LGPL_EXCEPTION.txt LICENSE.FDL
|
||||
endif
|
||||
# License files from JavaScriptCore
|
||||
QT5SCRIPT_LICENSE_FILES += \
|
||||
src/3rdparty/javascriptcore/JavaScriptCore/COPYING.LIB \
|
||||
src/3rdparty/javascriptcore/JavaScriptCore/pcre/COPYING
|
||||
|
||||
define QT5SCRIPT_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5SCRIPT_BUILD_CMDS
|
||||
|
||||
18
bsp/buildroot/package/qt5/qt5scxml/Config.in
Normal file
18
bsp/buildroot/package/qt5/qt5scxml/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_QT5SCXML
|
||||
bool "qt5scxml"
|
||||
depends on BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
The Qt SCXML module provides functionality to create state
|
||||
machines from SCXML files.
|
||||
|
||||
https://doc.qt.io/qt-5/qtscxml-index.html
|
||||
|
||||
comment "qt5scxml needs at least qt-5.9"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
8
bsp/buildroot/package/qt5/qt5scxml/qt5scxml.hash
Normal file
8
bsp/buildroot/package/qt5/qt5scxml/qt5scxml.hash
Normal file
@@ -0,0 +1,8 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtscxml-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 33947621fd6675c68d67ba11325746a82e7d582599ca0f04e03da4f60d82339a qtscxml-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
49
bsp/buildroot/package/qt5/qt5scxml/qt5scxml.mk
Normal file
49
bsp/buildroot/package/qt5/qt5scxml/qt5scxml.mk
Normal file
@@ -0,0 +1,49 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5scxml
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5SCXML_VERSION = $(QT5_VERSION)
|
||||
QT5SCXML_SITE = $(QT5_SITE)
|
||||
QT5SCXML_SOURCE = qtscxml-opensource-src-$(QT5SCXML_VERSION).tar.xz
|
||||
QT5SCXML_DEPENDENCIES = qt5base qt5declarative
|
||||
QT5SCXML_INSTALL_STAGING = YES
|
||||
|
||||
QT5SCXML_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5SCXML_LICENSE_FILES = LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
QT5SCXML_LICENSE := $(QT5SCXML_LICENSE), BSD-3-Clause (examples)
|
||||
endif
|
||||
|
||||
define QT5SCXML_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5SCXML_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5SCXML_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5SCXML_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Scxml*.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5SCXML_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/scxml $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5SCXML_INSTALL_TARGET_CMDS
|
||||
$(QT5SCXML_INSTALL_TARGET_LIBS)
|
||||
$(QT5SCXML_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -1,5 +1,17 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtsensors-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 7502d4dc5571865a7eea2a4180c3be396dfb8ce22df4c4f3d7e9ff32ab334973 qtsensors-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtsensors-opensource-src-5.8.0.tar.xz
|
||||
sha256 3a5d0639ecf8cd30c8ca349c353a8f3c424889b53831e70b6d8c481fc45de796 qtsensors-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtsensors-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 047fac53c555e685c346be53faacf581cb98d9e2a3193cb55f4e7e81fc51de27 qtsensors-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
|
||||
@@ -10,25 +10,20 @@ QT5SENSORS_SOURCE = qtsensors-opensource-src-$(QT5SENSORS_VERSION).tar.xz
|
||||
QT5SENSORS_DEPENDENCIES = qt5base
|
||||
QT5SENSORS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5SENSORS_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5SENSORS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5SENSORS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5SENSORS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5SENSORS_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5SENSORS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5SENSORS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5SENSORS_LICENSE = Commercial license
|
||||
QT5SENSORS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5SENSORS_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5SENSORS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5SENSORS_BUILD_CMDS
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtserialbus-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 71c89be3879414e2a11cad93a4882758f9259b1c0aec980560309192c99f9a9e qtserialbus-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtserialbus-opensource-src-5.8.0.tar.xz
|
||||
sha256 58343dd9f2e339d4900a2d4b54ee25ed959cf62bacb012fe61e6b99d7958c10a qtserialbus-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtserialbus-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 f3e8d0e6ff836198c9fc5b9a2a89dea3c5d604c63a62126fab6d11c2763f172a qtserialbus-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d LICENSE.FDL
|
||||
|
||||
@@ -10,16 +10,11 @@ QT5SERIALBUS_SOURCE = qtserialbus-opensource-src-$(QT5SERIALBUS_VERSION).tar.xz
|
||||
QT5SERIALBUS_DEPENDENCIES = qt5base qt5serialport
|
||||
QT5SERIALBUS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5SERIALBUS_LICENSE = GPLv2 or GPLv3 or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5SERIALBUS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5SERIALBUS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5SERIALBUS_LICENSE = Commercial license
|
||||
QT5SERIALBUS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5SERIALBUS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5SERIALBUS_BUILD_CMDS
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtserialport-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 082d1fee2703aed19f840c4e4031e37c9b929e5bd8ebef2ebac4b28c509bae1a qtserialport-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtserialport-opensource-src-5.8.0.tar.xz
|
||||
sha256 52317fded73ad0beb0a2ecf93124a8e2dfdcf14270a762c1f4fd06fb075506ad qtserialport-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtserialport-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 741dfe9d132aed411ad163304fd4485df2da0b40fe57ebce2f6ed4b4043dfcb9 qtserialport-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 e1251235ce9853eecfecfa905da9ee29e9b76e4db2a1c9c4a20699f460419b08 LICENSE.FDL
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 79949ee74297883df6e4e7c4bfe1e75a6e7695376b4a87ffc013e27bda509cb2 LGPL_EXCEPTION.txt
|
||||
|
||||
@@ -10,21 +10,16 @@ QT5SERIALPORT_SOURCE = qtserialport-opensource-src-$(QT5SERIALPORT_VERSION).tar.
|
||||
QT5SERIALPORT_DEPENDENCIES = qt5base
|
||||
QT5SERIALPORT_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5SERIALPORT_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5SERIALPORT_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5SERIALPORT_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5SERIALPORT_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5SERIALPORT_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5SERIALPORT_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5SERIALPORT_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5SERIALPORT_LICENSE = Commercial license
|
||||
QT5SERIALPORT_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5SERIALPORT_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5SERIALPORT_BUILD_CMDS
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtsvg-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 100f183517b46554079beabd8d2cabe3070a74dd0a2e64b6a304eac71cfadcec qtsvg-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtsvg-opensource-src-5.8.0.tar.xz
|
||||
sha256 9873191c211ab4da9c0bc47b1e3549f475db4d448bba3175e0f86b24eefadc89 qtsvg-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtsvg-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 4318ce3c1f94ca865e3405aefb927f257ca824c5adc482302f1449ed34dbd8b8 qtsvg-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
|
||||
@@ -10,21 +10,16 @@ QT5SVG_SOURCE = qtsvg-opensource-src-$(QT5SVG_VERSION).tar.xz
|
||||
QT5SVG_DEPENDENCIES = qt5base
|
||||
QT5SVG_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5SVG_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5SVG_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5SVG_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5SVG_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5SVG_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5SVG_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5SVG_LICENSE = Commercial license
|
||||
QT5SVG_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5SVG_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5SVG_BUILD_CMDS
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qttools-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 1a63ba838058d73cb540040589b235ded77f76402693decfd6d4d3c75ea67926 qttools-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qttools-opensource-src-5.8.0.tar.xz
|
||||
sha256 95ec8e76d393b6ba26ffff5041fce41946d2bf3aec1402c6533e24d9fc269d83 qttools-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qttools-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 50e75417ec0c74bb8b1989d1d8e981ee83690dce7dfc0c2169f7c00f397e5117 qttools-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 8ab0b8fe7c8e580e8c571b8fa455baf307e9394d4b3ac53ce50d8e960a8934c5 LICENSE.GPLv3
|
||||
sha256 66f6bb53f6d985a4d651bf1ecfe8bbcbe32b0f744708d588f047580ee85d8ec8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 68afaf3392f8c04218fbf29db43cc0b18bf651c1db086556aa584046de9f3e35 LICENSE.LGPLv3
|
||||
|
||||
@@ -19,18 +19,13 @@ ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5TOOLS_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5TOOLS_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5TOOLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5TOOLS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5TOOLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5TOOLS_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5TOOLS_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5TOOLS_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5TOOLS_LICENSE = Commercial license
|
||||
QT5TOOLS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS) += \
|
||||
linguist/lconvert linguist/lrelease linguist/lupdate
|
||||
@@ -54,7 +49,7 @@ QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo
|
||||
|
||||
define QT5TOOLS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5TOOLS_BUILD_CMDS
|
||||
|
||||
58
bsp/buildroot/package/qt5/qt5virtualkeyboard/Config.in
Normal file
58
bsp/buildroot/package/qt5/qt5virtualkeyboard/Config.in
Normal file
@@ -0,0 +1,58 @@
|
||||
comment "qt5virtualkeyboard needs at least qt-5.7 and an OpenGL backend"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && !BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
|
||||
config BR2_PACKAGE_QT5VIRTUALKEYBOARD
|
||||
bool "qt5virtualkeyboard"
|
||||
# needs at least Qt 5.7
|
||||
depends on BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT5_VERSION_LATEST # qt5declarative/quick
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
select BR2_PACKAGE_QT5SVG
|
||||
help
|
||||
Qt Virtual Keyboard is a virtual keyboard framework that
|
||||
consists of a C++ backend supporting custom input methods as
|
||||
well as a UI frontend implemented in QML.
|
||||
|
||||
if BR2_PACKAGE_QT5VIRTUALKEYBOARD
|
||||
|
||||
config BR2_PACKAGE_QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS
|
||||
string "language layouts"
|
||||
default "en_GB"
|
||||
help
|
||||
The Virtual Keyboard supports the following languages:
|
||||
- Arabic (ar_AR)
|
||||
- Danish (da_DK)
|
||||
- English (en_GB)
|
||||
- Finnish (fi_FI)
|
||||
- French (fr_FR)
|
||||
- German (de_DE)
|
||||
- Hindi (hi_IN)
|
||||
- Italian (it_IT)
|
||||
- Japanese (ja_JP)
|
||||
- Korean (ko_KR)
|
||||
- Norwegian (nb_NO)
|
||||
- Persian/Farsi (fa_FA)
|
||||
- Polish (pl_PL)
|
||||
- Portugese (pt_PT)
|
||||
- Romanian (ro_RO)
|
||||
- Russian (ru_RU)
|
||||
- Simplified Chinese (zh_CN)
|
||||
- Traditional Chinese (zh_TW)
|
||||
- Spanish (es_ES)
|
||||
- Swedish (sv_SE)
|
||||
|
||||
Note: the special value "all" can be used to install support
|
||||
for all supported languages.
|
||||
|
||||
config BR2_PACKAGE_QT5VIRTUALKEYBOARD_HANDWRITING
|
||||
bool "handwriting"
|
||||
help
|
||||
Handwriting support, with gestures for fullscreen input.
|
||||
|
||||
Lipi Toolkit (LipiTk) is an open source toolkit for online
|
||||
Handwriting Recognition.
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,6 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtvirtualkeyboard-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 217d8502f3f53b62e6e9108e0afb3694cf1d8ae8a6348d3625e3192fc126128c qtvirtualkeyboard-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 7a45a9769d19545480a241230e6ea520b5156fac00930dcd69b6886749743d10 src/virtualkeyboard/3rdparty/lipi-toolkit/MIT_LICENSE.txt
|
||||
@@ -0,0 +1,78 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5virtualkeyboard
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5VIRTUALKEYBOARD_VERSION = $(QT5_VERSION)
|
||||
QT5VIRTUALKEYBOARD_SITE = $(QT5_SITE)
|
||||
QT5VIRTUALKEYBOARD_SOURCE = qtvirtualkeyboard-opensource-src-$(QT5VIRTUALKEYBOARD_VERSION).tar.xz
|
||||
QT5VIRTUALKEYBOARD_DEPENDENCIES = qt5base qt5declarative qt5svg
|
||||
QT5VIRTUALKEYBOARD_INSTALL_STAGING = YES
|
||||
|
||||
QT5VIRTUALKEYBOARD_LICENSE = GPL-3.0
|
||||
QT5VIRTUALKEYBOARD_LICENSE_FILES = LICENSE.GPL3
|
||||
|
||||
QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS = $(call qstrip,$(BR2_PACKAGE_QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS))
|
||||
ifneq ($(strip $(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),)
|
||||
QT5VIRTUALKEYBOARD_QMAKEFLAGS += CONFIG+="$(foreach lang,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS),lang-$(lang))"
|
||||
|
||||
ifneq ($(filter ja_JP all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),)
|
||||
QT5VIRTUALKEYBOARD_LICENSE := $(QT5VIRTUALKEYBOARD_LICENSE), Apache-2.0 (openwnn)
|
||||
QT5VIRTUALKEYBOARD_LICENSE_FILES += src/virtualkeyboard/3rdparty/openwnn/NOTICE
|
||||
endif
|
||||
|
||||
ifneq ($(filter zh_CN all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),)
|
||||
QT5VIRTUALKEYBOARD_3RDPARTY_PARTS = YES
|
||||
QT5VIRTUALKEYBOARD_LICENSE := $(QT5VIRTUALKEYBOARD_LICENSE), Apache-2.0 (pinyin)
|
||||
QT5VIRTUALKEYBOARD_LICENSE_FILES += src/virtualkeyboard/3rdparty/pinyin/NOTICE
|
||||
endif
|
||||
|
||||
ifneq ($(filter zh_TW all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),)
|
||||
QT5VIRTUALKEYBOARD_3RDPARTY_PARTS = YES
|
||||
QT5VIRTUALKEYBOARD_LICENSE := $(QT5VIRTUALKEYBOARD_LICENSE), Apache-2.0 (tcime), BSD-3-Clause (tcime)
|
||||
QT5VIRTUALKEYBOARD_LICENSE_FILES += src/virtualkeyboard/3rdparty/tcime/COPYING
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5VIRTUALKEYBOARD_HANDWRITING),y)
|
||||
QT5VIRTUALKEYBOARD_3RDPARTY_PARTS = YES
|
||||
QT5VIRTUALKEYBOARD_QMAKEFLAGS += CONFIG+=handwriting
|
||||
QT5VIRTUALKEYBOARD_LICENSE := $(QT5VIRTUALKEYBOARD_LICENSE), MIT (lipi-toolkit)
|
||||
QT5VIRTUALKEYBOARD_LICENSE_FILES += src/virtualkeyboard/3rdparty/lipi-toolkit/MIT_LICENSE.txt
|
||||
endif
|
||||
|
||||
ifdef QT5VIRTUALKEYBOARD_3RDPARTY_PARTS
|
||||
define QT5VIRTUALKEYBOARD_INSTALL_TARGET_3RDPARTY_PARTS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qtvirtualkeyboard $(TARGET_DIR)/usr
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5VIRTUALKEYBOARD_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake $(QT5VIRTUALKEYBOARD_QMAKEFLAGS))
|
||||
endef
|
||||
|
||||
define QT5VIRTUALKEYBOARD_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5VIRTUALKEYBOARD_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5VIRTUALKEYBOARD_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/virtualkeyboard $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5VIRTUALKEYBOARD_INSTALL_TARGET_CMDS
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/qt/plugins/platforminputcontexts
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so \
|
||||
$(TARGET_DIR)/usr/lib/qt/plugins/platforminputcontexts
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/VirtualKeyboard $(TARGET_DIR)/usr/qml/QtQuick
|
||||
$(QT5VIRTUALKEYBOARD_INSTALL_TARGET_3RDPARTY_PARTS)
|
||||
$(QT5VIRTUALKEYBOARD_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
27
bsp/buildroot/package/qt5/qt5wayland/Config.in
Normal file
27
bsp/buildroot/package/qt5/qt5wayland/Config.in
Normal file
@@ -0,0 +1,27 @@
|
||||
comment "qt5wayland needs an OpenGL-capable backend"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
|
||||
config BR2_PACKAGE_QT5WAYLAND
|
||||
bool "qt5wayland"
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_WAYLAND
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
This package corresponds to the qt5wayland module.
|
||||
|
||||
http://qt.io
|
||||
|
||||
if BR2_PACKAGE_QT5WAYLAND
|
||||
|
||||
config BR2_PACKAGE_QT5WAYLAND_COMPOSITOR
|
||||
bool "Enable compositor (experimental)"
|
||||
help
|
||||
The compositor API is still experimental, and not built by
|
||||
default.
|
||||
|
||||
endif
|
||||
16
bsp/buildroot/package/qt5/qt5wayland/qt5wayland.hash
Normal file
16
bsp/buildroot/package/qt5/qt5wayland/qt5wayland.hash
Normal file
@@ -0,0 +1,16 @@
|
||||
# hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtwayland-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 5a475278b2db73aa7fa7f3ba6d98d8d72774f5c77e172495007d79f91d09daa3 qtwayland-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtwayland-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 6dd066b1ab518b16dc2bebc4b3629528a30161cfce48ce5d8482c67a570667d8 qtwayland-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
68
bsp/buildroot/package/qt5/qt5wayland/qt5wayland.mk
Normal file
68
bsp/buildroot/package/qt5/qt5wayland/qt5wayland.mk
Normal file
@@ -0,0 +1,68 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5wayland
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5WAYLAND_VERSION = $(QT5_VERSION)
|
||||
QT5WAYLAND_SITE = $(QT5_SITE)
|
||||
QT5WAYLAND_SOURCE = qtwayland-opensource-src-$(QT5WAYLAND_VERSION).tar.xz
|
||||
QT5WAYLAND_DEPENDENCIES = qt5base qt5declarative wayland
|
||||
QT5WAYLAND_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y)
|
||||
QT5WAYLAND_DEPENDENCIES += libxkbcommon
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5WAYLAND_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5WAYLAND_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5WAYLAND_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5WAYLAND_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5WAYLAND_COMPOSITOR),y)
|
||||
QT5WAYLAND_QMAKEFLAGS += CONFIG+=wayland-compositor
|
||||
endif
|
||||
|
||||
# The mesa's EGL/eglplatform.h header includes X11 headers unless the flag
|
||||
# MESA_EGL_NO_X11_HEADERS is defined. Tell to not include X11 headers if
|
||||
# the libxcb is not selected.
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)x$(BR2_PACKAGE_LIBXCB),yx)
|
||||
QT5WAYLAND_QMAKEFLAGS += QMAKE_CXXFLAGS+=-DMESA_EGL_NO_X11_HEADERS
|
||||
endif
|
||||
|
||||
define QT5WAYLAND_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake $(QT5WAYLAND_QMAKEFLAGS))
|
||||
endef
|
||||
|
||||
define QT5WAYLAND_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5WAYLAND_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5WAYLAND_COMPOSITOR),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
define QT5WAYLAND_INSTALL_COMPOSITOR
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5WaylandCompositor.so* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
else
|
||||
define QT5WAYLAND_INSTALL_COMPOSITOR
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Compositor.so* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
endif
|
||||
|
||||
define QT5WAYLAND_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5WaylandClient.so* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/wayland* $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/platforms/libqwayland* $(TARGET_DIR)/usr/lib/qt/plugins/platforms
|
||||
$(QT5WAYLAND_INSTALL_COMPOSITOR)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -1,5 +1,17 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtwebchannel-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 8eb1b0ac2286653c7932758c21e7760788a5d7cfd6162da09afa926d5be50713 qtwebchannel-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtwebchannel-opensource-src-5.8.0.tar.xz
|
||||
sha256 5bf5b15413baa235ee2cbfd136ea3b9303b32879b54f9f25bfb4dc96d37d0b4a qtwebchannel-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtwebchannel-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 222df712c661d4003eebf28806cfd25047721e1c21b70ca320c5978c4a2c7ba5 qtwebchannel-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
|
||||
@@ -10,20 +10,15 @@ QT5WEBCHANNEL_SOURCE = qtwebchannel-opensource-src-$(QT5WEBCHANNEL_VERSION).tar.
|
||||
QT5WEBCHANNEL_DEPENDENCIES = qt5base qt5websockets
|
||||
QT5WEBCHANNEL_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5WEBCHANNEL_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5WEBCHANNEL_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
QT5WEBCHANNEL_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5WEBCHANNEL_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5WEBCHANNEL_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5WEBCHANNEL_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5WEBCHANNEL_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
QT5WEBCHANNEL_LICENSE := $(QT5WEBCHANNEL_LICENSE), BSD-3c (examples)
|
||||
endif
|
||||
else
|
||||
QT5WEBCHANNEL_LICENSE = Commercial license
|
||||
QT5WEBCHANNEL_REDISTRIBUTE = NO
|
||||
QT5WEBCHANNEL_LICENSE := $(QT5WEBCHANNEL_LICENSE), BSD-3-Clause (examples)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
@@ -31,7 +26,7 @@ QT5WEBCHANNEL_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5WEBCHANNEL_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5WEBCHANNEL_BUILD_CMDS
|
||||
@@ -43,10 +38,17 @@ define QT5WEBCHANNEL_INSTALL_STAGING_CMDS
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT
|
||||
$(INSTALL) -m 0644 -D $(@D)/examples/webchannel/shared/qwebchannel.js \
|
||||
$(TARGET_DIR)/var/www/qwebchannel.js
|
||||
endef
|
||||
else
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/webchannel/qwebchannel.js \
|
||||
$(TARGET_DIR)/var/www/qwebchannel.js
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_QMLS
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From fc41c0f572ff347142cca4bf5d82b87782bb5906 Mon Sep 17 00:00:00 2001
|
||||
From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
|
||||
Date: Thu, 23 Nov 2017 16:18:06 -0500
|
||||
Subject: [PATCH] Change default SSL directory
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Change the default SSL directory, as buildroot ca-cert package is
|
||||
installed at /etc/ssl. That way, we don't have to use the SSL_CERT_DIR
|
||||
environment at runtime.
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
|
||||
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
|
||||
---
|
||||
src/core/qtwebengine_extras.gypi | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi
|
||||
index 229421ef..3b2386c0 100644
|
||||
--- a/src/core/qtwebengine_extras.gypi
|
||||
+++ b/src/core/qtwebengine_extras.gypi
|
||||
@@ -96,7 +96,7 @@
|
||||
'GL_GLEXT_PROTOTYPES',
|
||||
'EGL_EGLEXT_PROTOTYPES',
|
||||
# At runtime the env variable SSL_CERT_DIR can be used to override this
|
||||
- 'OPENSSLDIR="/usr/lib/ssl"',
|
||||
+ 'OPENSSLDIR="/etc/ssl"',
|
||||
'OPENSSL_LOAD_CONF',
|
||||
'EGL_API_FB=1',
|
||||
'LINUX=1',
|
||||
--
|
||||
2.15.0
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
From bdfd084296681bcead17c42f1e5cf0e24ee04f65 Mon Sep 17 00:00:00 2001
|
||||
From: Viktor Engelmann <viktor.engelmann@qt.io>
|
||||
Date: Fri, 7 Jul 2017 12:56:19 +0200
|
||||
Subject: [PATCH] Load libEGL and libGLES2 symbols implicitly
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Instead of explicitly loading libraries from hard-coded locations,
|
||||
we now just call dlopen(NULL, RTLD_LAZY). This returns a handle to
|
||||
the host process'es context, which already contains the symbols of
|
||||
both these libraries, because we link against them.
|
||||
It was necessary to bypass LoadLibrary, because that expects a non-NULL
|
||||
file path, so we couldn't pass NULL through that interface.
|
||||
|
||||
Upstream-Status: Merged
|
||||
Task-number: QTBUG-57761
|
||||
Change-Id: I29f037dfe542222b5188a33c7727c81a464a87bb
|
||||
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
||||
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
||||
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
|
||||
[gportay: backport from 5.9 and merge conflicts]
|
||||
---
|
||||
src/core/surface_factory_qt.cpp | 40 ++++++++--------------------------------
|
||||
1 file changed, 8 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/src/core/surface_factory_qt.cpp b/src/core/surface_factory_qt.cpp
|
||||
index 48c91bfc..c6059b67 100644
|
||||
--- a/src/core/surface_factory_qt.cpp
|
||||
+++ b/src/core/surface_factory_qt.cpp
|
||||
@@ -51,51 +51,27 @@
|
||||
#if defined(USE_OZONE)
|
||||
|
||||
#include <EGL/egl.h>
|
||||
-
|
||||
-#ifndef QT_LIBDIR_EGL
|
||||
-#define QT_LIBDIR_EGL "/usr/lib"
|
||||
-#endif
|
||||
-#ifndef QT_LIBDIR_GLES2
|
||||
-#define QT_LIBDIR_GLES2 QT_LIBDIR_EGL
|
||||
-#endif
|
||||
+#include <dlfcn.h>
|
||||
|
||||
namespace QtWebEngineCore {
|
||||
|
||||
-base::NativeLibrary LoadLibrary(const base::FilePath& filename) {
|
||||
- base::NativeLibraryLoadError error;
|
||||
- base::NativeLibrary library = base::LoadNativeLibrary(filename, &error);
|
||||
- if (!library) {
|
||||
- LOG(ERROR) << "Failed to load " << filename.MaybeAsASCII() << ": " << error.ToString();
|
||||
- return NULL;
|
||||
- }
|
||||
- return library;
|
||||
-}
|
||||
-
|
||||
bool SurfaceFactoryQt::LoadEGLGLES2Bindings(AddGLLibraryCallback add_gl_library, SetGLGetProcAddressProcCallback set_gl_get_proc_address)
|
||||
{
|
||||
- base::FilePath libEGLPath = QtWebEngineCore::toFilePath(QT_LIBDIR_EGL);
|
||||
- libEGLPath = libEGLPath.Append("libEGL.so.1");
|
||||
- base::NativeLibrary eglLibrary = LoadLibrary(libEGLPath);
|
||||
- if (!eglLibrary)
|
||||
- return false;
|
||||
-
|
||||
- base::FilePath libGLES2Path = QtWebEngineCore::toFilePath(QT_LIBDIR_GLES2);
|
||||
- libGLES2Path = libGLES2Path.Append("libGLESv2.so.2");
|
||||
- base::NativeLibrary gles2Library = LoadLibrary(libGLES2Path);
|
||||
- if (!gles2Library)
|
||||
+ base::NativeLibrary eglgles2Library = dlopen(NULL, RTLD_LAZY);
|
||||
+ if (!eglgles2Library) {
|
||||
+ LOG(ERROR) << "Failed to open EGL/GLES2 context " << dlerror();
|
||||
return false;
|
||||
+ }
|
||||
|
||||
- gfx::GLGetProcAddressProc get_proc_address = reinterpret_cast<gfx::GLGetProcAddressProc>(base::GetFunctionPointerFromNativeLibrary(eglLibrary, "eglGetProcAddress"));
|
||||
+ gfx::GLGetProcAddressProc get_proc_address = reinterpret_cast<gfx::GLGetProcAddressProc>(base::GetFunctionPointerFromNativeLibrary(eglgles2Library, "eglGetProcAddress"));
|
||||
if (!get_proc_address) {
|
||||
LOG(ERROR) << "eglGetProcAddress not found.";
|
||||
- base::UnloadNativeLibrary(eglLibrary);
|
||||
- base::UnloadNativeLibrary(gles2Library);
|
||||
+ base::UnloadNativeLibrary(eglgles2Library);
|
||||
return false;
|
||||
}
|
||||
|
||||
gfx::SetGLGetProcAddressProc(get_proc_address);
|
||||
- gfx::AddGLNativeLibrary(eglLibrary);
|
||||
- gfx::AddGLNativeLibrary(gles2Library);
|
||||
+ gfx::AddGLNativeLibrary(eglgles2Library);
|
||||
return true;
|
||||
}
|
||||
|
||||
--
|
||||
2.15.0
|
||||
|
||||
94
bsp/buildroot/package/qt5/qt5webengine/Config.in
Normal file
94
bsp/buildroot/package/qt5/qt5webengine/Config.in
Normal file
@@ -0,0 +1,94 @@
|
||||
config BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_aarch64 || BR2_arm || \
|
||||
BR2_i386 || BR2_x86_64 || \
|
||||
BR2_mips || BR2_mips64
|
||||
# -m32 flag is used for 32bit builds and host tools have
|
||||
# limited architecture support
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
|
||||
depends on !BR2_BINFMT_FLAT # qt5base-icu
|
||||
depends on BR2_USE_MMU # libglib2, qt5base-dbus
|
||||
|
||||
comment "qt5webengine needs udev /dev management and a glibc toolchain w/ gcc >= 4.8, host gcc >= 4.8, threads, wchar"
|
||||
depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
|
||||
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
|
||||
comment "qt5webengine needs an OpenGL and EGL-capable backend"
|
||||
depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
|
||||
|
||||
config BR2_PACKAGE_QT5WEBENGINE
|
||||
bool "qt5webengine"
|
||||
depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h, mallinfo
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # qt5base-icu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # qt5base-icu
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libvpx, qt5base-dbus
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative, qt5base-eglfs
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL # qt5base-eglfs
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
# v8 (a chromium 3rd-party) compiles its internal host-tools with the
|
||||
# same word size as the target. For 32-bits targets, it adds the -m32
|
||||
# flag (for 64-bits, it adds the -m64 flag).
|
||||
# https://github.com/v8/v8/blob/5.6.326.55/gypfiles/toolchain.gypi#L1036-L1037
|
||||
select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64 # v8/chromium
|
||||
select BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBVPX
|
||||
select BR2_PACKAGE_OPUS
|
||||
select BR2_PACKAGE_WEBP
|
||||
select BR2_PACKAGE_WEBP_DEMUX
|
||||
select BR2_PACKAGE_QT5BASE_DBUS
|
||||
select BR2_PACKAGE_QT5BASE_EGLFS
|
||||
select BR2_PACKAGE_QT5BASE_FONTCONFIG
|
||||
select BR2_PACKAGE_QT5BASE_ICU
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
select BR2_PACKAGE_QT5QUICKCONTROLS
|
||||
select BR2_PACKAGE_QT5QUICKCONTROLS2
|
||||
select BR2_PACKAGE_QT5WEBCHANNEL
|
||||
select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB
|
||||
select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB
|
||||
select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_QT5BASE_XCB
|
||||
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_QT5BASE_XCB
|
||||
select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_QT5BASE_XCB
|
||||
select BR2_PACKAGE_XLIB_LIBXTST if BR2_PACKAGE_QT5BASE_XCB
|
||||
help
|
||||
The Qt WebEngine module provides a web browser engine that
|
||||
makes it easy to embed content from the World Wide Web into
|
||||
your Qt application.
|
||||
|
||||
Qt WebEngine provides C++ classes and QML types for rendering
|
||||
HTML, XHTML, and SVG documents, styled using Cascading Style
|
||||
Sheets (CSS) and scripted with JavaScript. HTML documents can
|
||||
be made fully editable by the user through the use of the
|
||||
contenteditable attribute on HTML elements.
|
||||
|
||||
http://doc.qt.io/qt-5/qtwebengine-index.html
|
||||
|
||||
if BR2_PACKAGE_QT5WEBENGINE
|
||||
|
||||
config BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS
|
||||
bool "proprietary codecs"
|
||||
help
|
||||
Qt WebEngine supports the MPEG-4 Part 14 (MP4) file format,
|
||||
which includes required proprietary audio and video codecs,
|
||||
such as H.264 and MPEG layer-3 (MP3).
|
||||
|
||||
config BR2_PACKAGE_QT5WEBENGINE_ALSA
|
||||
bool "alsa"
|
||||
select BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
|
||||
select BR2_PACKAGE_ALSA_LIB_HWDEP
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
help
|
||||
Enable ALSA support.
|
||||
|
||||
endif
|
||||
310
bsp/buildroot/package/qt5/qt5webengine/chromium-latest.inc
Normal file
310
bsp/buildroot/package/qt5/qt5webengine/chromium-latest.inc
Normal file
@@ -0,0 +1,310 @@
|
||||
CHROMIUM_LICENSE_FILES = \
|
||||
src/3rdparty/chromium/base/third_party/dmg_fp/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/dynamic_annotations/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/icu/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/libevent/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/nspr/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/superfasthash/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/symbolize/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/valgrind/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/xdg_mime/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/xdg_user_dirs/LICENSE \
|
||||
src/3rdparty/chromium/buildtools/LICENSE \
|
||||
src/3rdparty/chromium/buildtools/third_party/libc++abi/trunk/LICENSE.TXT \
|
||||
src/3rdparty/chromium/buildtools/third_party/libc++/trunk/LICENSE.TXT \
|
||||
src/3rdparty/chromium/chrome/third_party/chromevox/LICENSE \
|
||||
src/3rdparty/chromium/chrome/third_party/chromevox/third_party/closure-library/LICENSE \
|
||||
src/3rdparty/chromium/LICENSE \
|
||||
src/3rdparty/chromium/LICENSE.chromium_os \
|
||||
src/3rdparty/chromium/mojo/public/LICENSE \
|
||||
src/3rdparty/chromium/net/third_party/mozilla_security_manager/LICENSE \
|
||||
src/3rdparty/chromium/net/third_party/nss/LICENSE \
|
||||
src/3rdparty/chromium/ppapi/LICENSE \
|
||||
src/3rdparty/chromium/sdch/open-vcdiff/COPYING \
|
||||
src/3rdparty/chromium/testing/gmock/LICENSE \
|
||||
src/3rdparty/chromium/testing/gmock/scripts/generator/LICENSE \
|
||||
src/3rdparty/chromium/testing/gtest/LICENSE \
|
||||
src/3rdparty/chromium/third_party/accessibility_test_framework/LICENSE \
|
||||
src/3rdparty/chromium/third_party/afl/src/docs/COPYING \
|
||||
src/3rdparty/chromium/third_party/angle/LICENSE \
|
||||
src/3rdparty/chromium/third_party/angle/src/third_party/compiler/LICENSE \
|
||||
src/3rdparty/chromium/third_party/angle/src/third_party/libXNVCtrl/LICENSE \
|
||||
src/3rdparty/chromium/third_party/angle/src/third_party/murmurhash/LICENSE \
|
||||
src/3rdparty/chromium/third_party/apache-portable-runtime/LICENSE \
|
||||
src/3rdparty/chromium/third_party/apache_velocity/LICENSE \
|
||||
src/3rdparty/chromium/third_party/apple_apsl/LICENSE \
|
||||
src/3rdparty/chromium/third_party/bintrees/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/blanketjs/LICENSE \
|
||||
src/3rdparty/chromium/third_party/blimp_fonts/LICENSE \
|
||||
src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.Apache \
|
||||
src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.OFL \
|
||||
src/3rdparty/chromium/third_party/boringssl/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/boringssl/src/third_party/android-cmake/LICENSE \
|
||||
src/3rdparty/chromium/third_party/bouncycastle/LICENSE \
|
||||
src/3rdparty/chromium/third_party/brotli/LICENSE \
|
||||
src/3rdparty/chromium/third_party/bspatch/LICENSE \
|
||||
src/3rdparty/chromium/third_party/byte_buddy/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ced/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ced/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/chaijs/LICENSE \
|
||||
src/3rdparty/chromium/third_party/checkstyle/LICENSE \
|
||||
src/3rdparty/chromium/third_party/checkstyle/LICENSE.apache20 \
|
||||
src/3rdparty/chromium/third_party/cld_3/LICENSE \
|
||||
src/3rdparty/chromium/third_party/cld_3/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/cld/LICENSE \
|
||||
src/3rdparty/chromium/third_party/closure_compiler/compiler/COPYING \
|
||||
src/3rdparty/chromium/third_party/closure_compiler/LICENSE \
|
||||
src/3rdparty/chromium/third_party/closure_linter/LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cctools/cctools/APPLE_LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cf/APPLE_LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/getopt/LICENSE \
|
||||
src/3rdparty/chromium/third_party/cros_system_api/LICENSE \
|
||||
src/3rdparty/chromium/third_party/cros_system_api/MODULE_LICENSE_BSD \
|
||||
src/3rdparty/chromium/third_party/custom_tabs_client/LICENSE \
|
||||
src/3rdparty/chromium/third_party/d3/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/decklink/LICENSE \
|
||||
src/3rdparty/chromium/third_party/devscripts/COPYING \
|
||||
src/3rdparty/chromium/third_party/dom_distiller_js/LICENSE \
|
||||
src/3rdparty/chromium/third_party/dpkg-dev/LICENSE \
|
||||
src/3rdparty/chromium/third_party/drmemory/LICENSE \
|
||||
src/3rdparty/chromium/third_party/errorprone/LICENSE \
|
||||
src/3rdparty/chromium/third_party/espresso/LICENSE \
|
||||
src/3rdparty/chromium/third_party/expat/files/COPYING \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/chromium/scripts/license_texts/full_lgpl.txt \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.GPLv2 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.GPLv3 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.LGPLv2.1 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.LGPLv3 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/fips181/COPYING \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.FDL \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.GPL \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.LGPL \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.Xiph \
|
||||
src/3rdparty/chromium/third_party/flatbuffers/LICENSE \
|
||||
src/3rdparty/chromium/third_party/flatbuffers/src/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/flot/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/fontconfig/LICENSE \
|
||||
src/3rdparty/chromium/third_party/fontconfig/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/freetype2/src/docs/GPLv2.TXT \
|
||||
src/3rdparty/chromium/third_party/freetype2/src/docs/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/gardiner_mod/LICENSE \
|
||||
src/3rdparty/chromium/third_party/gif_player/LICENSE \
|
||||
src/3rdparty/chromium/third_party/glslang/LICENSE \
|
||||
src/3rdparty/chromium/third_party/grpc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/grpc/src/node/health_check/LICENSE \
|
||||
src/3rdparty/chromium/third_party/grpc/src/php/ext/grpc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/grpc/third_party/nanopb/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/grpc/third_party/rake-compiler-dock/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/guava/LICENSE \
|
||||
src/3rdparty/chromium/third_party/gvr-android-sdk/LICENSE \
|
||||
src/3rdparty/chromium/third_party/haha/LICENSE \
|
||||
src/3rdparty/chromium/third_party/hamcrest/LICENSE \
|
||||
src/3rdparty/chromium/third_party/harfbuzz-ng/COPYING \
|
||||
src/3rdparty/chromium/third_party/hunspell/COPYING \
|
||||
src/3rdparty/chromium/third_party/hunspell/COPYING.LGPL \
|
||||
src/3rdparty/chromium/third_party/hunspell/COPYING.MPL \
|
||||
src/3rdparty/chromium/third_party/hunspell/src/hunspell/license.hunspell \
|
||||
src/3rdparty/chromium/third_party/hunspell/src/hunspell/license.myspell \
|
||||
src/3rdparty/chromium/third_party/hwcplus/LICENSE \
|
||||
src/3rdparty/chromium/third_party/iaccessible2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/iccjpeg/LICENSE \
|
||||
src/3rdparty/chromium/third_party/icu4j/LICENSE \
|
||||
src/3rdparty/chromium/third_party/icu/LICENSE \
|
||||
src/3rdparty/chromium/third_party/icu/license.html \
|
||||
src/3rdparty/chromium/third_party/icu/scripts/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ijar/LICENSE \
|
||||
src/3rdparty/chromium/third_party/inspector_protocol/LICENSE \
|
||||
src/3rdparty/chromium/third_party/intellij/LICENSE \
|
||||
src/3rdparty/chromium/third_party/isimpledom/LICENSE \
|
||||
src/3rdparty/chromium/third_party/javax_inject/LICENSE \
|
||||
src/3rdparty/chromium/third_party/jinja2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/jmake/LICENSE \
|
||||
src/3rdparty/chromium/third_party/jsoncpp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/jstemplate/COPYING \
|
||||
src/3rdparty/chromium/third_party/khronos/LICENSE \
|
||||
src/3rdparty/chromium/third_party/leakcanary/LICENSE \
|
||||
src/3rdparty/chromium/third_party/leveldatabase/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libaddressinput/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libaddressinput/src/cpp/LICENSE.chromium \
|
||||
src/3rdparty/chromium/third_party/libaddressinput/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libFuzzer/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/libjpeg/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libjpeg_turbo/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/libpng/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libsecret/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libsrtp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libsync/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libudev/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libusb/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/libva/COPYING \
|
||||
src/3rdparty/chromium/third_party/libvpx/source/libvpx/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/googletest/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/libwebm/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/x86inc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libwebm/source/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/libwebp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libxml/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/libXNVCtrl/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libxslt/linux/COPYING \
|
||||
src/3rdparty/chromium/third_party/libyuv/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libyuv/LICENSE_THIRD_PARTY \
|
||||
src/3rdparty/chromium/third_party/libyuv/third_party/gflags/LICENSE \
|
||||
src/3rdparty/chromium/third_party/lzma_sdk/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mach_override/LICENSE \
|
||||
src/3rdparty/chromium/third_party/markupsafe/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mesa/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mesa/src/docs/COPYING \
|
||||
src/3rdparty/chromium/third_party/mesa/src/docs/license.html \
|
||||
src/3rdparty/chromium/third_party/mesa/src/src/gallium/drivers/radeon/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/minigbm/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mocha/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mockito/LICENSE \
|
||||
src/3rdparty/chromium/third_party/modp_b64/LICENSE \
|
||||
src/3rdparty/chromium/third_party/molokocacao/LICENSE \
|
||||
src/3rdparty/chromium/third_party/motemplate/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mozilla/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mt19937ar/LICENSE \
|
||||
src/3rdparty/chromium/third_party/netty4/LICENSE \
|
||||
src/3rdparty/chromium/third_party/netty-tcnative/LICENSE \
|
||||
src/3rdparty/chromium/third_party/objenesis/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ocmock/License.txt \
|
||||
src/3rdparty/chromium/third_party/openh264/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/openmax_dl/LICENSE \
|
||||
src/3rdparty/chromium/third_party/opus/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/ots/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ow2_asm/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pdfium/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pdfium/third_party/bigint/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pdfium/third_party/pymock/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/pexpect/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ply/LICENSE \
|
||||
src/3rdparty/chromium/third_party/polymer/v1_0/components-chromium/polymer/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/proguard/LICENSE \
|
||||
src/3rdparty/chromium/third_party/protobuf/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pycoverage/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pyelftools/elftools/construct/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pyelftools/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pyftpdlib/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pymock/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/python_gflags/COPYING \
|
||||
src/3rdparty/chromium/third_party/Python-Markdown/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/py_trace_event/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pywebsocket/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/qcms/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/qunit/LICENSE \
|
||||
src/3rdparty/chromium/third_party/re2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/re2/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/requests/LICENSE \
|
||||
src/3rdparty/chromium/third_party/robolectric/LICENSE \
|
||||
src/3rdparty/chromium/third_party/robolectric/licenses/extreme.indiana.edu.license.txt \
|
||||
src/3rdparty/chromium/third_party/robolectric/licenses/javolution.license.txt \
|
||||
src/3rdparty/chromium/third_party/robolectric/licenses/pivotal.labs.license.txt \
|
||||
src/3rdparty/chromium/third_party/sfntly/COPYING.txt \
|
||||
src/3rdparty/chromium/third_party/sfntly/src/cpp/COPYING.txt \
|
||||
src/3rdparty/chromium/third_party/sfntly/src/java/COPYING \
|
||||
src/3rdparty/chromium/third_party/shaderc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/shaderc/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.glslang \
|
||||
src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.spirv-tools \
|
||||
src/3rdparty/chromium/third_party/simplejson/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/sinonjs/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/platform_tools/android/third_party/ashmem/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/third_party/etc1/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/third_party/gif/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/third_party/libpng/LICENSE \
|
||||
src/3rdparty/chromium/third_party/smhasher/LICENSE \
|
||||
src/3rdparty/chromium/third_party/snappy/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/SPIRV-Tools/LICENSE \
|
||||
src/3rdparty/chromium/third_party/SPIRV-Tools/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/sqlite4java/LICENSE \
|
||||
src/3rdparty/chromium/third_party/sqlite/LICENSE \
|
||||
src/3rdparty/chromium/third_party/sqlite/sqlite-src-3100200/autoconf/tea/license.terms \
|
||||
src/3rdparty/chromium/third_party/sqlite/src/autoconf/tea/license.terms \
|
||||
src/3rdparty/chromium/third_party/sudden_motion_sensor/LICENSE \
|
||||
src/3rdparty/chromium/third_party/swiftshader/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/swiftshader/third_party/LLVM/autoconf/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/swiftshader/third_party/LLVM/include/llvm/Support/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/swiftshader/third_party/LLVM/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/swiftshader/third_party/LLVM/projects/sample/autoconf/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/swiftshader/third_party/llvm-subzero/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/swiftshader/third_party/LLVM/utils/unittest/googletest/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/swiftshader/third_party/PowerVR_SDK/License.txt \
|
||||
src/3rdparty/chromium/third_party/tcmalloc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/tcmalloc/vendor/COPYING \
|
||||
src/3rdparty/chromium/third_party/tlslite/LICENSE \
|
||||
src/3rdparty/chromium/third_party/typ/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ub-uiautomator/LICENSE \
|
||||
src/3rdparty/chromium/third_party/usb_ids/LICENSE \
|
||||
src/3rdparty/chromium/third_party/usrsctp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/usrsctp/usrsctplib/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/v4l2capture/LICENSE \
|
||||
src/3rdparty/chromium/third_party/v4l-utils/COPYING.libv4l \
|
||||
src/3rdparty/chromium/third_party/visualmetrics/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/vulkan/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wayland/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wayland-protocols/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wayland-protocols/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/wayland/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/wds/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wds/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/web-animations-js/LICENSE \
|
||||
src/3rdparty/chromium/third_party/web-animations-js/sources/COPYING \
|
||||
src/3rdparty/chromium/third_party/webdriver/COPYING \
|
||||
src/3rdparty/chromium/third_party/webdriver/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/LICENSE_FOR_ABOUT_CREDITS \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-APPLE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2 \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2.1 \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/audits2_worker/lighthouse/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE_python \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm_modes/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/formatter_worker/acorn/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/gonzales/MIT-LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/terminal/xterm.js/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/scripts/closure/COPYING \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/wtf/dtoa/COPYING \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/wtf/dtoa/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/COPYING \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/six/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/wptserve/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/COPYING \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/third_party/dns/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/third_party/ipaddr/COPYING \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/third_party/ipfw_win32/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/third_party/jsmin/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/webrtc/examples/objc/AppRTCMobile/third_party/SocketRocket/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webrtc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY \
|
||||
src/3rdparty/chromium/third_party/webtreemap/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/woff2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/x86inc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/xdg-utils/LICENSE \
|
||||
src/3rdparty/chromium/third_party/yasm/source/patched-yasm/COPYING \
|
||||
src/3rdparty/chromium/third_party/yasm/source/patched-yasm/GNU_GPL-2.0 \
|
||||
src/3rdparty/chromium/third_party/yasm/source/patched-yasm/GNU_LGPL-2.0 \
|
||||
src/3rdparty/chromium/third_party/zlib/LICENSE \
|
||||
src/3rdparty/chromium/tools/gn/out/Release/obj/third_party/widevine/cdm/widevine_test_license_server.ninja \
|
||||
src/3rdparty/chromium/tools/gyp/LICENSE \
|
||||
src/3rdparty/chromium/tools/origin_trials/third_party/ed25519/LICENSE \
|
||||
src/3rdparty/chromium/tools/page_cycler/acid3/LICENSE \
|
||||
src/3rdparty/chromium/tools/symsrc/COPYING-pefile \
|
||||
src/3rdparty/chromium/tools/win/ChromeDebug/ChromeDebug/LICENSE \
|
||||
src/3rdparty/chromium/url/third_party/mozilla/LICENSE.txt \
|
||||
src/3rdparty/chromium/v8/LICENSE \
|
||||
src/3rdparty/chromium/v8/LICENSE.fdlibm \
|
||||
src/3rdparty/chromium/v8/LICENSE.strongtalk \
|
||||
src/3rdparty/chromium/v8/LICENSE.v8 \
|
||||
src/3rdparty/chromium/v8/LICENSE.valgrind \
|
||||
src/3rdparty/chromium/v8/src/third_party/valgrind/LICENSE \
|
||||
src/3rdparty/chromium/v8/src/third_party/vtune/LICENSE \
|
||||
src/3rdparty/chromium/v8/third_party/inspector_protocol/LICENSE \
|
||||
|
||||
248
bsp/buildroot/package/qt5/qt5webengine/chromium-lts.inc
Normal file
248
bsp/buildroot/package/qt5/qt5webengine/chromium-lts.inc
Normal file
@@ -0,0 +1,248 @@
|
||||
CHROMIUM_LICENSE_FILES = \
|
||||
src/3rdparty/chromium/url/third_party/mozilla/LICENSE.txt \
|
||||
src/3rdparty/chromium/sdch/open-vcdiff/COPYING \
|
||||
src/3rdparty/chromium/tools/gyp/LICENSE \
|
||||
src/3rdparty/chromium/v8/LICENSE.v8 \
|
||||
src/3rdparty/chromium/v8/LICENSE.strongtalk \
|
||||
src/3rdparty/chromium/v8/LICENSE.valgrind \
|
||||
src/3rdparty/chromium/v8/LICENSE \
|
||||
src/3rdparty/chromium/v8/src/third_party/fdlibm/LICENSE \
|
||||
src/3rdparty/chromium/v8/src/third_party/valgrind/LICENSE \
|
||||
src/3rdparty/chromium/v8/src/third_party/vtune/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/nspr/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/superfasthash/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/xdg_mime/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/dynamic_annotations/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/xdg_user_dirs/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/dmg_fp/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/valgrind/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/icu/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/libevent/LICENSE \
|
||||
src/3rdparty/chromium/base/third_party/symbolize/LICENSE \
|
||||
src/3rdparty/chromium/testing/gtest/LICENSE \
|
||||
src/3rdparty/chromium/testing/gmock/scripts/generator/LICENSE \
|
||||
src/3rdparty/chromium/testing/gmock/LICENSE \
|
||||
src/3rdparty/chromium/ppapi/LICENSE \
|
||||
src/3rdparty/chromium/third_party/class-dump/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libxslt/linux/COPYING \
|
||||
src/3rdparty/chromium/third_party/proguard/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pexpect/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webtreemap/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/usb_ids/LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cctools/cctools/APPLE_LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cf/APPLE_LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/getopt/LICENSE \
|
||||
src/3rdparty/chromium/third_party/crashpad/crashpad/LICENSE \
|
||||
src/3rdparty/chromium/third_party/Python-Markdown/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/fips181/COPYING \
|
||||
src/3rdparty/chromium/third_party/talloc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libvpx_new/source/libvpx/third_party/libwebm/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/libvpx_new/source/libvpx/third_party/googletest/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libvpx_new/source/libvpx/third_party/x86inc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libvpx_new/source/libvpx/LICENSE \
|
||||
src/3rdparty/chromium/third_party/devscripts/COPYING \
|
||||
src/3rdparty/chromium/third_party/webdriver/COPYING \
|
||||
src/3rdparty/chromium/third_party/webdriver/LICENSE \
|
||||
src/3rdparty/chromium/third_party/cld/LICENSE \
|
||||
src/3rdparty/chromium/third_party/jsoncpp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/bintrees/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/yasm/source/patched-yasm/COPYING \
|
||||
src/3rdparty/chromium/third_party/libva/COPYING \
|
||||
src/3rdparty/chromium/third_party/bspatch/LICENSE \
|
||||
src/3rdparty/chromium/third_party/lzma_sdk/LICENSE \
|
||||
src/3rdparty/chromium/third_party/v4l2capture/LICENSE \
|
||||
src/3rdparty/chromium/third_party/boringssl/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/cardboard-java/LICENSE \
|
||||
src/3rdparty/chromium/third_party/errorprone/LICENSE \
|
||||
src/3rdparty/chromium/third_party/fontconfig/LICENSE \
|
||||
src/3rdparty/chromium/third_party/fontconfig/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/python_gflags/COPYING \
|
||||
src/3rdparty/chromium/third_party/gif_player/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libexif/sources/COPYING \
|
||||
src/3rdparty/chromium/third_party/sinonjs/LICENSE \
|
||||
src/3rdparty/chromium/third_party/lcov/COPYING \
|
||||
src/3rdparty/chromium/third_party/iaccessible2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/cros_system_api/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libpng/LICENSE \
|
||||
src/3rdparty/chromium/third_party/speech-dispatcher/COPYING \
|
||||
src/3rdparty/chromium/third_party/skia/third_party/libpng/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/third_party/etc1/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/platform_tools/android/third_party/ashmem/LICENSE \
|
||||
src/3rdparty/chromium/third_party/skia/LICENSE \
|
||||
src/3rdparty/chromium/third_party/drmemory/LICENSE \
|
||||
src/3rdparty/chromium/third_party/v4l-utils/COPYING.libv4l \
|
||||
src/3rdparty/chromium/third_party/iccjpeg/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wayland-protocols/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wayland-protocols/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/qunit/LICENSE \
|
||||
src/3rdparty/chromium/third_party/zlib/LICENSE \
|
||||
src/3rdparty/chromium/third_party/minigbm/LICENSE \
|
||||
src/3rdparty/chromium/third_party/tlslite/LICENSE \
|
||||
src/3rdparty/chromium/third_party/qcms/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/mach_override/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mesa/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mesa/src/docs/COPYING \
|
||||
src/3rdparty/chromium/third_party/mesa/src/docs/license.html \
|
||||
src/3rdparty/chromium/third_party/mesa/src/src/gallium/drivers/radeon/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/mesa/src/src/mapi/glapi/gen/license.py \
|
||||
src/3rdparty/chromium/third_party/usrsctp/usrsctplib/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/usrsctp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY \
|
||||
src/3rdparty/chromium/third_party/webrtc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libwebp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/snappy/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/robolectric/licenses/extreme.indiana.edu.license.txt \
|
||||
src/3rdparty/chromium/third_party/robolectric/licenses/javolution.license.txt \
|
||||
src/3rdparty/chromium/third_party/robolectric/licenses/pivotal.labs.license.txt \
|
||||
src/3rdparty/chromium/third_party/robolectric/LICENSE \
|
||||
src/3rdparty/chromium/third_party/flot/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/openmax_dl/LICENSE \
|
||||
src/3rdparty/chromium/third_party/safe_browsing/testing/LICENSE \
|
||||
src/3rdparty/chromium/third_party/harfbuzz-ng/COPYING \
|
||||
src/3rdparty/chromium/third_party/protobuf/COPYING.txt \
|
||||
src/3rdparty/chromium/third_party/typ/LICENSE \
|
||||
src/3rdparty/chromium/third_party/d3/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libjpeg_turbo/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/libwebm/source/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/expat/files/COPYING \
|
||||
src/3rdparty/chromium/third_party/smhasher/LICENSE \
|
||||
src/3rdparty/chromium/third_party/gardiner_mod/LICENSE \
|
||||
src/3rdparty/chromium/third_party/closure_compiler/compiler/COPYING \
|
||||
src/3rdparty/chromium/third_party/closure_compiler/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-APPLE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2.1 \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2 \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/scripts/closure/COPYING \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm_modes/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/acorn/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE_python \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/license.py \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/wtf/dtoa/COPYING \
|
||||
src/3rdparty/chromium/third_party/WebKit/Source/wtf/dtoa/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/LICENSE_FOR_ABOUT_CREDITS \
|
||||
src/3rdparty/chromium/third_party/WebKit/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/wptserve/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/LICENSE \
|
||||
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/COPYING \
|
||||
src/3rdparty/chromium/third_party/modp_b64/LICENSE \
|
||||
src/3rdparty/chromium/third_party/freetype2/src/docs/LICENSE.TXT \
|
||||
src/3rdparty/chromium/third_party/molokocacao/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wayland/LICENSE \
|
||||
src/3rdparty/chromium/third_party/wayland/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/polymer/v1_0/components-chromium/polymer/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/ocmock/License.txt \
|
||||
src/3rdparty/chromium/third_party/swiftshader/LICENSE \
|
||||
src/3rdparty/chromium/third_party/hwcplus/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libsecret/LICENSE \
|
||||
src/3rdparty/chromium/third_party/nss/nspr/LICENSE \
|
||||
src/3rdparty/chromium/third_party/nss/nss/COPYING \
|
||||
src/3rdparty/chromium/third_party/jinja2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/decklink/LICENSE \
|
||||
src/3rdparty/chromium/third_party/hunspell/COPYING \
|
||||
src/3rdparty/chromium/third_party/hunspell/COPYING.LGPL \
|
||||
src/3rdparty/chromium/third_party/hunspell/COPYING.MPL \
|
||||
src/3rdparty/chromium/third_party/hunspell/src/hunspell/license.myspell \
|
||||
src/3rdparty/chromium/third_party/hunspell/src/hunspell/license.hunspell \
|
||||
src/3rdparty/chromium/third_party/pyelftools/elftools/construct/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pyelftools/LICENSE \
|
||||
src/3rdparty/chromium/third_party/jmake/LICENSE \
|
||||
src/3rdparty/chromium/third_party/requests/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ijar/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pycoverage/LICENSE \
|
||||
src/3rdparty/chromium/third_party/re2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/re2/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/blanketjs/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pywebsocket/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/closure_linter/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/COPYING \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/third_party/dns/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/third_party/ipfw_win32/LICENSE \
|
||||
src/3rdparty/chromium/third_party/webpagereplay/third_party/ipaddr/COPYING \
|
||||
src/3rdparty/chromium/third_party/libusb/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/libsrtp/srtp/LICENSE \
|
||||
src/3rdparty/chromium/third_party/opus/src/LICENSE_PLEASE_READ.txt \
|
||||
src/3rdparty/chromium/third_party/opus/src/COPYING \
|
||||
src/3rdparty/chromium/third_party/isimpledom/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mt19937ar/LICENSE \
|
||||
src/3rdparty/chromium/third_party/openh264/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/markupsafe/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ply/license.patch \
|
||||
src/3rdparty/chromium/third_party/ply/LICENSE \
|
||||
src/3rdparty/chromium/third_party/khronos/LICENSE \
|
||||
src/3rdparty/chromium/third_party/sfntly/COPYING.txt \
|
||||
src/3rdparty/chromium/third_party/sfntly/src/cpp/COPYING.txt \
|
||||
src/3rdparty/chromium/third_party/sfntly/src/java/COPYING \
|
||||
src/3rdparty/chromium/third_party/ots/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libXNVCtrl/LICENSE \
|
||||
src/3rdparty/chromium/third_party/brotli/LICENSE \
|
||||
src/3rdparty/chromium/third_party/icu/license.html \
|
||||
src/3rdparty/chromium/third_party/icu/LICENSE \
|
||||
src/3rdparty/chromium/third_party/custom_tabs_client/LICENSE \
|
||||
src/3rdparty/chromium/third_party/motemplate/LICENSE \
|
||||
src/3rdparty/chromium/third_party/apple_apsl/LICENSE \
|
||||
src/3rdparty/chromium/third_party/angle/LICENSE \
|
||||
src/3rdparty/chromium/third_party/angle/src/third_party/murmurhash/LICENSE \
|
||||
src/3rdparty/chromium/third_party/angle/src/third_party/compiler/LICENSE \
|
||||
src/3rdparty/chromium/third_party/npapi/LICENSE \
|
||||
src/3rdparty/chromium/third_party/sudden_motion_sensor/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libjpeg/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ub-uiautomator/LICENSE \
|
||||
src/3rdparty/chromium/third_party/woff2/LICENSE \
|
||||
src/3rdparty/chromium/third_party/appurify-python/LICENSE \
|
||||
src/3rdparty/chromium/third_party/tcmalloc/vendor/COPYING \
|
||||
src/3rdparty/chromium/third_party/tcmalloc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/jstemplate/COPYING \
|
||||
src/3rdparty/chromium/third_party/dom_distiller_js/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mocha/LICENSE \
|
||||
src/3rdparty/chromium/third_party/x86inc/LICENSE \
|
||||
src/3rdparty/chromium/third_party/checkstyle/LICENSE.apache20 \
|
||||
src/3rdparty/chromium/third_party/checkstyle/LICENSE \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.LGPLv3 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.GPLv3 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/chromium/scripts/license_texts/full_lgpl.txt \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/chromium/scripts/license_texts/jpeg.txt \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/chromium/scripts/license_texts/mips.txt \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/chromium/scripts/license_texts/oggparse_ahlberg_rullgayrd_2005.txt \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.GPLv2 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/COPYING.LGPLv2.1 \
|
||||
src/3rdparty/chromium/third_party/ffmpeg/LICENSE.md \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.Xiph \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.GPL \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.LGPL \
|
||||
src/3rdparty/chromium/third_party/flac/COPYING.FDL \
|
||||
src/3rdparty/chromium/third_party/pymock/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/sqlite/sqlite-src-3080704/autoconf/tea/license.terms \
|
||||
src/3rdparty/chromium/third_party/sqlite/LICENSE \
|
||||
src/3rdparty/chromium/third_party/sqlite/src/autoconf/tea/license.terms \
|
||||
src/3rdparty/chromium/third_party/xdg-utils/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mockito/LICENSE \
|
||||
src/3rdparty/chromium/third_party/simplejson/LICENSE.txt \
|
||||
src/3rdparty/chromium/third_party/py_trace_event/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/pyftpdlib/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libudev/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libyuv/LICENSE_THIRD_PARTY \
|
||||
src/3rdparty/chromium/third_party/libyuv/third_party/gflags/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libyuv/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mojo/LICENSE \
|
||||
src/3rdparty/chromium/third_party/leveldatabase/src/LICENSE \
|
||||
src/3rdparty/chromium/third_party/chaijs/LICENSE \
|
||||
src/3rdparty/chromium/third_party/web-animations-js/sources/COPYING \
|
||||
src/3rdparty/chromium/third_party/web-animations-js/LICENSE \
|
||||
src/3rdparty/chromium/third_party/mozilla/LICENSE \
|
||||
src/3rdparty/chromium/third_party/libjingle/source/talk/LICENSE_THIRD_PARTY \
|
||||
src/3rdparty/chromium/third_party/libjingle/source/talk/COPYING \
|
||||
src/3rdparty/chromium/LICENSE.chromium_os \
|
||||
src/3rdparty/chromium/net/third_party/mozilla_security_manager/LICENSE \
|
||||
src/3rdparty/chromium/net/third_party/nss/LICENSE \
|
||||
src/3rdparty/chromium/crypto/third_party/nss/LICENSE \
|
||||
src/3rdparty/chromium/chrome/third_party/chromevox/third_party/closure-library/LICENSE \
|
||||
src/3rdparty/chromium/chrome/third_party/chromevox/LICENSE \
|
||||
src/3rdparty/chromium/LICENSE \
|
||||
src/3rdparty/chromium/mojo/public/LICENSE \
|
||||
src/3rdparty/chromium/buildtools/LICENSE \
|
||||
src/3rdparty/ninja/COPYING
|
||||
5
bsp/buildroot/package/qt5/qt5webengine/qt5webengine.hash
Normal file
5
bsp/buildroot/package/qt5/qt5webengine/qt5webengine.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hash from https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtwebengine-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 009d69fb39f6c0e2b0cd89a7e9302cd0ae1872d02c787d3a37f2cacca5ddb7a7 qtwebengine-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtwebengine-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 4766707f5d8c174a284c0ed813bc6163db0220d69736424d3370b44b640443a1 qtwebengine-opensource-src-5.9.6.tar.xz
|
||||
90
bsp/buildroot/package/qt5/qt5webengine/qt5webengine.mk
Normal file
90
bsp/buildroot/package/qt5/qt5webengine/qt5webengine.mk
Normal file
@@ -0,0 +1,90 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5webengine
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5WEBENGINE_VERSION = $(QT5_VERSION)
|
||||
QT5WEBENGINE_SITE = $(QT5_SITE)
|
||||
QT5WEBENGINE_SOURCE = qtwebengine-opensource-src-$(QT5WEBENGINE_VERSION).tar.xz
|
||||
QT5WEBENGINE_DEPENDENCIES = ffmpeg libglib2 libvpx opus webp qt5base \
|
||||
qt5declarative qt5webchannel host-bison host-flex host-gperf \
|
||||
host-pkgconf host-python
|
||||
QT5WEBENGINE_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
include package/qt5/qt5webengine/chromium-latest.inc
|
||||
else
|
||||
include package/qt5/qt5webengine/chromium-lts.inc
|
||||
endif
|
||||
QT5WEBENGINE_LICENSE = GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception
|
||||
QT5WEBENGINE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT \
|
||||
LICENSE.GPLv3 LICENSE.LGPL3 $(CHROMIUM_LICENSE_FILES)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
|
||||
QT5WEBENGINE_DEPENDENCIES += xlib_libXScrnSaver xlib_libXcomposite \
|
||||
xlib_libXcursor xlib_libXi xlib_libXrandr xlib_libXtst
|
||||
endif
|
||||
|
||||
QT5WEBENGINE_QMAKEFLAGS += WEBENGINE_CONFIG+=use_system_ffmpeg
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS),y)
|
||||
QT5WEBENGINE_QMAKEFLAGS += WEBENGINE_CONFIG+=use_proprietary_codecs
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5WEBENGINE_ALSA),y)
|
||||
QT5WEBENGINE_DEPENDENCIES += alsa-lib
|
||||
else
|
||||
QT5WEBENGINE_QMAKEFLAGS += QT_CONFIG-=alsa
|
||||
endif
|
||||
|
||||
# QtWebengine's build system uses python, but only supports python2. We work
|
||||
# around this by forcing python2 early in the PATH, via a python->python2
|
||||
# symlink.
|
||||
QT5WEBENGINE_ENV = PATH=$(@D)/host-bin:$(BR_PATH)
|
||||
define QT5WEBENGINE_PYTHON2_SYMLINK
|
||||
mkdir -p $(@D)/host-bin
|
||||
ln -sf $(HOST_DIR)/bin/python2 $(@D)/host-bin/python
|
||||
endef
|
||||
QT5WEBENGINE_PRE_CONFIGURE_HOOKS += QT5WEBENGINE_PYTHON2_SYMLINK
|
||||
|
||||
define QT5WEBENGINE_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(HOST_DIR)/bin/qmake $(QT5WEBENGINE_QMAKEFLAGS))
|
||||
endef
|
||||
|
||||
define QT5WEBENGINE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5WEBENGINE_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
define QT5WEBENGINE_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtWebEngine $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5WEBENGINE_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/webengine* $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_STATIC_LIBS),y)
|
||||
define QT5WEBENGINE_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebEngine*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpf $(STAGING_DIR)/usr/libexec/QtWebEngineProcess $(TARGET_DIR)/usr/libexec/
|
||||
cp -dpfr $(STAGING_DIR)/usr/resources/ $(TARGET_DIR)/usr/
|
||||
mkdir -p $(TARGET_DIR)/usr/translations/qtwebengine_locales/
|
||||
cp -dpfr $(STAGING_DIR)/usr/translations/qtwebengine_locales $(TARGET_DIR)/usr/translations/qtwebengine_locales/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5WEBENGINE_INSTALL_TARGET_CMDS
|
||||
$(QT5WEBENGINE_INSTALL_TARGET_LIBS)
|
||||
$(QT5WEBENGINE_INSTALL_TARGET_QMLS)
|
||||
$(QT5WEBENGINE_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,52 @@
|
||||
From 78f558df35860484711a600d155ae7a13ebf44b2 Mon Sep 17 00:00:00 2001
|
||||
From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
|
||||
Date: Tue, 28 Nov 2017 23:14:42 -0500
|
||||
Subject: [PATCH 1/1] Build examples
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This patch improves the qt5webkit examples build for 2 aspects:
|
||||
|
||||
- Allows to build even if qt5base examples are not enabled
|
||||
- Builds xmlpatterns example only if the qt5xmlpattern package
|
||||
has been built
|
||||
|
||||
Signed-off-by: Massimo Callegari <massimocallegari@yahoo.it>
|
||||
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
|
||||
[gportay: build imageanalyzer example if concurrent module is built]
|
||||
---
|
||||
examples/webkitwidgets/webkitwidgets.pro | 7 ++++---
|
||||
qtwebkit-examples.pro | 1 +
|
||||
2 files changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/examples/webkitwidgets/webkitwidgets.pro b/examples/webkitwidgets/webkitwidgets.pro
|
||||
index ab20df4..67f6785 100644
|
||||
--- a/examples/webkitwidgets/webkitwidgets.pro
|
||||
+++ b/examples/webkitwidgets/webkitwidgets.pro
|
||||
@@ -4,9 +4,10 @@ SUBDIRS += domtraversal \
|
||||
previewer \
|
||||
fancybrowser \
|
||||
simpleselector \
|
||||
- imageanalyzer \
|
||||
framecapture \
|
||||
browser \
|
||||
embedded \
|
||||
- scroller \
|
||||
- xmlpatterns
|
||||
+ scroller
|
||||
+
|
||||
+qtHaveModule(xmlpatterns): SUBDIRS += xmlpatterns
|
||||
+qtHaveModule(concurrent): SUBDIRS += imageanalyzer
|
||||
diff --git a/qtwebkit-examples.pro b/qtwebkit-examples.pro
|
||||
index 3fcecf1..2ade7ff 100644
|
||||
--- a/qtwebkit-examples.pro
|
||||
+++ b/qtwebkit-examples.pro
|
||||
@@ -3,3 +3,4 @@ requires(qtHaveModule(webkit))
|
||||
load(qt_parts)
|
||||
|
||||
SUBDIRS += doc
|
||||
+SUBDIRS += examples
|
||||
--
|
||||
2.15.0
|
||||
|
||||
10
bsp/buildroot/package/qt5/qt5webkit-examples/Config.in
Normal file
10
bsp/buildroot/package/qt5/qt5webkit-examples/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_QT5WEBKIT_EXAMPLES
|
||||
bool "qt5webkit-examples"
|
||||
depends on BR2_PACKAGE_QT5WEBKIT
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
This package contains examples for the qt5webkit module.
|
||||
|
||||
http://qt.io
|
||||
@@ -0,0 +1,5 @@
|
||||
# Hash from: https://download.qt.io/community_releases/5.6/5.6.3/qtwebkit-examples-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 2d6ce7146298d03b443cca4390bbfee17c4c0b08a31efcbf9fe0732291a6169e qtwebkit-examples-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-examples-opensource-src-5.9.1.tar.xz.mirrorlist
|
||||
sha256 e4ce4de6b468243abad2baabbe8ddfb05d25b186529bfe88cb8662fc983f54d0 qtwebkit-examples-opensource-src-5.9.1.tar.xz
|
||||
@@ -0,0 +1,54 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5webkit-examples
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# no 5.9.2 package available, fall back to 5.9.1 version
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5WEBKIT_EXAMPLES_VERSION = 5.9.1
|
||||
QT5WEBKIT_EXAMPLES_SITE = https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules
|
||||
else
|
||||
QT5WEBKIT_EXAMPLES_VERSION = $(QT5_VERSION)
|
||||
QT5WEBKIT_EXAMPLES_SITE = https://download.qt.io/community_releases/5.6/$(QT5_VERSION)
|
||||
endif
|
||||
|
||||
QT5WEBKIT_EXAMPLES_SOURCE = qtwebkit-examples-opensource-src-$(QT5WEBKIT_VERSION).tar.xz
|
||||
QT5WEBKIT_EXAMPLES_DEPENDENCIES = qt5base qt5webkit
|
||||
|
||||
QT5WEBKIT_EXAMPLES_LICENSE_FILES = LICENSE.LGPLv21 LICENSE.LGPLv3 LICENSE.GPLv2 LICENSE.GPLv3
|
||||
|
||||
QT5WEBKIT_EXAMPLES_LICENSE = LGPL-2.1 with exception or LGPL-3 or GPL-2 or GPL-3
|
||||
# Source files contain references to LGPL_EXCEPTION.txt but it is not included
|
||||
# in the archive.
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5XMLPATTERNS),y)
|
||||
QT5WEBKIT_EXAMPLES_DEPENDENCIES += qt5xmlpatterns
|
||||
endif
|
||||
|
||||
define QT5WEBKIT_EXAMPLES_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5WEBKIT_EXAMPLES_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5WEBKIT_EXAMPLES_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5WEBKIT_EXAMPLES_DEPENDENCIES += qt5declarative
|
||||
define QT5WEBKIT_EXAMPLES_INSTALL_QML
|
||||
cp -dpfr $(@D)/examples/webkitqml $(TARGET_DIR)/usr/lib/qt/examples
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5WEBKIT_EXAMPLES_INSTALL_TARGET_CMDS
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/qt/examples
|
||||
cp -dpfr $(@D)/examples/webkitwidgets $(TARGET_DIR)/usr/lib/qt/examples
|
||||
$(QT5WEBKIT_EXAMPLES_INSTALL_QML)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,93 @@
|
||||
From bf172ae289a1348842005a9421797970f9b72060 Mon Sep 17 00:00:00 2001
|
||||
From: Konstantin Tokarev <annulen@yandex.ru>
|
||||
Date: Thu, 4 May 2017 15:12:37 +0300
|
||||
Subject: [PATCH] Fix compilation with ICU 59
|
||||
|
||||
Upstream fix: https://bugs.webkit.org/show_bug.cgi?id=171612
|
||||
|
||||
Task-number: QTBUG-60532
|
||||
Change-Id: I6014feea213aa70ebe40b09d9d1a03fd1ed3c843
|
||||
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
Source/JavaScriptCore/API/JSStringRef.cpp | 6 +++---
|
||||
Source/JavaScriptCore/runtime/DateConversion.cpp | 3 ++-
|
||||
Source/WTF/wtf/TypeTraits.h | 3 +++
|
||||
Source/WebKit2/Shared/API/c/WKString.cpp | 2 +-
|
||||
4 files changed, 9 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/Source/JavaScriptCore/API/JSStringRef.cpp b/Source/JavaScriptCore/API/JSStringRef.cpp
|
||||
index 812f3d413..77a3fd0f4 100644
|
||||
--- a/Source/JavaScriptCore/API/JSStringRef.cpp
|
||||
+++ b/Source/JavaScriptCore/API/JSStringRef.cpp
|
||||
@@ -37,7 +37,7 @@ using namespace WTF::Unicode;
|
||||
JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars)
|
||||
{
|
||||
initializeThreading();
|
||||
- return OpaqueJSString::create(chars, numChars).leakRef();
|
||||
+ return OpaqueJSString::create(reinterpret_cast<const UChar*>(chars), numChars).leakRef();
|
||||
}
|
||||
|
||||
JSStringRef JSStringCreateWithUTF8CString(const char* string)
|
||||
@@ -62,7 +62,7 @@ JSStringRef JSStringCreateWithUTF8CString(const char* string)
|
||||
JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars)
|
||||
{
|
||||
initializeThreading();
|
||||
- return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef();
|
||||
+ return OpaqueJSString::create(StringImpl::createWithoutCopying(reinterpret_cast<const UChar*>(chars), numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef();
|
||||
}
|
||||
|
||||
JSStringRef JSStringRetain(JSStringRef string)
|
||||
@@ -83,7 +83,7 @@ size_t JSStringGetLength(JSStringRef string)
|
||||
|
||||
const JSChar* JSStringGetCharactersPtr(JSStringRef string)
|
||||
{
|
||||
- return string->characters();
|
||||
+ return reinterpret_cast<const JSChar*>(string->characters());
|
||||
}
|
||||
|
||||
size_t JSStringGetMaximumUTF8CStringSize(JSStringRef string)
|
||||
diff --git a/Source/JavaScriptCore/runtime/DateConversion.cpp b/Source/JavaScriptCore/runtime/DateConversion.cpp
|
||||
index 0b57f012d..05e27338b 100644
|
||||
--- a/Source/JavaScriptCore/runtime/DateConversion.cpp
|
||||
+++ b/Source/JavaScriptCore/runtime/DateConversion.cpp
|
||||
@@ -107,7 +107,8 @@ String formatDateTime(const GregorianDateTime& t, DateTimeFormat format, bool as
|
||||
#if OS(WINDOWS)
|
||||
TIME_ZONE_INFORMATION timeZoneInformation;
|
||||
GetTimeZoneInformation(&timeZoneInformation);
|
||||
- const WCHAR* timeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName;
|
||||
+ const WCHAR* winTimeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName;
|
||||
+ String timeZoneName(reinterpret_cast<const UChar*>(winTimeZoneName));
|
||||
#else
|
||||
struct tm gtm = t;
|
||||
char timeZoneName[70];
|
||||
diff --git a/Source/WTF/wtf/TypeTraits.h b/Source/WTF/wtf/TypeTraits.h
|
||||
index 9df2c95cf..f5d6121fd 100644
|
||||
--- a/Source/WTF/wtf/TypeTraits.h
|
||||
+++ b/Source/WTF/wtf/TypeTraits.h
|
||||
@@ -72,6 +72,9 @@ namespace WTF {
|
||||
template<> struct IsInteger<unsigned long> { static const bool value = true; };
|
||||
template<> struct IsInteger<long long> { static const bool value = true; };
|
||||
template<> struct IsInteger<unsigned long long> { static const bool value = true; };
|
||||
+#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(_HAS_CHAR16_T_LANGUAGE_SUPPORT) && _HAS_CHAR16_T_LANGUAGE_SUPPORT)
|
||||
+ template<> struct IsInteger<char16_t> { static const bool value = true; };
|
||||
+#endif
|
||||
#if !COMPILER(MSVC) || defined(_NATIVE_WCHAR_T_DEFINED)
|
||||
template<> struct IsInteger<wchar_t> { static const bool value = true; };
|
||||
#endif
|
||||
diff --git a/Source/WebKit2/Shared/API/c/WKString.cpp b/Source/WebKit2/Shared/API/c/WKString.cpp
|
||||
index cbac67dd8..23400a64e 100644
|
||||
--- a/Source/WebKit2/Shared/API/c/WKString.cpp
|
||||
+++ b/Source/WebKit2/Shared/API/c/WKString.cpp
|
||||
@@ -55,7 +55,7 @@ size_t WKStringGetLength(WKStringRef stringRef)
|
||||
size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength)
|
||||
{
|
||||
COMPILE_ASSERT(sizeof(WKChar) == sizeof(UChar), WKStringGetCharacters_sizeof_WKChar_matches_UChar);
|
||||
- return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength));
|
||||
+ return (toImpl(stringRef)->getCharacters(reinterpret_cast<UChar*>(buffer), bufferLength));
|
||||
}
|
||||
|
||||
size_t WKStringGetMaximumUTF8CStringSize(WKStringRef stringRef)
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
From 068bf2d2d91382ea0d8ec24a142a30ea429704db Mon Sep 17 00:00:00 2001
|
||||
From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
|
||||
Date: Tue, 15 Aug 2017 18:28:49 -0400
|
||||
Subject: [PATCH] Detect 32-bits armv8-a architecture
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Adds WTF platform support for the 32-bits armv8-a architectures.
|
||||
|
||||
Theses toolchains define __ARM_ARCH_8A__ (for ARM architecture version)
|
||||
and __arm__ (for 32-bits word-size; __aarch64__ for 64-bits).
|
||||
|
||||
This commit catches this new architecture (armv8a) within a #ifdef/#endif
|
||||
inside the if statement dedicated for 32-bits ARM detection.
|
||||
|
||||
Fixes:
|
||||
|
||||
In file included from ./config.h:30:0,
|
||||
from ...
|
||||
./wtf/Platform.h:323:6: error: #error "Not supported ARM architecture"
|
||||
# error "Not supported ARM architecture"
|
||||
^~~~~
|
||||
|
||||
Upstream-Status: Backport [with adaptations]
|
||||
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
|
||||
---
|
||||
Source/WTF/wtf/Platform.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
|
||||
index 562840cf7..9cf656845 100644
|
||||
--- a/Source/WTF/wtf/Platform.h
|
||||
+++ b/Source/WTF/wtf/Platform.h
|
||||
@@ -243,6 +243,10 @@
|
||||
|| defined(__ARM_ARCH_7S__)
|
||||
#define WTF_ARM_ARCH_VERSION 7
|
||||
|
||||
+#elif defined(__ARM_ARCH_8__) \
|
||||
+ || defined(__ARM_ARCH_8A__)
|
||||
+#define WTF_ARM_ARCH_VERSION 8
|
||||
+
|
||||
/* MSVC sets _M_ARM */
|
||||
#elif defined(_M_ARM)
|
||||
#define WTF_ARM_ARCH_VERSION _M_ARM
|
||||
--
|
||||
2.16.1
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
From 1735a8484ef9ae336f8d607b56bda64c8af10c79 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Woerner <trevor.woerner@linaro.org>
|
||||
Date: Fri, 7 Feb 2014 04:07:17 +0100
|
||||
Subject: [PATCH] qtwebkit: fix QA issue (bad RPATH)
|
||||
|
||||
Building qtwebkit causes a QA issue such that QtWebPluginProcess and
|
||||
QtWebProcess contain bad RPATHs which point into the build location. This fix
|
||||
adds a patch to not include the rpath.prf which causes this problem.
|
||||
|
||||
Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
|
||||
Downloaded from:
|
||||
https://github.com/meta-qt5/meta-qt5/blob/krogoth/recipes-qt/qt5/qtwebkit/
|
||||
0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
|
||||
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
Tools/qmake/mkspecs/features/unix/default_post.prf | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf
|
||||
index fd66af6..ef754c3 100644
|
||||
--- a/Tools/qmake/mkspecs/features/unix/default_post.prf
|
||||
+++ b/Tools/qmake/mkspecs/features/unix/default_post.prf
|
||||
@@ -61,7 +61,6 @@ linux-*g++* {
|
||||
}
|
||||
}
|
||||
|
||||
-contains(TEMPLATE, app): CONFIG += rpath
|
||||
|
||||
CONFIG(debug, debug|release)|force_debug_info {
|
||||
# Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
|
||||
--
|
||||
2.7.0
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
From 6c36f0ff8c1f5852c33d2b23714f9f187cc6ff26 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 5 Jun 2015 19:55:05 -0700
|
||||
Subject: [PATCH] Exclude backtrace() API for non-glibc libraries
|
||||
|
||||
It was excluding musl with current checks, so lets make it such that it
|
||||
considers only glibc when using backtrace API
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
Downloaded from:
|
||||
https://github.com/meta-qt5/meta-qt5/blob/krogoth/recipes-qt/qt5/qtwebkit/
|
||||
0003-Exclude-backtrace-API-for-non-glibc-libraries.patch
|
||||
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
Source/WTF/wtf/Assertions.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Source/WTF/wtf/Assertions.cpp b/Source/WTF/wtf/Assertions.cpp
|
||||
index 1b2091f..ba03a28 100644
|
||||
--- a/Source/WTF/wtf/Assertions.cpp
|
||||
+++ b/Source/WTF/wtf/Assertions.cpp
|
||||
@@ -61,7 +61,7 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
-#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
+#if (OS(DARWIN) || (OS(LINUX) && defined (__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
#include <cxxabi.h>
|
||||
#include <dlfcn.h>
|
||||
#include <execinfo.h>
|
||||
@@ -245,7 +245,7 @@ void WTFReportArgumentAssertionFailure(const char* file, int line, const char* f
|
||||
|
||||
void WTFGetBacktrace(void** stack, int* size)
|
||||
{
|
||||
-#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
+#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
*size = backtrace(stack, *size);
|
||||
#elif OS(WINDOWS) && !OS(WINCE)
|
||||
// The CaptureStackBackTrace function is available in XP, but it is not defined
|
||||
--
|
||||
2.7.0
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
From 068bf2d2d91382ea0d8ec24a142a30ea429704db Mon Sep 17 00:00:00 2001
|
||||
From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
|
||||
Date: Tue, 15 Aug 2017 18:28:49 -0400
|
||||
Subject: [PATCH] Detect 32-bits armv8-a architecture
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Adds WTF platform support for the 32-bits armv8-a architectures.
|
||||
|
||||
Theses toolchains define __ARM_ARCH_8A__ (for ARM architecture version)
|
||||
and __arm__ (for 32-bits word-size; __aarch64__ for 64-bits).
|
||||
|
||||
This commit catches this new architecture (armv8a) within a #ifdef/#endif
|
||||
inside the if statement dedicated for 32-bits ARM detection.
|
||||
|
||||
Fixes:
|
||||
|
||||
In file included from ./config.h:30:0,
|
||||
from ...
|
||||
./wtf/Platform.h:323:6: error: #error "Not supported ARM architecture"
|
||||
# error "Not supported ARM architecture"
|
||||
^~~~~
|
||||
|
||||
Upstream-Status: Backport [with adaptations]
|
||||
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
|
||||
---
|
||||
Source/WTF/wtf/Platform.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
|
||||
index 562840cf7..9cf656845 100644
|
||||
--- a/Source/WTF/wtf/Platform.h
|
||||
+++ b/Source/WTF/wtf/Platform.h
|
||||
@@ -243,6 +243,10 @@
|
||||
|| defined(__ARM_ARCH_7S__)
|
||||
#define WTF_ARM_ARCH_VERSION 7
|
||||
|
||||
+#elif defined(__ARM_ARCH_8__) \
|
||||
+ || defined(__ARM_ARCH_8A__)
|
||||
+#define WTF_ARM_ARCH_VERSION 8
|
||||
+
|
||||
/* MSVC sets _M_ARM */
|
||||
#elif defined(_M_ARM)
|
||||
#define WTF_ARM_ARCH_VERSION _M_ARM
|
||||
--
|
||||
2.16.1
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
config BR2_PACKAGE_QT5WEBKIT
|
||||
bool "qt5webkit"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
|
||||
depends on !BR2_BINFMT_FLAT # icu
|
||||
# assumes a FPU is available on MIPS
|
||||
depends on !BR2_MIPS_SOFT_FLOAT
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_ICU
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_SQLITE
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
|
||||
select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_QT5BASE_XCB
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_BINFMT_FLAT # icu
|
||||
# assumes a FPU is available on MIPS
|
||||
depends on !BR2_MIPS_SOFT_FLOAT
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
@@ -19,15 +21,17 @@ config BR2_PACKAGE_QT5WEBKIT
|
||||
allows QML applications to render regions of dynamic
|
||||
web content.
|
||||
|
||||
This package has been removed from the official release packages
|
||||
since Qt5.6.0, but it is still available for users to build it
|
||||
from source. This is useful for platforms without GPU since the
|
||||
successor (QtWebEngine) requires OpenGL support.
|
||||
This package has been removed from the official release
|
||||
packages since Qt5.6.0, but it is still available for users
|
||||
to build it from source. This is useful for platforms
|
||||
without GPU since the successor (QtWebEngine) requires
|
||||
OpenGL support.
|
||||
|
||||
http://doc.qt.io/archives/qt-5.5/qtwebkit-index.html
|
||||
|
||||
comment "qt5webkit needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
comment "qt5webkit needs a toolchain w/ dynamic library, gcc >= 4.8, host gcc >= 4.8"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_BINFMT_FLAT
|
||||
depends on !BR2_MIPS_SOFT_FLOAT
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Hash from: http://download.qt.io/community_releases/5.6/5.6.3/qtwebkit-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
# Hash from: https://download.qt.io/community_releases/5.6/5.6.3/qtwebkit-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 098c6bb25798fbf1b619b540621287787064efc9b586d76ac0ce7e39b87a3896 qtwebkit-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtwebkit-opensource-src-5.8.0.tar.xz
|
||||
sha256 79ae8660086bf92ffb0008b17566270e6477c8fa0daf9bb3ac29404fb5911bec qtwebkit-opensource-src-5.8.0.tar.xz
|
||||
# hash from: https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-opensource-src-5.9.1.tar.xz.mirrorlist
|
||||
sha256 28a560becd800a4229bfac317c2e5407cd3cc95308bc4c3ca90dba2577b052cf qtwebkit-opensource-src-5.9.1.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 7555fa34bc131a75ca56d65c40cc1ea8f9515d23e353d4c15d58573a042f7805 Source/WebCore/LICENSE-LGPL-2
|
||||
sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1
|
||||
sha256 a3db6c7f3027aa27489c25a2fa259185cdee945780c32e01c60cbfabf4743b6c LICENSE.LGPLv21
|
||||
|
||||
@@ -4,11 +4,13 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5WEBKIT_VERSION = $(QT5_VERSION)
|
||||
# no 5.9.2 package available, fall back to 5.9.1 version
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5WEBKIT_SITE = $(QT5_SNAPSHOTS_SITE)
|
||||
QT5WEBKIT_VERSION = 5.9.1
|
||||
QT5WEBKIT_SITE = https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules
|
||||
else
|
||||
QT5WEBKIT_SITE = http://download.qt.io/community_releases/5.6/$(QT5_VERSION)
|
||||
QT5WEBKIT_VERSION = $(QT5_VERSION)
|
||||
QT5WEBKIT_SITE = https://download.qt.io/community_releases/5.6/$(QT5_VERSION)
|
||||
endif
|
||||
|
||||
QT5WEBKIT_SOURCE = qtwebkit-opensource-src-$(QT5WEBKIT_VERSION).tar.xz
|
||||
@@ -19,15 +21,10 @@ QT5WEBKIT_INSTALL_STAGING = YES
|
||||
|
||||
QT5WEBKIT_LICENSE_FILES = Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT5WEBKIT_LICENSE = LGPLv2.1+, BSD-3c, BSD-2c
|
||||
QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause
|
||||
# Source files contain references to LGPL_EXCEPTION.txt but it is not included
|
||||
# in the archive.
|
||||
QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21
|
||||
else
|
||||
QT5WEBKIT_LICENSE = LGPLv2.1+ (WebCore), Commercial license
|
||||
QT5WEBKIT_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
|
||||
QT5WEBKIT_DEPENDENCIES += xlib_libXext xlib_libXrender
|
||||
@@ -43,12 +40,19 @@ endif
|
||||
QT5WEBKIT_ENV = PATH=$(@D)/host-bin:$(BR_PATH)
|
||||
define QT5WEBKIT_PYTHON2_SYMLINK
|
||||
mkdir -p $(@D)/host-bin
|
||||
ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/host-bin/python
|
||||
ln -sf $(HOST_DIR)/bin/python2 $(@D)/host-bin/python
|
||||
endef
|
||||
QT5WEBKIT_PRE_CONFIGURE_HOOKS += QT5WEBKIT_PYTHON2_SYMLINK
|
||||
|
||||
# The mesa's EGL/eglplatform.h header includes X11 headers unless the flag
|
||||
# MESA_EGL_NO_X11_HEADERS is defined. Tell to not include X11 headers if
|
||||
# the libxcb is not selected.
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)x$(BR2_PACKAGE_LIBXCB),yx)
|
||||
QT5WEBKIT_QMAKEFLAGS += QMAKE_CXXFLAGS+=-DMESA_EGL_NO_X11_HEADERS
|
||||
endif
|
||||
|
||||
define QT5WEBKIT_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBKIT_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBKIT_ENV) $(HOST_DIR)/bin/qmake $(QT5WEBKIT_QMAKEFLAGS))
|
||||
endef
|
||||
|
||||
define QT5WEBKIT_BUILD_CMDS
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtwebsockets-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 a2439045616c89dfe06333734ff4726075c92e01db6e6b6863bc138e39c028eb qtwebsockets-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtwebsockets-opensource-src-5.8.0.tar.xz
|
||||
sha256 aa110af297d0d3239f346c3ee0cd43621adf463eb62a04941bbfe3fcccb845f5 qtwebsockets-opensource-src-5.8.0.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.6/submodules/qtwebsockets-opensource-src-5.9.6.tar.xz.mirrorlist
|
||||
sha256 7609eba33ebc9c6954644470ebbb1292cdae50f36d0c8ff5ab068b249e4a3c8e qtwebsockets-opensource-src-5.9.6.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3
|
||||
sha256 1996a36160b2158c2be264d2ddfa6148ebe0f1ececff55aca8d754a1ddcc7bb8 LICENSE.LGPLv21
|
||||
sha256 79949ee74297883df6e4e7c4bfe1e75a6e7695376b4a87ffc013e27bda509cb2 LGPL_EXCEPTION.txt
|
||||
sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3
|
||||
|
||||
@@ -10,20 +10,15 @@ QT5WEBSOCKETS_SOURCE = qtwebsockets-opensource-src-$(QT5WEBSOCKETS_VERSION).tar.
|
||||
QT5WEBSOCKETS_DEPENDENCIES = qt5base
|
||||
QT5WEBSOCKETS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5WEBSOCKETS_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools)
|
||||
QT5WEBSOCKETS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3
|
||||
QT5WEBSOCKETS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools)
|
||||
QT5WEBSOCKETS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3
|
||||
else
|
||||
QT5WEBSOCKETS_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3
|
||||
QT5WEBSOCKETS_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0
|
||||
QT5WEBSOCKETS_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
QT5WEBSOCKETS_LICENSE := $(QT5WEBSOCKETS_LICENSE), BSD-3c (examples)
|
||||
endif
|
||||
else
|
||||
QT5WEBSOCKETS_LICENSE = Commercial license
|
||||
QT5WEBSOCKETS_REDISTRIBUTE = NO
|
||||
QT5WEBSOCKETS_LICENSE := $(QT5WEBSOCKETS_LICENSE), BSD-3-Clause (examples)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
@@ -31,7 +26,7 @@ QT5WEBSOCKETS_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5WEBSOCKETS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5WEBSOCKETS_BUILD_CMDS
|
||||
@@ -46,6 +41,7 @@ endef
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5WEBSOCKETS_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt/WebSockets $(TARGET_DIR)/usr/qml/Qt/
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtWebSockets $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_QT5X11EXTRAS
|
||||
bool "qt5x11extras"
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
depends on BR2_PACKAGE_QT5BASE_XCB
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user