update buildroot to 2017.02.11
This commit is contained in:
84
bsp/buildroot-2017.02.11/package/qt5/Config.in
Normal file
84
bsp/buildroot-2017.02.11/package/qt5/Config.in
Normal file
@@ -0,0 +1,84 @@
|
||||
config BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
bool
|
||||
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
bool
|
||||
# Javascript engine is only available on certain architectures
|
||||
depends on BR2_arm || 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
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
||||
|
||||
menuconfig BR2_PACKAGE_QT5
|
||||
bool "Qt5"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
help
|
||||
This option enables the Qt5 framework. Sub-options allow to
|
||||
select which modules should be built.
|
||||
|
||||
http://qt.io
|
||||
|
||||
if BR2_PACKAGE_QT5
|
||||
|
||||
choice
|
||||
prompt "Qt5 version"
|
||||
|
||||
config BR2_PACKAGE_QT5_VERSION_LATEST
|
||||
bool "Latest (5.8)"
|
||||
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+.
|
||||
|
||||
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
|
||||
depends on !BR2_ARM_CPU_ARMV4
|
||||
depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
|
||||
|
||||
config BR2_PACKAGE_QT5_VERSION_5_6
|
||||
bool "LTS (5.6)"
|
||||
help
|
||||
This option builds Qt 5.6, which is licensed under
|
||||
(L)GPLv2+.
|
||||
|
||||
endchoice
|
||||
|
||||
source "package/qt5/qt53d/Config.in"
|
||||
source "package/qt5/qt5base/Config.in"
|
||||
source "package/qt5/qt5canvas3d/Config.in"
|
||||
source "package/qt5/qt5connectivity/Config.in"
|
||||
source "package/qt5/qt5declarative/Config.in"
|
||||
source "package/qt5/qt5enginio/Config.in"
|
||||
source "package/qt5/qt5graphicaleffects/Config.in"
|
||||
source "package/qt5/qt5imageformats/Config.in"
|
||||
source "package/qt5/qt5location/Config.in"
|
||||
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/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/qt5webchannel/Config.in"
|
||||
source "package/qt5/qt5webkit/Config.in"
|
||||
source "package/qt5/qt5websockets/Config.in"
|
||||
source "package/qt5/qt5x11extras/Config.in"
|
||||
source "package/qt5/qt5xmlpatterns/Config.in"
|
||||
endif
|
||||
31
bsp/buildroot-2017.02.11/package/qt5/qt5.mk
Normal file
31
bsp/buildroot-2017.02.11/package/qt5/qt5.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
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
|
||||
|
||||
include $(sort $(wildcard package/qt5/*/*.mk))
|
||||
|
||||
define QT5_LA_PRL_FILES_FIXUP
|
||||
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.la"); do \
|
||||
$(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \
|
||||
-e "s:$(STAGING_DIR):@STAGING_DIR@:g" \
|
||||
-e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \
|
||||
-e "s:@STAGING_DIR@:$(STAGING_DIR):g" \
|
||||
-e "s:@BASE_DIR@:$(BASE_DIR):g" \
|
||||
$$i ; \
|
||||
$(SED) "/^dependency_libs=/s%-L/usr/lib %%g" $$i ; \
|
||||
done
|
||||
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.prl"); do \
|
||||
$(SED) "s%-L/usr/lib%%" $$i; \
|
||||
done
|
||||
endef
|
||||
|
||||
# Variable for other Qt applications to use
|
||||
QT5_QMAKE = $(HOST_DIR)/usr/bin/qmake -spec devices/linux-buildroot-g++
|
||||
25
bsp/buildroot-2017.02.11/package/qt5/qt53d/Config.in
Normal file
25
bsp/buildroot-2017.02.11/package/qt5/qt53d/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_QT53D
|
||||
bool "qt53d"
|
||||
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.
|
||||
|
||||
http://doc.qt.io/qt-5/qt3d-index.html
|
||||
|
||||
comment "qt53d module needs an OpenGL-capable backend"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
5
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.hash
Normal file
5
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
46
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.mk
Normal file
46
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.mk
Normal file
@@ -0,0 +1,46 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt53d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT53D_VERSION = $(QT5_VERSION)
|
||||
QT53D_SITE = $(QT5_SITE)
|
||||
QT53D_SOURCE = qt3d-opensource-src-$(QT53D_VERSION).tar.xz
|
||||
QT53D_DEPENDENCIES = qt5base qt5declarative
|
||||
QT53D_INSTALL_STAGING = YES
|
||||
|
||||
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_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)
|
||||
endef
|
||||
|
||||
define QT53D_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT53D_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
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
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,45 @@
|
||||
From 91c3b111e45dd476aba057836b1b618eacf90f3f Mon Sep 17 00:00:00 2001
|
||||
From: Julien Corjon <corjon.j@ecagroup.com>
|
||||
Date: Tue, 21 Jul 2015 09:58:14 +0200
|
||||
Subject: [PATCH] eglfs - fix rasp-pi header inclusion
|
||||
|
||||
eglplateform.h include headers for low level instruction and fail on brcm
|
||||
headers inclusion
|
||||
For the brcm presence test we use egl pkg-config file
|
||||
For the eglfs-plugin compilation we use the egl configuration
|
||||
|
||||
Upstream-Status: https://bugreports.qt.io/browse/QTBUG-47339
|
||||
Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
|
||||
---
|
||||
config.tests/qpa/eglfs-brcm/eglfs-brcm.pro | 2 ++
|
||||
src/plugins/platforms/eglfs/eglfs-plugin.pro | 1 +
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro b/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
|
||||
index ce16a3a..192a8ad 100644
|
||||
--- a/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
|
||||
+++ b/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
|
||||
@@ -1,6 +1,8 @@
|
||||
SOURCES = eglfs-brcm.cpp
|
||||
|
||||
CONFIG -= qt
|
||||
+CONFIG += link_pkgconfig
|
||||
+PKGCONFIG += egl
|
||||
|
||||
INCLUDEPATH += $$QMAKE_INCDIR_EGL
|
||||
|
||||
diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
||||
index 0f493fd..8479496 100644
|
||||
--- a/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
||||
+++ b/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
||||
@@ -6,6 +6,7 @@ PLUGIN_CLASS_NAME = QEglFSIntegrationPlugin
|
||||
load(qt_plugin)
|
||||
|
||||
QT += platformsupport-private eglfs_device_lib-private
|
||||
+CONFIG += egl
|
||||
|
||||
SOURCES += $$PWD/qeglfsmain.cpp
|
||||
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
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
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
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
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
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
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
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
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
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
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
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
|
||||
|
||||
289
bsp/buildroot-2017.02.11/package/qt5/qt5base/Config.in
Normal file
289
bsp/buildroot-2017.02.11/package/qt5/qt5base/Config.in
Normal file
@@ -0,0 +1,289 @@
|
||||
config BR2_PACKAGE_QT5BASE
|
||||
bool "qt5base"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_PCRE
|
||||
select BR2_PACKAGE_PCRE_16
|
||||
select BR2_PACKAGE_PCRE_UTF
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
This package corresponds to the qt5base module, which
|
||||
contains the base Qt libraries: QtCore, QtNetwork, QtGui,
|
||||
QtWidgets, etc.
|
||||
|
||||
http://qt.io
|
||||
|
||||
if BR2_PACKAGE_QT5BASE
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS
|
||||
string "Custom configuration options"
|
||||
help
|
||||
Define custom qt5 configuration options which can be used to
|
||||
enable or disable options not managed by buildroot. These
|
||||
options are appended to the ones generated by buildroot and
|
||||
passed to qt5base during configuration.
|
||||
|
||||
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
|
||||
Configure options allow to set which modules are being
|
||||
compiled or not in Qt, but Qt also provide a more
|
||||
fine-grained mechanism to configure which features should be
|
||||
enabled or disabled, through a header file. Examples of such
|
||||
header files can be found in src/corelib/global/qconfig-*.h
|
||||
in the Qt sources.
|
||||
|
||||
This option allows to set the path of such a configuration
|
||||
file, which Buildroot will give to Qt at compile time.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_EXAMPLES
|
||||
bool "Compile and install examples (with code)"
|
||||
select BR2_PACKAGE_QT5BASE_NETWORK
|
||||
select BR2_PACKAGE_QT5BASE_XML
|
||||
help
|
||||
If unsure, say N.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_NETWORK
|
||||
def_bool y
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_CONCURRENT
|
||||
bool "concurrent module"
|
||||
help
|
||||
This options enables the Qt5Concurrent library.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_SQL
|
||||
def_bool y
|
||||
|
||||
if BR2_PACKAGE_QT5BASE_SQL
|
||||
config BR2_PACKAGE_QT5BASE_MYSQL
|
||||
bool "MySQL Plugin"
|
||||
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
|
||||
help
|
||||
Build PostgreSQL plugin
|
||||
If unsure, say n.
|
||||
|
||||
comment "PostgreSQL plugin needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
choice
|
||||
prompt "SQLite 3 support"
|
||||
default BR2_PACKAGE_QT5BASE_SQLITE_NONE
|
||||
help
|
||||
Select SQLite support.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_SQLITE_NONE
|
||||
bool "No sqlite support"
|
||||
help
|
||||
Do not compile any kind of SQLite support.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_SQLITE_QT
|
||||
bool "Qt SQLite"
|
||||
help
|
||||
Use Qt bundled SQLite support.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM
|
||||
bool "System SQLite"
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
Use system SQLite.
|
||||
|
||||
endchoice
|
||||
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_TEST
|
||||
def_bool y
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_XML
|
||||
def_bool y
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_GUI
|
||||
bool "gui module"
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
# At least one graphic backend must be enabled, so enable
|
||||
# linuxfb if nothing is enabled.
|
||||
select BR2_PACKAGE_QT5BASE_LINUXFB if \
|
||||
!BR2_PACKAGE_QT5BASE_DIRECTFB && \
|
||||
!BR2_PACKAGE_QT5BASE_XCB && \
|
||||
!BR2_PACKAGE_QT5BASE_EGLFS
|
||||
help
|
||||
This option enables the Qt5Gui library.
|
||||
|
||||
if BR2_PACKAGE_QT5BASE_GUI
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
bool "widgets module"
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB
|
||||
help
|
||||
This option enables the Qt5Widgets library.
|
||||
|
||||
comment "OpenGL support needs an OpenGL-capable backend"
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_OPENGL
|
||||
bool "OpenGL support"
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
help
|
||||
This option enables OpenGL support.
|
||||
|
||||
if BR2_PACKAGE_QT5BASE_OPENGL
|
||||
|
||||
choice
|
||||
prompt "OpenGL API"
|
||||
help
|
||||
Select OpenGL API.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP
|
||||
bool "Desktop OpenGL"
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
Use desktop OpenGL.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_OPENGL_ES2
|
||||
bool "OpenGL ES 2.0+"
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
help
|
||||
Use OpenGL ES 2.0 and later versions.
|
||||
|
||||
endchoice
|
||||
|
||||
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.
|
||||
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_LINUXFB
|
||||
bool "linuxfb support"
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_DIRECTFB
|
||||
bool "directfb support"
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
|
||||
comment "directfb backend available if directfb is enabled"
|
||||
depends on !BR2_PACKAGE_DIRECTFB
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_XCB
|
||||
bool "X.org XCB support"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_LIBXCB
|
||||
select BR2_PACKAGE_XCB_UTIL_IMAGE
|
||||
select BR2_PACKAGE_XCB_UTIL_KEYSYMS
|
||||
select BR2_PACKAGE_XCB_UTIL_WM
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
|
||||
comment "X.org XCB backend available if X.org is enabled"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
|
||||
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
|
||||
|
||||
comment "eglfs backend available if OpenGL and EGL are enabled"
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
|
||||
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).
|
||||
|
||||
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
|
||||
def_bool y
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_FONTCONFIG
|
||||
bool "fontconfig support"
|
||||
select BR2_PACKAGE_FONTCONFIG
|
||||
help
|
||||
This option enables Fontconfig and Freetype support using
|
||||
the system fontconfig and freetype2 libraries.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_GIF
|
||||
bool "GIF support"
|
||||
help
|
||||
This compiles and installs the plugin for GIF reading support.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_JPEG
|
||||
bool "JPEG support"
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
This option enables JPEG support using the system libjpeg
|
||||
library.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_PNG
|
||||
bool "PNG support"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
This option enables PNG support using the system libpng
|
||||
library.
|
||||
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_DBUS
|
||||
bool "DBus module"
|
||||
select BR2_PACKAGE_DBUS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
help
|
||||
This option enables the D-Bus module.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_ICU
|
||||
bool "Enable ICU support"
|
||||
select BR2_PACKAGE_ICU
|
||||
depends on !BR2_BINFMT_FLAT # icu
|
||||
help
|
||||
This option enables ICU support in Qt5. This is for example
|
||||
needed for Qt5Webkit.
|
||||
|
||||
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
|
||||
28
bsp/buildroot-2017.02.11/package/qt5/qt5base/qmake.conf
Normal file
28
bsp/buildroot-2017.02.11/package/qt5/qt5base/qmake.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
# Qt5 has a mechanism to support "device" profiles, so that people can
|
||||
# specify the compiler, compiler flags and so on for a specific device.
|
||||
|
||||
# We leverage this mechanism in the Buildroot packaging of qt5 to
|
||||
# simplify cross-compilation: we have our own "device" definition, which
|
||||
# allows us to easily pass the cross-compiler paths and flags from our
|
||||
# qt5.mk.
|
||||
|
||||
include(../common/linux_device_pre.conf)
|
||||
|
||||
# modifications to g++-unix.conf
|
||||
QMAKE_CC = $${CROSS_COMPILE}gcc
|
||||
QMAKE_CXX = $${CROSS_COMPILE}g++
|
||||
|
||||
# modifications to gcc-base.conf
|
||||
QMAKE_CFLAGS += $${BR_COMPILER_CFLAGS}
|
||||
QMAKE_CXXFLAGS += $${BR_COMPILER_CXXFLAGS}
|
||||
QMAKE_CXXFLAGS_RELEASE += -O3
|
||||
CONFIG += nostrip
|
||||
|
||||
QMAKE_LIBS += -lrt -lpthread -ldl
|
||||
QMAKE_CFLAGS_ISYSTEM =
|
||||
|
||||
# Architecturespecific configuration
|
||||
include(arch.conf)
|
||||
|
||||
include(../common/linux_device_post.conf)
|
||||
load(qt_config)
|
||||
@@ -0,0 +1 @@
|
||||
#include "../../linux-g++/qplatformdefs.h"
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
314
bsp/buildroot-2017.02.11/package/qt5/qt5base/qt5base.mk
Normal file
314
bsp/buildroot-2017.02.11/package/qt5/qt5base/qt5base.mk
Normal file
@@ -0,0 +1,314 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5base
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5BASE_VERSION = $(QT5_VERSION)
|
||||
QT5BASE_SITE = $(QT5_SITE)
|
||||
QT5BASE_SOURCE = qtbase-opensource-src-$(QT5BASE_VERSION).tar.xz
|
||||
|
||||
QT5BASE_DEPENDENCIES = host-pkgconf zlib pcre
|
||||
QT5BASE_INSTALL_STAGING = YES
|
||||
|
||||
# A few comments:
|
||||
# * -no-pch to workaround the issue described at
|
||||
# http://comments.gmane.org/gmane.comp.lib.qt.devel/5933.
|
||||
# * -system-zlib because zlib is mandatory for Qt build, and we
|
||||
# want to use the Buildroot packaged zlib
|
||||
# * -system-pcre because pcre is mandatory to build Qt, and we
|
||||
# want to use the one packaged in Buildroot
|
||||
QT5BASE_CONFIGURE_OPTS += \
|
||||
-optimized-qmake \
|
||||
-no-cups \
|
||||
-no-iconv \
|
||||
-system-zlib \
|
||||
-system-pcre \
|
||||
-no-pch \
|
||||
-shared
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(call qstrip,$(BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS))
|
||||
|
||||
# Uses libgbm from mesa3d
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -kms -gbm
|
||||
QT5BASE_DEPENDENCIES += mesa3d
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-kms
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -debug
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -release
|
||||
endif
|
||||
|
||||
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_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_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_FILES += header.BSD
|
||||
endif
|
||||
else
|
||||
QT5BASE_LICENSE = Commercial license
|
||||
QT5BASE_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
QT5BASE_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_QT5BASE_CONFIG_FILE))
|
||||
|
||||
ifneq ($(QT5BASE_CONFIG_FILE),)
|
||||
QT5BASE_CONFIGURE_OPTS += -qconfig buildroot
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
QT5BASE_DEPENDENCIES += udev
|
||||
endif
|
||||
|
||||
# Qt5 SQL Plugins
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -plugin-sql-mysql -mysql_config $(STAGING_DIR)/usr/bin/mysql_config
|
||||
QT5BASE_DEPENDENCIES += mysql
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-sql-mysql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_PSQL),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -plugin-sql-psql -psql_config $(STAGING_DIR)/usr/bin/pg_config
|
||||
QT5BASE_DEPENDENCIES += postgresql
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-sql-psql
|
||||
endif
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_QT),-plugin-sql-sqlite)
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM),-system-sqlite)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM),sqlite)
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_NONE),-no-sql-sqlite)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_GUI),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -gui -system-freetype
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5_VERSION_5_6),-I$(STAGING_DIR)/usr/include/freetype2)
|
||||
QT5BASE_DEPENDENCIES += freetype
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-gui -no-freetype
|
||||
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.
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_LINUXFB),--enable-linuxfb,-no-linuxfb)
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),-directfb,-no-directfb)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),directfb)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -xcb -system-xkbcommon
|
||||
QT5BASE_DEPENDENCIES += \
|
||||
libxcb \
|
||||
xcb-util-wm \
|
||||
xcb-util-image \
|
||||
xcb-util-keysyms \
|
||||
xlib_libX11 \
|
||||
libxkbcommon
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y)
|
||||
QT5BASE_DEPENDENCIES += xlib_libXext
|
||||
endif
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-xcb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -opengl desktop
|
||||
QT5BASE_DEPENDENCIES += libgl
|
||||
else ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_ES2),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -opengl es2
|
||||
QT5BASE_DEPENDENCIES += libgles
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-opengl
|
||||
endif
|
||||
|
||||
QT5BASE_DEFAULT_QPA = $(call qstrip,$(BR2_PACKAGE_QT5BASE_DEFAULT_QPA))
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(QT5BASE_DEFAULT_QPA),-qpa $(QT5BASE_DEFAULT_QPA))
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EGLFS),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -eglfs
|
||||
QT5BASE_DEPENDENCIES += libegl
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-eglfs
|
||||
endif
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_OPENSSL),openssl)
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),-fontconfig,-no-fontconfig)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),fontconfig)
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_GIF),,-no-gif)
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_JPEG),-system-libjpeg,-no-libjpeg)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_JPEG),jpeg)
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_PNG),-system-libpng,-no-libpng)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_PNG),libpng)
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DBUS),-dbus,-no-dbus)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DBUS),dbus)
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),-tslib,-no-tslib)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),tslib)
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBGLIB2),-glib,-no-glib)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBGLIB2),libglib2)
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_ICU),-icu,-no-icu)
|
||||
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_ICU),icu)
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_EXAMPLES),-make,-nomake) examples
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),y)
|
||||
# gstreamer 0.10 support is broken in qt5multimedia
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -gstreamer 1.0
|
||||
QT5BASE_DEPENDENCIES += gst1-plugins-base
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-gstreamer
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBINPUT),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -libinput
|
||||
QT5BASE_DEPENDENCIES += libinput
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-libinput
|
||||
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
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_NETWORK) += Qt5Network
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_CONCURRENT) += Qt5Concurrent
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_SQL) += Qt5Sql
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_TEST) += Qt5Test
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XML) += Qt5Xml
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_OPENGL_LIB) += Qt5OpenGL
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS) += Qt5EglFSDeviceIntegration
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS) += Qt5EglFsKmsSupport
|
||||
endif
|
||||
else
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS) += Qt5EglDeviceIntegration
|
||||
endif
|
||||
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_GUI) += Qt5Gui
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_WIDGETS) += Qt5Widgets
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_PRINTSUPPORT) += Qt5PrintSupport
|
||||
|
||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_DBUS) += Qt5DBus
|
||||
|
||||
ifneq ($(QT5BASE_CONFIG_FILE),)
|
||||
define QT5BASE_CONFIGURE_CONFIG_FILE
|
||||
cp $(QT5BASE_CONFIG_FILE) $(@D)/src/corelib/global/qconfig-buildroot.h
|
||||
endef
|
||||
endif
|
||||
|
||||
QT5BASE_ARCH_CONFIG_FILE = $(@D)/mkspecs/devices/linux-buildroot-g++/arch.conf
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC)$(BR2_PACKAGE_QT5_VERSION_LATEST),yy)
|
||||
# Qt 5.8 needs atomics, which on various architectures are in -latomic
|
||||
define QT5BASE_CONFIGURE_ARCH_CONFIG
|
||||
printf 'LIBS += -latomic\n' >$(QT5BASE_ARCH_CONFIG_FILE)
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5BASE_CONFIGURE_CMDS
|
||||
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qmake.conf \
|
||||
$(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf
|
||||
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \
|
||||
$(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h
|
||||
$(QT5BASE_CONFIGURE_CONFIG_FILE)
|
||||
touch $(QT5BASE_ARCH_CONFIG_FILE)
|
||||
$(QT5BASE_CONFIGURE_ARCH_CONFIG)
|
||||
(cd $(@D); \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
||||
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
|
||||
MAKEFLAGS="$(MAKEFLAGS) -j$(PARALLEL_JOBS)" \
|
||||
./configure \
|
||||
-v \
|
||||
-prefix /usr \
|
||||
-hostprefix $(HOST_DIR)/usr \
|
||||
-headerdir /usr/include/qt5 \
|
||||
-sysroot $(STAGING_DIR) \
|
||||
-plugindir /usr/lib/qt/plugins \
|
||||
-examplesdir /usr/lib/qt/examples \
|
||||
-no-rpath \
|
||||
-nomake tests \
|
||||
-device buildroot \
|
||||
-device-option CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
-device-option BR_COMPILER_CFLAGS="$(TARGET_CFLAGS) $(QT5BASE_EXTRA_CFLAGS)" \
|
||||
-device-option BR_COMPILER_CXXFLAGS="$(TARGET_CXXFLAGS) $(QT5BASE_EXTRA_CFLAGS)" \
|
||||
$(QT5BASE_CONFIGURE_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
define QT5BASE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5BASE_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
define QT5BASE_INSTALL_TARGET_LIBS
|
||||
for lib in $(QT5BASE_INSTALL_LIBS_y); do \
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib || exit 1 ; \
|
||||
done
|
||||
endef
|
||||
|
||||
define QT5BASE_INSTALL_TARGET_PLUGINS
|
||||
if [ -d $(STAGING_DIR)/usr/lib/qt/plugins/ ] ; then \
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/qt/plugins ; \
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins ; \
|
||||
fi
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),y)
|
||||
define QT5BASE_INSTALL_TARGET_FONTS
|
||||
if [ -d $(STAGING_DIR)/usr/lib/fonts/ ] ; then \
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/fonts ; \
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/fonts/* $(TARGET_DIR)/usr/lib/fonts ; \
|
||||
fi
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5BASE_INSTALL_TARGET_EXAMPLES
|
||||
if [ -d $(STAGING_DIR)/usr/lib/qt/examples/ ] ; then \
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/qt/examples ; \
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/* $(TARGET_DIR)/usr/lib/qt/examples ; \
|
||||
fi
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
define QT5BASE_INSTALL_TARGET_CMDS
|
||||
$(QT5BASE_INSTALL_TARGET_FONTS)
|
||||
$(QT5BASE_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
else
|
||||
define QT5BASE_INSTALL_TARGET_CMDS
|
||||
$(QT5BASE_INSTALL_TARGET_LIBS)
|
||||
$(QT5BASE_INSTALL_TARGET_PLUGINS)
|
||||
$(QT5BASE_INSTALL_TARGET_FONTS)
|
||||
$(QT5BASE_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
18
bsp/buildroot-2017.02.11/package/qt5/qt5canvas3d/Config.in
Normal file
18
bsp/buildroot-2017.02.11/package/qt5/qt5canvas3d/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt Canvas 3D module provides a way to make WebGL-like
|
||||
3D drawing calls from Qt Quick JavaScript.
|
||||
|
||||
http://doc.qt.io/qt-5/qtcanvas3d-index.html
|
||||
|
||||
comment "qt5canvas3d needs an OpenGL-capable backend"
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5canvas3d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5CANVAS3D_VERSION = $(QT5_VERSION)
|
||||
QT5CANVAS3D_SITE = $(QT5_SITE)
|
||||
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_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)
|
||||
endef
|
||||
|
||||
define QT5CANVAS3D_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5CANVAS3D_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
define QT5CANVAS3D_INSTALL_TARGET_CMDS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtCanvas3D $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_QT5CONNECTIVITY
|
||||
bool "qt5connectivity"
|
||||
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++.
|
||||
|
||||
Qt Connectivity module provides support for Bluetooth/NFC
|
||||
peripherials.
|
||||
|
||||
http://doc.qt.io/qt-5/qtbluetooth-index.html
|
||||
http://doc.qt.io/qt-5/qtnfc-index.html
|
||||
|
||||
comment "qt5connectivity needs neard and/or bluez(5)_utils"
|
||||
depends on !BR2_PACKAGE_NEARD && !BR2_PACKAGE_BLUEZ_UTILS && \
|
||||
!BR2_PACKAGE_BLUEZ5_UTILS
|
||||
@@ -0,0 +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
|
||||
@@ -0,0 +1,92 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5connectivity
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5CONNECTIVITY_VERSION = $(QT5_VERSION)
|
||||
QT5CONNECTIVITY_SITE = $(QT5_SITE)
|
||||
QT5CONNECTIVITY_SOURCE = qtconnectivity-opensource-src-$(QT5CONNECTIVITY_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5CONNECTIVITY_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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
|
||||
endif
|
||||
|
||||
QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5DECLARATIVE),qt5declarative)
|
||||
QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils)
|
||||
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)
|
||||
endef
|
||||
|
||||
define QT5CONNECTIVITY_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5CONNECTIVITY_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
ifneq ($(BR2_PACKAGE_BLUEZ_UTILS)$(BR2_PACKAGE_BLUEZ5_UTILS),)
|
||||
define QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtBluetooth $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_NEARD),y)
|
||||
define QT5CONNECTIVITY_INSTALL_TARGET_NFC_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtNfc $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_BLUEZ_UTILS)$(BR2_PACKAGE_BLUEZ5_UTILS),)
|
||||
define QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Bluetooth.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpf $(STAGING_DIR)/usr/bin/sdpscanner $(TARGET_DIR)/usr/bin
|
||||
endef
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/bluetooth $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEARD),y)
|
||||
define QT5CONNECTIVITY_INSTALL_TARGET_NFC
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Nfc.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5CONNECTIVITY_INSTALL_TARGET_NFC_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/nfc $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
endif
|
||||
|
||||
define QT5CONNECTIVITY_INSTALL_TARGET_CMDS
|
||||
$(QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH)
|
||||
$(QT5CONNECTIVITY_INSTALL_TARGET_NFC)
|
||||
$(QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_QMLS)
|
||||
$(QT5CONNECTIVITY_INSTALL_TARGET_NFC_QMLS)
|
||||
$(QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_EXAMPLES)
|
||||
$(QT5CONNECTIVITY_INSTALL_TARGET_NFC_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,27 @@
|
||||
config BR2_PACKAGE_QT5DECLARATIVE
|
||||
bool "qt5declarative"
|
||||
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++.
|
||||
|
||||
Qt Declarative module provides the Qt QML and Qt Quick
|
||||
modules for developing UIs with the QML language
|
||||
|
||||
http://doc.qt.io/qt-5/qtqml-index.html
|
||||
http://doc.qt.io/qt-5/qtquick-index.html
|
||||
|
||||
if BR2_PACKAGE_QT5DECLARATIVE
|
||||
|
||||
comment "quick module needs an OpenGL-capable backend"
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
|
||||
config BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
bool "quick module"
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,64 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5declarative
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5DECLARATIVE_VERSION = $(QT5_VERSION)
|
||||
QT5DECLARATIVE_SITE = $(QT5_SITE)
|
||||
QT5DECLARATIVE_SOURCE = qtdeclarative-opensource-src-$(QT5DECLARATIVE_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5DECLARATIVE_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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)
|
||||
endef
|
||||
|
||||
define QT5DECLARATIVE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
sub-src-all sub-tools-all
|
||||
endef
|
||||
|
||||
define QT5DECLARATIVE_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
sub-src-install_subtargets \
|
||||
sub-tools-install_subtargets
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
|
||||
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
|
||||
endif
|
||||
|
||||
define QT5DECLARATIVE_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/qml* $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
$(QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS)
|
||||
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_LIBS)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
17
bsp/buildroot-2017.02.11/package/qt5/qt5enginio/Config.in
Normal file
17
bsp/buildroot-2017.02.11/package/qt5/qt5enginio/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_QT5ENGINIO
|
||||
bool "qt5enginio"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_NETWORK
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Enginio is a Backend-as-a-Service solution for simplifying
|
||||
backend development of connected and data-driven applications.
|
||||
|
||||
This package has been tagged as deprecated since version
|
||||
5.6 and not recommended for new design.
|
||||
|
||||
http://doc.qt.io/archives/qt-5.5/enginio-index.html
|
||||
@@ -0,0 +1,2 @@
|
||||
# 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
|
||||
@@ -0,0 +1,67 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5enginio
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Qt5Enginio does not follow Qt versionning
|
||||
# see https://bugreports.qt.io/browse/QTBUG-50111
|
||||
QT5ENGINIO_VERSION = 1.6.2
|
||||
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_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
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5ENGINIO_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5ENGINIO_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5ENGINIO_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5ENGINIO_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5ENGINIO_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Enginio $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5ENGINIO_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/enginio $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_STATIC_LIBS),y)
|
||||
define QT5ENGINIO_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libEnginio.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5ENGINIO_INSTALL_TARGET_CMDS
|
||||
$(QT5ENGINIO_INSTALL_TARGET_LIBS)
|
||||
$(QT5ENGINIO_INSTALL_TARGET_QMLS)
|
||||
$(QT5ENGINIO_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,19 @@
|
||||
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
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
The Qt Graphical Effects module provides a set of QML types
|
||||
for adding visually impressive and configurable effects to
|
||||
user interfaces.
|
||||
|
||||
http://doc.qt.io/qt-5/qtgraphicaleffects-index.html
|
||||
|
||||
comment "qt5graphicaleffects needs an OpenGL-capable backend"
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5graphicaleffects
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5GRAPHICALEFFECTS_VERSION = $(QT5_VERSION)
|
||||
QT5GRAPHICALEFFECTS_SITE = $(QT5_SITE)
|
||||
QT5GRAPHICALEFFECTS_SOURCE = qtgraphicaleffects-opensource-src-$(QT5GRAPHICALEFFECTS_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5GRAPHICALEFFECTS_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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)
|
||||
endef
|
||||
|
||||
define QT5GRAPHICALEFFECTS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5GRAPHICALEFFECTS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
define QT5GRAPHICALEFFECTS_INSTALL_TARGET_CMDS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtGraphicalEffects $(TARGET_DIR)/usr/qml
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_QT5IMAGEFORMATS
|
||||
bool "qt5imageformats"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
The Qt Image Formats module provides plugins for
|
||||
additional image formats: TIFF, MNG, TGA, WBMP
|
||||
|
||||
http://doc.qt.io/qt-5/qtimageformats-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,44 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5imageformats
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5IMAGEFORMATS_VERSION = $(QT5_VERSION)
|
||||
QT5IMAGEFORMATS_SITE = $(QT5_SITE)
|
||||
QT5IMAGEFORMATS_SOURCE = qtimageformats-opensource-src-$(QT5IMAGEFORMATS_VERSION).tar.xz
|
||||
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_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_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)
|
||||
endef
|
||||
|
||||
define QT5IMAGEFORMATS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5IMAGEFORMATS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5IMAGEFORMATS_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/qt/plugins/imageformats/*.so $(TARGET_DIR)/usr/lib/qt/plugins/imageformats/
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
12
bsp/buildroot-2017.02.11/package/qt5/qt5location/Config.in
Normal file
12
bsp/buildroot-2017.02.11/package/qt5/qt5location/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_QT5LOCATION
|
||||
bool "qt5location"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
The Qt Location API helps you create viable mapping
|
||||
solutions using the data available from some of the
|
||||
popular location services.
|
||||
|
||||
http://doc.qt.io/qt-5/qtlocation-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,66 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5location
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5LOCATION_VERSION = $(QT5_VERSION)
|
||||
QT5LOCATION_SITE = $(QT5_SITE)
|
||||
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_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_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)
|
||||
endef
|
||||
|
||||
define QT5LOCATION_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5LOCATION_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5LOCATION_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtPositioning $(TARGET_DIR)/usr/qml/
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtLocation $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
define QT5LOCATION_INSTALL_TARGET_LOCATION
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Location.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/geoservices $(TARGET_DIR)/usr/lib/qt/plugins/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5LOCATION_INSTALL_TARGET_POSITION
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Positioning.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/position $(TARGET_DIR)/usr/lib/qt/plugins/
|
||||
endef
|
||||
|
||||
define QT5LOCATION_INSTALL_TARGET_CMDS
|
||||
$(QT5LOCATION_INSTALL_TARGET_POSITION)
|
||||
$(QT5LOCATION_INSTALL_TARGET_LOCATION)
|
||||
$(QT5LOCATION_INSTALL_TARGET_QMLS)
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(generic-package))
|
||||
16
bsp/buildroot-2017.02.11/package/qt5/qt5multimedia/Config.in
Normal file
16
bsp/buildroot-2017.02.11/package/qt5/qt5multimedia/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_QT5MULTIMEDIA
|
||||
bool "qt5multimedia"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_NETWORK
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE_OPENGL
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
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.
|
||||
|
||||
http://doc.qt.io/qt-5/multimediaoverview.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,87 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5multimedia
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5MULTIMEDIA_VERSION = $(QT5_VERSION)
|
||||
QT5MULTIMEDIA_SITE = $(QT5_SITE)
|
||||
QT5MULTIMEDIA_SOURCE = qtmultimedia-opensource-src-$(QT5MULTIMEDIA_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5MULTIMEDIA_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_PULSEAUDIO),yy)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += libglib2 pulseaudio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += alsa-lib
|
||||
endif
|
||||
|
||||
define QT5MULTIMEDIA_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5MULTIMEDIA_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5MULTIMEDIA_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
|
||||
define QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libqgsttools*.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Multimedia*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
$(QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB)
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5MULTIMEDIA_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtMultimedia $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
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/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5MULTIMEDIA_INSTALL_TARGET_CMDS
|
||||
$(QT5MULTIMEDIA_INSTALL_TARGET_LIBS)
|
||||
$(QT5MULTIMEDIA_INSTALL_TARGET_QMLS)
|
||||
$(QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_QT5QUICKCONTROLS
|
||||
bool "qt5quickcontrols"
|
||||
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++.
|
||||
|
||||
The Qt Quick Controls module provides a set of controls
|
||||
that can be used to build complete interfaces in Qt Quick.
|
||||
|
||||
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_JSCORE_AVAILABLE
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,54 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5quickcontrols
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5QUICKCONTROLS_VERSION = $(QT5_VERSION)
|
||||
QT5QUICKCONTROLS_SITE = $(QT5_SITE)
|
||||
QT5QUICKCONTROLS_SOURCE = qtquickcontrols-opensource-src-$(QT5QUICKCONTROLS_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5QUICKCONTROLS_LICENSE = Commercial license
|
||||
QT5QUICKCONTROLS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5QUICKCONTROLS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5QUICKCONTROLS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
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
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),y)
|
||||
define QT5QUICKCONTROLS_INSTALL_TARGET_LAYOUTS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Layouts $(TARGET_DIR)/usr/qml/QtQuick
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5QUICKCONTROLS_INSTALL_TARGET_CMDS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Controls $(TARGET_DIR)/usr/qml/QtQuick
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Dialogs $(TARGET_DIR)/usr/qml/QtQuick
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Extras $(TARGET_DIR)/usr/qml/QtQuick
|
||||
$(QT5QUICKCONTROLS_INSTALL_TARGET_PRIVATEWIDGETS)
|
||||
$(QT5QUICKCONTROLS_INSTALL_TARGET_LAYOUTS)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_QT5QUICKCONTROLS2
|
||||
bool "qt5quickcontrols2"
|
||||
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++.
|
||||
|
||||
This package corresponds to the qt5quickcontrols2 module.
|
||||
|
||||
This module was in tech preview in Qt 5.6, and promoted
|
||||
to a core module in Qt 5.7.0.
|
||||
|
||||
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_JSCORE_AVAILABLE
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,59 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5quickcontrols2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5QUICKCONTROLS2_VERSION = $(QT5_VERSION)
|
||||
QT5QUICKCONTROLS2_SITE = $(QT5_SITE)
|
||||
QT5QUICKCONTROLS2_SOURCE = qtquickcontrols2-opensource-src-$(QT5QUICKCONTROLS2_VERSION).tar.xz
|
||||
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_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)
|
||||
endef
|
||||
|
||||
define QT5QUICKCONTROLS2_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5QUICKCONTROLS2_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/quickcontrols2 $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5QuickTemplates2.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5QuickControls2.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/calendar $(TARGET_DIR)/usr/qml/Qt/labs
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/platform $(TARGET_DIR)/usr/qml/Qt/labs
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Controls.2 $(TARGET_DIR)/usr/qml/QtQuick
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Templates.2 $(TARGET_DIR)/usr/qml/QtQuick
|
||||
$(QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
else
|
||||
define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5LabsTemplates.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/controls $(TARGET_DIR)/usr/qml/Qt/labs
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/calendar $(TARGET_DIR)/usr/qml/Qt/labs
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/templates $(TARGET_DIR)/usr/qml/Qt/labs
|
||||
$(QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
16
bsp/buildroot-2017.02.11/package/qt5/qt5script/Config.in
Normal file
16
bsp/buildroot-2017.02.11/package/qt5/qt5script/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_QT5SCRIPT
|
||||
bool "qt5script"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt Script provides support for making Qt applications
|
||||
scriptable. Provided for Qt 4.x compatibility.
|
||||
|
||||
This package has been tagged as deprecated since version
|
||||
5.5.0 and should be replaced by Qt QML module in new
|
||||
design.
|
||||
|
||||
http://doc.qt.io/qt-5/qtscript-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
40
bsp/buildroot-2017.02.11/package/qt5/qt5script/qt5script.mk
Normal file
40
bsp/buildroot-2017.02.11/package/qt5/qt5script/qt5script.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5script
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5SCRIPT_VERSION = $(QT5_VERSION)
|
||||
QT5SCRIPT_SITE = $(QT5_SITE)
|
||||
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
|
||||
else
|
||||
QT5SCRIPT_LICENSE = Commercial license
|
||||
QT5SCRIPT_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5SCRIPT_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5SCRIPT_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5SCRIPT_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5SCRIPT_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Script*.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
11
bsp/buildroot-2017.02.11/package/qt5/qt5sensors/Config.in
Normal file
11
bsp/buildroot-2017.02.11/package/qt5/qt5sensors/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_QT5SENSORS
|
||||
bool "qt5sensors"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
The Qt Sensors API provides access to sensor hardware
|
||||
via QML and C++ interfaces.
|
||||
|
||||
http://doc.qt.io/qt-5/qtsensors-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,61 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5sensors
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5SENSORS_VERSION = $(QT5_VERSION)
|
||||
QT5SENSORS_SITE = $(QT5_SITE)
|
||||
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
|
||||
else
|
||||
QT5SENSORS_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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)
|
||||
endef
|
||||
|
||||
define QT5SENSORS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5SENSORS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5SENSORS_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Sensors.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/sensor* $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5SENSORS_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtSensors $(TARGET_DIR)/usr/qml
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5SENSORS_INSTALL_TARGET_CMDS
|
||||
$(QT5SENSORS_INSTALL_TARGET_LIBS)
|
||||
$(QT5SENSORS_INSTALL_TARGET_QMLS)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
18
bsp/buildroot-2017.02.11/package/qt5/qt5serialbus/Config.in
Normal file
18
bsp/buildroot-2017.02.11/package/qt5/qt5serialbus/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_QT5SERIALBUS
|
||||
bool "qt5serialbus"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 # CAN FD
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5SERIALPORT
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
This package corresponds to the qt5serialbus module.
|
||||
|
||||
This module was in tech preview in Qt 5.6, and promoted
|
||||
to a core module in Qt 5.8.0.
|
||||
|
||||
http://doc.qt.io/qt-5/qtserialbus-index.html
|
||||
|
||||
comment "qt5serialbus needs headers >= 3.6"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,50 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5serialbus
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5SERIALBUS_VERSION = $(QT5_VERSION)
|
||||
QT5SERIALBUS_SITE = $(QT5_SITE)
|
||||
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_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)
|
||||
endef
|
||||
|
||||
define QT5SERIALBUS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5SERIALBUS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5SERIALBUS_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5SerialBus.so.* \
|
||||
$(TARGET_DIR)/usr/lib
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/qt/plugins/canbus
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/qt/plugins/canbus/*.so \
|
||||
$(TARGET_DIR)/usr/lib/qt/plugins/canbus
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5SERIALBUS_INSTALL_TARGET_CMDS
|
||||
$(QT5SERIALBUS_INSTALL_TARGET_LIBS)
|
||||
$(INSTALL) -m 0755 -D $(@D)/bin/canbusutil \
|
||||
$(TARGET_DIR)/usr/bin/canbusutil
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
12
bsp/buildroot-2017.02.11/package/qt5/qt5serialport/Config.in
Normal file
12
bsp/buildroot-2017.02.11/package/qt5/qt5serialport/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_QT5SERIALPORT
|
||||
bool "qt5serialport"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt Serial Port provides the basic functionality, which
|
||||
includes configuring, I/O operations, getting and setting
|
||||
the control signals of the RS-232 pinouts.
|
||||
|
||||
http://doc.qt.io/qt-5/qtserialport-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5serialport
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5SERIALPORT_VERSION = $(QT5_VERSION)
|
||||
QT5SERIALPORT_SITE = $(QT5_SITE)
|
||||
QT5SERIALPORT_SOURCE = qtserialport-opensource-src-$(QT5SERIALPORT_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5SERIALPORT_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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)
|
||||
endef
|
||||
|
||||
define QT5SERIALPORT_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5SERIALPORT_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5SERIALPORT_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5SerialPort.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
12
bsp/buildroot-2017.02.11/package/qt5/qt5svg/Config.in
Normal file
12
bsp/buildroot-2017.02.11/package/qt5/qt5svg/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_QT5SVG
|
||||
bool "qt5svg"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt SVG provides classes for rendering and displaying SVG
|
||||
drawings in widgets and on other paint devices.
|
||||
|
||||
http://doc.qt.io/qt-5/qtsvg-index.html
|
||||
5
bsp/buildroot-2017.02.11/package/qt5/qt5svg/qt5svg.hash
Normal file
5
bsp/buildroot-2017.02.11/package/qt5/qt5svg/qt5svg.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
53
bsp/buildroot-2017.02.11/package/qt5/qt5svg/qt5svg.mk
Normal file
53
bsp/buildroot-2017.02.11/package/qt5/qt5svg/qt5svg.mk
Normal file
@@ -0,0 +1,53 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5svg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5SVG_VERSION = $(QT5_VERSION)
|
||||
QT5SVG_SITE = $(QT5_SITE)
|
||||
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_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_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)
|
||||
endef
|
||||
|
||||
define QT5SVG_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5SVG_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y)
|
||||
define QT5SVG_INSTALL_ICONENGINES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/iconengines $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5SVG_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Svg*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/qt/plugins/imageformats/libqsvg.so $(TARGET_DIR)/usr/lib/qt/plugins/imageformats/
|
||||
$(QT5SVG_INSTALL_ICONENGINES)
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
44
bsp/buildroot-2017.02.11/package/qt5/qt5tools/Config.in
Normal file
44
bsp/buildroot-2017.02.11/package/qt5/qt5tools/Config.in
Normal file
@@ -0,0 +1,44 @@
|
||||
config BR2_PACKAGE_QT5TOOLS
|
||||
bool "qt5tools"
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt Tools provides tools facilitate the development
|
||||
and design of applications.
|
||||
|
||||
http://doc.qt.io/qt-5/qtmodules.html#qt-tools
|
||||
|
||||
if BR2_PACKAGE_QT5TOOLS
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
|
||||
bool "Linguist host tools (lconvert, lrelease, lupdate)"
|
||||
help
|
||||
This option enables the linguist host tools
|
||||
lconvert, lrelease and lupdate.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_PIXELTOOL
|
||||
bool "pixeltool"
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
select BR2_PACKAGE_QT5BASE_PNG # saving png images
|
||||
help
|
||||
Compile and install the pixeltool program.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_QTDIAG
|
||||
bool "qtdiag"
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
help
|
||||
Compile and install the qtdiag program.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_QTPATHS
|
||||
bool "qtpaths"
|
||||
help
|
||||
Compile and install the qtpaths program.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_QTPLUGININFO
|
||||
bool "qtplugininfo"
|
||||
help
|
||||
Compile and install the qtplugininfo program.
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
71
bsp/buildroot-2017.02.11/package/qt5/qt5tools/qt5tools.mk
Normal file
71
bsp/buildroot-2017.02.11/package/qt5/qt5tools/qt5tools.mk
Normal file
@@ -0,0 +1,71 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5tools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5TOOLS_VERSION = $(QT5_VERSION)
|
||||
QT5TOOLS_SITE = $(QT5_SITE)
|
||||
QT5TOOLS_SOURCE = qttools-opensource-src-$(QT5TOOLS_VERSION).tar.xz
|
||||
|
||||
QT5TOOLS_DEPENDENCIES = qt5base
|
||||
QT5TOOLS_INSTALL_STAGING = YES
|
||||
|
||||
# linguist tools compile conditionally on qtHaveModule(qmldevtools-private),
|
||||
# but the condition is used only used to decide if lupdate will support
|
||||
# parsing qml files (via setting QT_NO_QML define), no linking against
|
||||
# target qt5 will happen
|
||||
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
|
||||
else
|
||||
QT5TOOLS_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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
|
||||
ifeq ($(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS),y)
|
||||
# use install target to copy cmake module files
|
||||
define QT5TOOLS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/linguist install
|
||||
endef
|
||||
endif
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths
|
||||
|
||||
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)
|
||||
endef
|
||||
|
||||
define QT5TOOLS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) sub-src-qmake_all
|
||||
$(foreach p,$(QT5TOOLS_BUILD_DIRS_y), \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/$(p)$(sep))
|
||||
endef
|
||||
|
||||
define QT5TOOLS_INSTALL_TARGET_CMDS
|
||||
$(foreach p,$(QT5TOOLS_INSTALL_TARGET_y), \
|
||||
$(INSTALL) -D -m0755 $(@D)/bin/$(p) $(TARGET_DIR)/usr/bin/$(p)$(sep))
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
13
bsp/buildroot-2017.02.11/package/qt5/qt5webchannel/Config.in
Normal file
13
bsp/buildroot-2017.02.11/package/qt5/qt5webchannel/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_QT5WEBCHANNEL
|
||||
bool "qt5webchannel"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5WEBSOCKETS
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt WebChannel enables peer-to-peer communication between
|
||||
a server (QML/C++ application) and a client
|
||||
(HTML/JavaScript or QML application).
|
||||
|
||||
http://doc.qt.io/qt-5/qtwebchannel-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,76 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5webchannel
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5WEBCHANNEL_VERSION = $(QT5_VERSION)
|
||||
QT5WEBCHANNEL_SITE = $(QT5_SITE)
|
||||
QT5WEBCHANNEL_SOURCE = qtwebchannel-opensource-src-$(QT5WEBCHANNEL_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5WEBCHANNEL_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.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
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5WEBCHANNEL_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5WEBCHANNEL_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5WEBCHANNEL_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5WEBCHANNEL_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/webchannel/qwebchannel.js \
|
||||
$(TARGET_DIR)/var/www/qwebchannel.js
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtWebChannel $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/webchannel $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_STATIC_LIBS),y)
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebChannel.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5WEBCHANNEL_INSTALL_TARGET_CMDS
|
||||
$(QT5WEBCHANNEL_INSTALL_TARGET_LIBS)
|
||||
$(QT5WEBCHANNEL_INSTALL_TARGET_QMLS)
|
||||
$(QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT)
|
||||
$(QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -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,85 @@
|
||||
From ae16ce17cc7060274a0b0c165b953fc32540f977 Mon Sep 17 00:00:00 2001
|
||||
From: Magnus Granberg <zorry@gentoo.org>
|
||||
Date: Fri, 27 Feb 2015 11:55:09 +0100
|
||||
Subject: [PATCH] Remove TEXTREL tag in x86
|
||||
|
||||
Fix textrel QA warnings when building qtwebkit for x86:
|
||||
|
||||
WARNING: QA Issue: ELF binary '/home/andre/rdk/rdk-master/build-vbox32/tmp/work/core2-32-rdk-linux/qtwebkit/5.4.0-r0/packages-split/qtwebkit/usr/lib/libQt5WebKit.so.5.4.0' has relocations in .text [textrel]
|
||||
|
||||
Patch from upstream webkit:
|
||||
|
||||
https://bugs.webkit.org/show_bug.cgi?id=70610
|
||||
|
||||
Minor refresh required to apply cleanly to the older webkit sources used
|
||||
by qtwebkit. Specifically, the patch needed to be modified to account
|
||||
for PLATFORM(MAC) -> OS(DARWIN) renaming in recent webkit which is not
|
||||
part of qtwebkit yet ( https://bugs.webkit.org/show_bug.cgi?id=99683 ).
|
||||
|
||||
Upstream status [webkit] : backport
|
||||
Upstream status [qtwebkit] : unclear
|
||||
|
||||
Bug: https://bugs.webkit.org/show_bug.cgi?id=70610
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
|
||||
Downloaded from:
|
||||
https://github.com/meta-qt5/meta-qt5/blob/krogoth/recipes-qt/qt5/qtwebkit/
|
||||
0002-Remove-TEXTREL-tag-in-x86.patch
|
||||
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
Source/JavaScriptCore/jit/ThunkGenerators.cpp | 24 ++++++++++++++++++++++++
|
||||
Source/WTF/wtf/InlineASM.h | 2 ++
|
||||
2 files changed, 26 insertions(+)
|
||||
|
||||
diff --git a/Source/JavaScriptCore/jit/ThunkGenerators.cpp b/Source/JavaScriptCore/jit/ThunkGenerators.cpp
|
||||
index 9684df2..8af82d8 100644
|
||||
--- a/Source/JavaScriptCore/jit/ThunkGenerators.cpp
|
||||
+++ b/Source/JavaScriptCore/jit/ThunkGenerators.cpp
|
||||
@@ -524,6 +524,30 @@ double jsRound(double d)
|
||||
} \
|
||||
static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk;
|
||||
|
||||
+#elif CPU(X86) && COMPILER(GCC) && OS(LINUX) && defined(__PIC__)
|
||||
+#define defineUnaryDoubleOpWrapper(function) \
|
||||
+ asm( \
|
||||
+ ".text\n" \
|
||||
+ ".globl " SYMBOL_STRING(function##Thunk) "\n" \
|
||||
+ HIDE_SYMBOL(function##Thunk) "\n" \
|
||||
+ SYMBOL_STRING(function##Thunk) ":" "\n" \
|
||||
+ "pushl %ebx\n" \
|
||||
+ "subl $20, %esp\n" \
|
||||
+ "movsd %xmm0, (%esp) \n" \
|
||||
+ "call __x86.get_pc_thunk.bx\n" \
|
||||
+ "addl $_GLOBAL_OFFSET_TABLE_, %ebx\n" \
|
||||
+ "call " GLOBAL_REFERENCE(function) "\n" \
|
||||
+ "fstpl (%esp) \n" \
|
||||
+ "movsd (%esp), %xmm0 \n" \
|
||||
+ "addl $20, %esp\n" \
|
||||
+ "popl %ebx\n" \
|
||||
+ "ret\n" \
|
||||
+ );\
|
||||
+ extern "C" { \
|
||||
+ MathThunkCallingConvention function##Thunk(MathThunkCallingConvention); \
|
||||
+ } \
|
||||
+ static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk;
|
||||
+
|
||||
#elif CPU(X86) && COMPILER(GCC) && (PLATFORM(MAC) || OS(LINUX))
|
||||
#define defineUnaryDoubleOpWrapper(function) \
|
||||
asm( \
|
||||
diff --git a/Source/WTF/wtf/InlineASM.h b/Source/WTF/wtf/InlineASM.h
|
||||
index 0a2fe78..2dc40ef 100644
|
||||
--- a/Source/WTF/wtf/InlineASM.h
|
||||
+++ b/Source/WTF/wtf/InlineASM.h
|
||||
@@ -46,6 +46,8 @@
|
||||
#define GLOBAL_REFERENCE(name) #name "@plt"
|
||||
#elif CPU(X86) && COMPILER(MINGW)
|
||||
#define GLOBAL_REFERENCE(name) "@" #name "@4"
|
||||
+#elif OS(LINUX) && CPU(X86) && defined(__PIC__)
|
||||
+#define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) "@plt"
|
||||
#else
|
||||
#define GLOBAL_REFERENCE(name) SYMBOL_STRING(name)
|
||||
#endif
|
||||
--
|
||||
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
|
||||
|
||||
33
bsp/buildroot-2017.02.11/package/qt5/qt5webkit/Config.in
Normal file
33
bsp/buildroot-2017.02.11/package/qt5/qt5webkit/Config.in
Normal file
@@ -0,0 +1,33 @@
|
||||
config BR2_PACKAGE_QT5WEBKIT
|
||||
bool "qt5webkit"
|
||||
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++.
|
||||
|
||||
The Qt WebKit module provides the WebView API, which
|
||||
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.
|
||||
|
||||
http://doc.qt.io/archives/qt-5.5/qtwebkit-index.html
|
||||
|
||||
comment "qt5webkit needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_BINFMT_FLAT
|
||||
depends on !BR2_MIPS_SOFT_FLOAT
|
||||
@@ -0,0 +1,5 @@
|
||||
# Hash from: http://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
|
||||
75
bsp/buildroot-2017.02.11/package/qt5/qt5webkit/qt5webkit.mk
Normal file
75
bsp/buildroot-2017.02.11/package/qt5/qt5webkit/qt5webkit.mk
Normal file
@@ -0,0 +1,75 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5webkit
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5WEBKIT_VERSION = $(QT5_VERSION)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5WEBKIT_SITE = $(QT5_SNAPSHOTS_SITE)
|
||||
else
|
||||
QT5WEBKIT_SITE = http://download.qt.io/community_releases/5.6/$(QT5_VERSION)
|
||||
endif
|
||||
|
||||
QT5WEBKIT_SOURCE = qtwebkit-opensource-src-$(QT5WEBKIT_VERSION).tar.xz
|
||||
QT5WEBKIT_DEPENDENCIES = \
|
||||
host-bison host-flex host-gperf host-python host-ruby \
|
||||
qt5base sqlite
|
||||
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
|
||||
# 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
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5WEBKIT_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
# QtWebkit'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.
|
||||
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
|
||||
endef
|
||||
QT5WEBKIT_PRE_CONFIGURE_HOOKS += QT5WEBKIT_PYTHON2_SYMLINK
|
||||
|
||||
define QT5WEBKIT_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBKIT_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5WEBKIT_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(QT5WEBKIT_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5WEBKIT_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(QT5WEBKIT_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
|
||||
define QT5WEBKIT_INSTALL_TARGET_QMLS
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/QtWebKit $(TARGET_DIR)/usr/qml/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5WEBKIT_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebKit*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpf $(@D)/bin/* $(TARGET_DIR)/usr/bin/
|
||||
$(QT5WEBKIT_INSTALL_TARGET_QMLS)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
14
bsp/buildroot-2017.02.11/package/qt5/qt5websockets/Config.in
Normal file
14
bsp/buildroot-2017.02.11/package/qt5/qt5websockets/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_QT5WEBSOCKETS
|
||||
bool "qt5websockets"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_NETWORK
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
The Qt WebSockets module provides C++ and QML interfaces
|
||||
that enable Qt applications to act as a server that can
|
||||
process WebSocket requests, or a client that can
|
||||
consume data received from the server, or both.
|
||||
|
||||
http://doc.qt.io/qt-5/qtwebsockets-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,70 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5websockets
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5WEBSOCKETS_VERSION = $(QT5_VERSION)
|
||||
QT5WEBSOCKETS_SITE = $(QT5_SITE)
|
||||
QT5WEBSOCKETS_SOURCE = qtwebsockets-opensource-src-$(QT5WEBSOCKETS_VERSION).tar.xz
|
||||
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
|
||||
else
|
||||
QT5WEBSOCKETS_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3
|
||||
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
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5WEBSOCKETS_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
define QT5WEBSOCKETS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5WEBSOCKETS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5WEBSOCKETS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
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/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5WEBSOCKETS_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/websockets $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_STATIC_LIBS),y)
|
||||
define QT5WEBSOCKETS_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebSockets.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5WEBSOCKETS_INSTALL_TARGET_CMDS
|
||||
$(QT5WEBSOCKETS_INSTALL_TARGET_LIBS)
|
||||
$(QT5WEBSOCKETS_INSTALL_TARGET_QMLS)
|
||||
$(QT5WEBSOCKETS_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
12
bsp/buildroot-2017.02.11/package/qt5/qt5x11extras/Config.in
Normal file
12
bsp/buildroot-2017.02.11/package/qt5/qt5x11extras/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_QT5X11EXTRAS
|
||||
bool "qt5x11extras"
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
depends on BR2_PACKAGE_QT5BASE_XCB
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt X11 Extras enables the Qt programmer to write
|
||||
applications for the Linux/X11 platform.
|
||||
|
||||
http://doc.qt.io/qt-5/qtx11extras-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtx11extras-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 1e7a8e96e0629f2b2b78de684b156b357210cf5df6b42f30789423f2cb07677f qtx11extras-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtx11extras-opensource-src-5.8.0.tar.xz
|
||||
sha256 bed7f2b5123a9849ec94afa67db5f296e6f527c6330f47a680c83586d3a4280e qtx11extras-opensource-src-5.8.0.tar.xz
|
||||
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5x11extras
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5X11EXTRAS_VERSION = $(QT5_VERSION)
|
||||
QT5X11EXTRAS_SITE = $(QT5_SITE)
|
||||
QT5X11EXTRAS_SOURCE = qtx11extras-opensource-src-$(QT5X11EXTRAS_VERSION).tar.xz
|
||||
QT5X11EXTRAS_DEPENDENCIES = qt5base
|
||||
QT5X11EXTRAS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5X11EXTRAS_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5X11EXTRAS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5X11EXTRAS_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5X11EXTRAS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
else
|
||||
QT5X11EXTRAS_LICENSE = Commercial license
|
||||
QT5X11EXTRAS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5X11EXTRAS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5X11EXTRAS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5X11EXTRAS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5X11EXTRAS_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5X11Extras.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_QT5XMLPATTERNS
|
||||
bool "qt5xmlpatterns"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
The Qt XML Patterns module provides support for XPath,
|
||||
XQuery, XSLT, and XML Schema validation.
|
||||
|
||||
http://doc.qt.io/qt-5/qtxmlpatterns-index.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtxmlpatterns-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 a461ff9f0d7310de9b9904ff9cd34919e958bf4071a6fc7096450b8990ab51f6 qtxmlpatterns-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtxmlpatterns-opensource-src-5.8.0.tar.xz
|
||||
sha256 7bffa65ea52e54fb1314b45222888612d55eaf51a936a6119b8756266439da04 qtxmlpatterns-opensource-src-5.8.0.tar.xz
|
||||
@@ -0,0 +1,59 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5xmlpatterns
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5XMLPATTERNS_VERSION = $(QT5_VERSION)
|
||||
QT5XMLPATTERNS_SITE = $(QT5_SITE)
|
||||
QT5XMLPATTERNS_SOURCE = qtxmlpatterns-opensource-src-$(QT5XMLPATTERNS_VERSION).tar.xz
|
||||
QT5XMLPATTERNS_DEPENDENCIES = qt5base
|
||||
QT5XMLPATTERNS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5XMLPATTERNS_LICENSE = GPLv2+ or LGPLv3, GPLv3 with exception(tools), GFDLv1.3 (docs)
|
||||
QT5XMLPATTERNS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
|
||||
else
|
||||
QT5XMLPATTERNS_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
|
||||
QT5XMLPATTERNS_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
QT5XMLPATTERNS_LICENSE := $(QT5XMLPATTERNS_LICENSE), BSD-3c (examples)
|
||||
endif
|
||||
else
|
||||
QT5XMLPATTERNS_LICENSE = Commercial license
|
||||
QT5XMLPATTERNS_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT5XMLPATTERNS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5XMLPATTERNS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5XMLPATTERNS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT5XMLPATTERNS_INSTALL_TARGET_LIBS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt5XmlPatterns*.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
||||
define QT5XMLPATTERNS_INSTALL_TARGET_EXAMPLES
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/xmlpatterns $(TARGET_DIR)/usr/lib/qt/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
define QT5XMLPATTERNS_INSTALL_TARGET_CMDS
|
||||
$(QT5XMLPATTERNS_INSTALL_TARGET_LIBS)
|
||||
$(QT5XMLPATTERNS_INSTALL_TARGET_EXAMPLES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user