diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-06-18 05:25:28 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-06-18 14:13:48 -0400 |
commit | 2155c502610ea1d154f680db907266885e0b7283 (patch) | |
tree | 09fa0ebb69ba3b863988561266d95416e7382008 /dev-qt/qtquick3d/qtquick3d-6.7.2.ebuild | |
parent | dev-qt/qtpositioning: add 6.7.2 (diff) | |
download | gentoo-2155c502610ea1d154f680db907266885e0b7283.tar.gz gentoo-2155c502610ea1d154f680db907266885e0b7283.tar.bz2 gentoo-2155c502610ea1d154f680db907266885e0b7283.zip |
dev-qt/qtquick3d: add 6.7.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtquick3d/qtquick3d-6.7.2.ebuild')
-rw-r--r-- | dev-qt/qtquick3d/qtquick3d-6.7.2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-qt/qtquick3d/qtquick3d-6.7.2.ebuild b/dev-qt/qtquick3d/qtquick3d-6.7.2.ebuild new file mode 100644 index 000000000000..b7438f43ac1d --- /dev/null +++ b/dev-qt/qtquick3d/qtquick3d-6.7.2.ebuild @@ -0,0 +1,48 @@ +# 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 + "${FILESDIR}"/${PN}-6.6.2-x32abi.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 +} |