Skip to contentSkip to conversation

qt5/qt53d: new package

PATCH New Peter Seiderer 2 participants 2 messages Dec 4, 2015 – Dec 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qt5/qt53d: new package

---
Changes v1 -> v2:
- remove extra space from license list
- update from md5 to sha256 hash
- add copy of qml/Qt3D directory (thanks to Jordon Wu for the hint)

---
 package/qt5/Config.in        |  1 +
 package/qt5/qt53d/Config.in  | 18 ++++++++++++++++++
 package/qt5/qt53d/qt53d.hash |  2 ++
 package/qt5/qt53d/qt53d.mk   | 41 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 62 insertions(+)
 create mode 100644 package/qt5/qt53d/Config.in
 create mode 100644 package/qt5/qt53d/qt53d.hash
 create mode 100644 package/qt5/qt53d/qt53d.mk
package/qt5/Config.in +1 -0
index 22fd0c0..568fadb 100644
@@ -41,6 +41,7 @@ source "package/qt5/qt5quickcontrols/Config.in"
 source "package/qt5/qt5sensors/Config.in"
 source "package/qt5/qt5serialport/Config.in"
 source "package/qt5/qt5svg/Config.in"
+source "package/qt5/qt53d/Config.in"
 source "package/qt5/qt5webchannel/Config.in"
 source "package/qt5/qt5websockets/Config.in"
 source "package/qt5/qt5x11extras/Config.in"
package/qt5/qt53d/Config.in new file +18 -0
new file mode 100644
index 0000000..d350922
@@ -0,0 +1,18 @@
+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.
+
+	  http://doc.qt.io/qt-5/qt3d-index.html
+
+comment "qt53d module needs an OpenGL-capable backend"
+        depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
package/qt5/qt53d/qt53d.hash new file +2 -0
new file mode 100644
index 0000000..0ba111e
@@ -0,0 +1,2 @@
+# Hash from http://download.qt.io/official_releases/qt/5.5/5.5.0/submodules/qt3d-opensource-src-5.5.0.tar.xz.mirrorlist
+sha256 bf6c54fbb6f279e9bd6fd67f7faa8e61ac4273baa06a56f8946346adc8c3568e qt3d-opensource-src-5.5.0.tar.xz
package/qt5/qt53d/qt53d.mk new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/1 qt5/qt53d: new package

Dear Peter Seiderer,

Quoted 1 line · Peter Seiderer

I've applied after doing a few changes. See below.

package/qt5/Config.in source "package/qt5/qt5quickcontrols/Config.in" · line 44

Quoted 9 lines
package/qt5/Config.in +1 -0
index 22fd0c0..568fadb 100644
@@ -41,6 +41,7 @@ source "package/qt5/qt5quickcontrols/Config.in"
 source "package/qt5/qt5sensors/Config.in"
 source "package/qt5/qt5serialport/Config.in"
 source "package/qt5/qt5svg/Config.in"
+source "package/qt5/qt53d/Config.in"

Alphabetic ordering should have been used here.

package/qt5/Config.in source "package/qt5/qt5quickcontrols/Config.in" · line 46

Quoted 2 lines
package/qt5/Config.in +2 -0
+comment "qt53d module needs an OpenGL-capable backend"
+        depends on !BR2_PACKAGE_QT5_GL_AVAILABLE

This line was indented with spaces, while a tab should be used. Also, the comment should only be displayed when BR2_PACKAGE_QT5_JSCORE_AVAILABLE is met.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com