summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-09-11 12:08:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-09-12 09:30:35 +0200
commit78d7f867dc4fa787c5b5f44de86cd2cc043d3d45 (patch)
tree02f4ea207e9cad8f4321d7633a9f18bf7682fc5d /dev-qt/qt3d
parentdev-qt/qt-docs: 5.12.5_p201908230013 version bump (diff)
downloadgentoo-78d7f867dc4fa787c5b5f44de86cd2cc043d3d45.tar.gz
gentoo-78d7f867dc4fa787c5b5f44de86cd2cc043d3d45.tar.bz2
gentoo-78d7f867dc4fa787c5b5f44de86cd2cc043d3d45.zip
dev-qt: Add Qt 5.12.5
Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qt3d')
-rw-r--r--dev-qt/qt3d/Manifest1
-rw-r--r--dev-qt/qt3d/metadata.xml2
-rw-r--r--dev-qt/qt3d/qt3d-5.12.5.ebuild34
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-qt/qt3d/Manifest b/dev-qt/qt3d/Manifest
index c994650e45d8..7d85668cad32 100644
--- a/dev-qt/qt3d/Manifest
+++ b/dev-qt/qt3d/Manifest
@@ -1,2 +1,3 @@
DIST qt3d-everywhere-src-5.12.3.tar.xz 84941692 BLAKE2B 245e62dad28fb6c5e75cbefb5153fb139c8b4114fdfebd6987f82b5b2b627614d1b444bcefa002d09dcdbbb6801cace6a9ae56eac99e26d15794ff04e75ea675 SHA512 679c2dbc60fc53c1c5469369f25244bd844c2e6e723a1b451f7cbb50bfa018e6fb715214e5a5df6fb32d7c7936bb6c99d85e299fe2b76344bcf774c93ed0acd0
DIST qt3d-everywhere-src-5.12.4.tar.xz 84960856 BLAKE2B 3e0f32facd7b500dace5d0240ec1f5fea8b2049910073e9d5e9f29169571252ae3ba7bcb006abc20fa1d097d9e99eb7bad2facab6870a2bd0824b66b9be58b5e SHA512 aa93d3661d092dc020e7903242964b7daba1e42882deb0d5fd45abff3c11e971f49a497ae5a1b7420fd497e6986daca4da0a217c94821ef8432cc3d8c617d291
+DIST qt3d-everywhere-src-5.12.5.tar.xz 82075068 BLAKE2B b842d9f8bef8b70a5a9ace52d38b3aea78dacb75c589019c224204309b9eb0bf1899cd0e26c84f662a470120c7430f33de70dd7ee683e7b8122244dc9231db0d SHA512 8cc23417b4a41bf9d19052e05c7e3be8773be062f1f5998a7784573ef9c35a04da50ce67a65b3709065bb3cf243aac8ede4bea60f0420a5400cbe6c9c7bdf05b
diff --git a/dev-qt/qt3d/metadata.xml b/dev-qt/qt3d/metadata.xml
index 987a6dc29cad..bdb6f1b07cc1 100644
--- a/dev-qt/qt3d/metadata.xml
+++ b/dev-qt/qt3d/metadata.xml
@@ -6,6 +6,8 @@
<name>Gentoo Qt Project</name>
</maintainer>
<use>
+ <flag name="gamepad">Add support for gamepad hardware via
+ <pkg>dev-qt/qtgamepad</pkg></flag>
<flag name="gles2">Use GLES 2.0 or later instead of full OpenGL</flag>
<flag name="qml">Build QML/QtQuick bindings</flag>
</use>
diff --git a/dev-qt/qt3d/qt3d-5.12.5.ebuild b/dev-qt/qt3d/qt3d-5.12.5.ebuild
new file mode 100644
index 000000000000..431e26853e58
--- /dev/null
+++ b/dev-qt/qt3d/qt3d-5.12.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit qt5-build
+
+DESCRIPTION="3D rendering module for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+# TODO: tools
+IUSE="gamepad gles2 qml"
+
+DEPEND="
+ ~dev-qt/qtconcurrent-${PV}
+ ~dev-qt/qtcore-${PV}
+ ~dev-qt/qtgui-${PV}
+ ~dev-qt/qtnetwork-${PV}
+ >=media-libs/assimp-4.0.0
+ gamepad? ( ~dev-qt/qtgamepad-${PV} )
+ qml? ( ~dev-qt/qtdeclarative-${PV}[gles2=] )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ rm -r src/3rdparty/assimp/{code,contrib,include} || die
+
+ qt_use_disable_mod gamepad gamepad src/input/frontend/frontend.pri
+ qt_use_disable_mod qml quick src/src.pro
+
+ qt5-build_src_prepare
+}