summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-12-02 01:25:13 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-12-02 02:22:44 -0500
commit04e269f681c995c7cbda66ba78ed4f5b1a766e87 (patch)
treeeb5dee13f184ed839eee562d72b4881dfcec941f /dev-qt/qtquick3d
parentdev-qt/qtpositioning: add 6.8.1 (diff)
downloadgentoo-04e269f681c995c7cbda66ba78ed4f5b1a766e87.tar.gz
gentoo-04e269f681c995c7cbda66ba78ed4f5b1a766e87.tar.bz2
gentoo-04e269f681c995c7cbda66ba78ed4f5b1a766e87.zip
dev-qt/qtquick3d: add 6.8.1
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.8.1.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-qt/qtquick3d/Manifest b/dev-qt/qtquick3d/Manifest
index 235db3a27c46..a9dad77c4856 100644
--- a/dev-qt/qtquick3d/Manifest
+++ b/dev-qt/qtquick3d/Manifest
@@ -1,3 +1,4 @@
DIST qtquick3d-everywhere-src-6.7.2.tar.xz 66202160 BLAKE2B 1f3741bb11d21804ec56aa5bfa00b590d94258cb119b4284aa2757fa00785a69aba243e06bf68ca625355a8e8a392249be2ac9679226c8d250320aeb6c4ccf0f SHA512 d5a4557a6f0ea73b43de9238b8cd42fc037c417e72443a8cae96e8be779f82d5fd9efe1a09258a4d5dd55c4791b84192cb72e31bb1d744b618951080fe6fa1e2
DIST qtquick3d-everywhere-src-6.7.3.tar.xz 66208152 BLAKE2B d165ea6d61c3b7e0253e6cc28a33c298a30b78add8cb761b460df280ebc069c979e52868b5675e15d4b2add6110f610bd9c6160848c7e02e5be0313f16179ec2 SHA512 cdfc34521a201325ee0d41dfb5608fc9deca6c27d71d27e170d147a53fad808c4e70ee67b5c7598c8685b8c534dd5fa8460f436ae4e7a208b7d5be27bf1631d5
DIST qtquick3d-everywhere-src-6.8.0.tar.xz 75282076 BLAKE2B 828708dabbc05ce4f00235274bae3b5ebf93b5430c267e18d3d77f69f79b0085324531b55997b7850bbea5fb775dc6c6f32a7a273e4eb33634d173c63abce841 SHA512 961f38845a07cb3792a1dc2c15784f526eb4da4ab6bb69825f7708076acff323ab9364434ad1099ac79a0f047b094f1b9bcd41e038f9520bda3dc361dc2f9529
+DIST qtquick3d-everywhere-src-6.8.1.tar.xz 75292284 BLAKE2B b0fa2fed9de6f9aa3cfb9bea6f50775f03aca17355e2b4f4f6b8b5de3f10febbe9e275b03337c9745c37fd62ac0a155c2b969ebd6be07662b0141e58fd5078c6 SHA512 9845cf84b57b33d0acb29a4c5ea2492ac60367d210b51c4896d6d5b9a33197be007cc02934c1b0dde5ee888641c8104cc4080f1493d0d09ed271fe2d08d2f410
diff --git a/dev-qt/qtquick3d/qtquick3d-6.8.1.ebuild b/dev-qt/qtquick3d/qtquick3d-6.8.1.ebuild
new file mode 100644
index 000000000000..7dd511a1fd8f
--- /dev/null
+++ b/dev-qt/qtquick3d/qtquick3d-6.8.1.ebuild
@@ -0,0 +1,54 @@
+# 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 ~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
+ "${FILESDIR}"/${PN}-6.6.2-x32abi.patch
+ "${FILESDIR}"/${PN}-6.7.2-gcc15.patch
+)
+
+CMAKE_SKIP_TESTS=(
+ # needs off-by-default assimp[collada] that is masked on some profiles,
+ # not worth the extra trouble
+ tst_qquick3dassetimport
+)
+
+src_configure() {
+ local mycmakeargs=(
+ # TODO: if someone wants it, openxr should likely have its own
+ # USE and be packaged rather than use the bundled copy
+ -DQT_FEATURE_quick3dxr_openxr=OFF
+ -DQT_FEATURE_system_assimp=ON
+ -DQT_FEATURE_system_openxr=ON
+ )
+
+ qt6-build_src_configure
+}