summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-14 11:45:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-14 11:45:30 +0100
commitdfa6913fb8fbc3aba118a318cf7b71d7d2b7e9bd (patch)
tree91fc527d29d60a8988a8e889a3984d78c371ba66
parent5608e2e035357834e31a886aafd25bb954ad57ee (diff)
dev-qt/qt3d : import from gentoo tree, make it use our eclass, increase revision to beat gentoo
-rw-r--r--dev-qt/qt3d/Manifest1
-rw-r--r--dev-qt/qt3d/qt3d-5.9.5-r1000.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-qt/qt3d/Manifest b/dev-qt/qt3d/Manifest
new file mode 100644
index 00000000..8f872dad
--- /dev/null
+++ b/dev-qt/qt3d/Manifest
@@ -0,0 +1 @@
+DIST qt3d-opensource-src-5.9.5.tar.xz 83725448 BLAKE2B 04e244877156dc273a8467cec7ddbc05ae5b28226b6f9388d22e3f8f91bdc233259fc99953b5cf4a51794e4091bb5609fa5a22d122b74af259037e62d6ff0a33 SHA512 dd123cf60c3d7e2d71ab6de97b296ac9f899d4358c6b3babdd6dd788a7f0a1b1d77643418cee44fa133e33718869391b7b4db1658522f8b31ee1cff94fbe9318
diff --git a/dev-qt/qt3d/qt3d-5.9.5-r1000.ebuild b/dev-qt/qt3d/qt3d-5.9.5-r1000.ebuild
new file mode 100644
index 00000000..99339a34
--- /dev/null
+++ b/dev-qt/qt3d/qt3d-5.9.5-r1000.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qt5-build-r10000
+
+DESCRIPTION="The 3D module for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="amd64"
+fi
+
+# TODO: gamepad, tools
+IUSE="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
+ qml? ( ~dev-qt/qtdeclarative-${PV}[gles2=] )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ rm -r src/3rdparty/assimp/{code,contrib,include} || die
+
+ qt_use_disable_mod qml quick src/src.pro
+
+ qt5-build-r10000_src_prepare
+}