dev-qt/qtquick3d: add 6.9.2

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-08-26 06:09:57 -04:00
parent 15a1662bfe
commit 56717adcde
2 changed files with 58 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST qtquick3d-everywhere-src-6.9.1.tar.xz 74173492 BLAKE2B 536233620afd63e7a02f015efb0ea3dcf3c4c3766aae27e30212701adee53c74812ddc04c618b1607d0c7d36127efdb550f06102896db04136596fc1b5a86616 SHA512 ed300ec9eaab59cdd6b15217c0f6b39f2f4678c6757e76ed5ad76654cf542f09abc9af959a2f525abdc8ee43855a3fd4a4f0b6d84cdd3221065cd2e4ae95e517
DIST qtquick3d-everywhere-src-6.9.2.tar.xz 74198672 BLAKE2B 570e31ad9a8d5e44accf8cebaef34ee3e69d4ab5dc47788b9c3f51d49aac06c3116a66e9edb45e43aee7c339b6a8272cb2cabde717a4f51eefc77078260153d8 SHA512 83db833d7446a7f7bd4e4b6d2973ba2e85f4d9f05b2d8c4957ff12fb03920ff01a74d825f806feeb4c768db3bc46c50847ce68097f4952745c02b7dd690f0101

View File

@@ -0,0 +1,57 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
QT6_HAS_STATIC_LIBS=1
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"
# <assimp-6: https://bugreports.qt.io/browse/QTBUG-137996 (same as qt3d)
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-6:=
sys-libs/zlib:=
"
DEPEND="
${RDEPEND}
test? ( ~dev-qt/qtbase-${PV}:6[network] )
vulkan? ( dev-util/vulkan-headers )
"
BDEPEND="
~dev-qt/qtshadertools-${PV}:6
"
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.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 (if use
# bundled, note need to setup python-any-r1)
-DQT_FEATURE_quick3dxr_openxr=OFF
)
qt6-build_src_configure
}