summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-02-14 06:06:58 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-02-14 07:20:56 -0500
commita12ca228ddf576fece46b4c133ea311cf3c7e6be (patch)
tree768be20361660ae540ed0e846a038dbb0653cd32 /dev-qt/qtquick3d
parentdev-qt/qtpositioning: add 6.6.2 (diff)
downloadgentoo-a12ca228ddf576fece46b4c133ea311cf3c7e6be.tar.gz
gentoo-a12ca228ddf576fece46b4c133ea311cf3c7e6be.tar.bz2
gentoo-a12ca228ddf576fece46b4c133ea311cf3c7e6be.zip
dev-qt/qtquick3d: add 6.6.2
Closes: https://bugs.gentoo.org/917407 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtquick3d')
-rw-r--r--dev-qt/qtquick3d/Manifest1
-rw-r--r--dev-qt/qtquick3d/qtquick3d-6.6.2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-qt/qtquick3d/Manifest b/dev-qt/qtquick3d/Manifest
index 108989c4d5fa..7d9bd4694037 100644
--- a/dev-qt/qtquick3d/Manifest
+++ b/dev-qt/qtquick3d/Manifest
@@ -1 +1,2 @@
DIST qtquick3d-everywhere-src-6.6.1.tar.xz 59170016 BLAKE2B dc4bf8552a5b6f227778a288fa49c822c42fcf3f53a9a0502c9ee2f97caebaeb5d00bf3c2be67dbdaeac9ddeb9771d3361c7dec39fbaf080074cc64bb051e2ef SHA512 1a663920b3d2010de1b38ed559a2391d31a5c42dfdb0c414723acdf778c1fce2f6f74295bb260201d0a9ac64ff30570599e8d8b97229f6c5f33229a19a1fe763
+DIST qtquick3d-everywhere-src-6.6.2.tar.xz 65602548 BLAKE2B e1ee955a1f66c669d52a73513c7442b70863b6fa738f6e1716dfab1c7dc41f5f09780ec97f7c5fd6c452ed3ea9809ab0d907dbe28f0425d208508f69b61d50ac SHA512 d8b32ec1a5f9233e79612b5d9b56890c04a921edcc6369f4a047f8e58af92f5e6dc936fdde707df4afca81da53f9fb8959f03b00af24077c3dc723f3445e8123
diff --git a/dev-qt/qtquick3d/qtquick3d-6.6.2.ebuild b/dev-qt/qtquick3d/qtquick3d-6.6.2.ebuild
new file mode 100644
index 000000000000..f1ff25e4b555
--- /dev/null
+++ b/dev-qt/qtquick3d/qtquick3d-6.6.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021-2024 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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+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] )
+ vulkan? ( dev-util/vulkan-headers )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.6.2-gcc14.patch
+)
+
+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
+}