summaryrefslogtreecommitdiff
path: root/dev-qt/qtquick3d/qtquick3d-6.6.0_rc.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-26 23:29:13 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-26 23:29:13 +0100
commitb544d842bfe55df1b59d40fb8059d5d240e4f42b (patch)
tree092145f89b76ccd50aba38348cb99b802227f5ae /dev-qt/qtquick3d/qtquick3d-6.6.0_rc.ebuild
parent20c20eb967a638c833aae1462f149894b2dbd811 (diff)
gentoo auto-resync : 26:09:2023 - 23:29:12
Diffstat (limited to 'dev-qt/qtquick3d/qtquick3d-6.6.0_rc.ebuild')
-rw-r--r--dev-qt/qtquick3d/qtquick3d-6.6.0_rc.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-qt/qtquick3d/qtquick3d-6.6.0_rc.ebuild b/dev-qt/qtquick3d/qtquick3d-6.6.0_rc.ebuild
new file mode 100644
index 000000000000..fb83b01939ee
--- /dev/null
+++ b/dev-qt/qtquick3d/qtquick3d-6.6.0_rc.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Qt module and API for defining 3D content in Qt QuickTools"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64"
+elif [[ ${QT6_BUILD_TYPE} == live ]]; then
+ EGIT_SUBMODULES=() # skip qtquick3d-assimp
+fi
+
+IUSE="opengl vulkan"
+
+RDEPEND="
+ ~dev-qt/qtbase-${PV}:6[concurrent,gui,opengl=,vulkan=,widgets]
+ ~dev-qt/qtdeclarative-${PV}:6
+ ~dev-qt/qtquicktimeline-${PV}:6
+ ~dev-qt/qtshadertools-${PV}:6
+ media-libs/assimp:=
+ sys-libs/zlib:=
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( ~dev-qt/qtbase-${PV}:6[network] )
+"
+
+CMAKE_SKIP_TESTS=(
+ # collada support is disabled in system media-libs/assimp (bug #891787)
+ tst_qquick3dassetimport
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DQT_FEATURE_system_assimp=ON
+ )
+
+ qt6-build_src_configure
+}