summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-04-02 08:06:05 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-04-02 09:05:03 -0400
commitb674da4379664a1904fc48e6ce9738dea3e4d045 (patch)
treee987b13cbfd9b1aff9747ec2c10a26622a2ddd49 /dev-qt/qtquick3d
parentdev-qt/qtpositioning: add 6.7.0 (diff)
downloadgentoo-b674da4379664a1904fc48e6ce9738dea3e4d045.tar.gz
gentoo-b674da4379664a1904fc48e6ce9738dea3e4d045.tar.bz2
gentoo-b674da4379664a1904fc48e6ce9738dea3e4d045.zip
dev-qt/qtquick3d: add 6.7.0
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.7.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-qt/qtquick3d/Manifest b/dev-qt/qtquick3d/Manifest
index 27a6a1698066..c0fa53942bad 100644
--- a/dev-qt/qtquick3d/Manifest
+++ b/dev-qt/qtquick3d/Manifest
@@ -1,2 +1,3 @@
DIST qtquick3d-everywhere-src-6.6.2.tar.xz 65602548 BLAKE2B e1ee955a1f66c669d52a73513c7442b70863b6fa738f6e1716dfab1c7dc41f5f09780ec97f7c5fd6c452ed3ea9809ab0d907dbe28f0425d208508f69b61d50ac SHA512 d8b32ec1a5f9233e79612b5d9b56890c04a921edcc6369f4a047f8e58af92f5e6dc936fdde707df4afca81da53f9fb8959f03b00af24077c3dc723f3445e8123
DIST qtquick3d-everywhere-src-6.6.3.tar.xz 65597184 BLAKE2B c72c45d991871c3d6de981a30828f8db768057ef136d9f0c2e897c4aa4c275cc1daa7269f3df98548d6c13049a64aed336c5004fd1697e64846beee6ac0b2aaf SHA512 49c9a5e336a011c592c2273420044d4cdea45a11db9c684fe7289b9e552d1f8c3e2cb690350a53ddad739f5334d045e213cc225c451c9e0f2a481afb9b1e255b
+DIST qtquick3d-everywhere-src-6.7.0.tar.xz 66175916 BLAKE2B 6e351845fd1056a1ee3cbb1f66a715c6a23b3eb2e09812e9cf262930404b3d0a6aaf52e619ac9bff502f3f07df2c54716baf262d6ffbe4cb77658d6090cd1765 SHA512 1262fccbbf7bd31aa122837998f3a903c191e70a270a2a678842e6f8209336b39f5523582e7b4ab88f0db98e357993c34f857ae2a34c7e7ac29597377459576b
diff --git a/dev-qt/qtquick3d/qtquick3d-6.7.0.ebuild b/dev-qt/qtquick3d/qtquick3d-6.7.0.ebuild
new file mode 100644
index 000000000000..b7438f43ac1d
--- /dev/null
+++ b/dev-qt/qtquick3d/qtquick3d-6.7.0.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
+}