summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-09-24 05:22:54 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-09-24 05:56:40 -0400
commit513f44b4b0f16d1eabe279a215dc7a8a60a7d4e7 (patch)
tree4ca78351391a19191ad7ca27dd368693738a4572 /dev-qt/qtquick3d
parentdev-qt/qtpositioning: add 6.8.0_rc (diff)
downloadgentoo-513f44b4b0f16d1eabe279a215dc7a8a60a7d4e7.tar.gz
gentoo-513f44b4b0f16d1eabe279a215dc7a8a60a7d4e7.tar.bz2
gentoo-513f44b4b0f16d1eabe279a215dc7a8a60a7d4e7.zip
dev-qt/qtquick3d: add 6.8.0_rc
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.0_rc.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-qt/qtquick3d/Manifest b/dev-qt/qtquick3d/Manifest
index a6d4329a8afd..15f9f6b8bc46 100644
--- a/dev-qt/qtquick3d/Manifest
+++ b/dev-qt/qtquick3d/Manifest
@@ -1 +1,2 @@
DIST qtquick3d-everywhere-src-6.7.2.tar.xz 66202160 BLAKE2B 1f3741bb11d21804ec56aa5bfa00b590d94258cb119b4284aa2757fa00785a69aba243e06bf68ca625355a8e8a392249be2ac9679226c8d250320aeb6c4ccf0f SHA512 d5a4557a6f0ea73b43de9238b8cd42fc037c417e72443a8cae96e8be779f82d5fd9efe1a09258a4d5dd55c4791b84192cb72e31bb1d744b618951080fe6fa1e2
+DIST qtquick3d-everywhere-src-6.8.0-rc.tar.xz 75285952 BLAKE2B c939e5335c0bcdd6402c015fbbcb4ad029a984deee00cf0b145ecd9e1ae1e5029665678a624743b0664b04a027528ddfd6a587d9b10c5261195adabedb2ceefc SHA512 c55a10cf243edda9037acf04f0851c3144e94635044101f89b34800eddaff083964ac75c49b85f07754133de6c8e22350c8136725d58e342facd33481c5de696
diff --git a/dev-qt/qtquick3d/qtquick3d-6.8.0_rc.ebuild b/dev-qt/qtquick3d/qtquick3d-6.8.0_rc.ebuild
new file mode 100644
index 000000000000..aba06df17246
--- /dev/null
+++ b/dev-qt/qtquick3d/qtquick3d-6.8.0_rc.ebuild
@@ -0,0 +1,53 @@
+# 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=(
+ # collada support is disabled in system media-libs/assimp (bug #891787)
+ 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
+}