summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-20 03:51:37 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-20 04:45:26 -0400
commit2a3d5296797ffedf6adc1c29666cd14cd4c6a42c (patch)
tree694bdffda210035ba7dca2da6a59db1ac9a98868 /dev-qt
parentdev-qt/qtbase: add 6.7.1 (diff)
downloadgentoo-2a3d5296797ffedf6adc1c29666cd14cd4c6a42c.tar.gz
gentoo-2a3d5296797ffedf6adc1c29666cd14cd4c6a42c.tar.bz2
gentoo-2a3d5296797ffedf6adc1c29666cd14cd4c6a42c.zip
dev-qt/qt3d: add 6.7.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qt3d/Manifest1
-rw-r--r--dev-qt/qt3d/qt3d-6.7.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-qt/qt3d/Manifest b/dev-qt/qt3d/Manifest
index b48741a74ffd..60dd15a7409f 100644
--- a/dev-qt/qt3d/Manifest
+++ b/dev-qt/qt3d/Manifest
@@ -1,2 +1,3 @@
DIST qt3d-everywhere-opensource-src-5.15.13.tar.xz 118272832 BLAKE2B 35726c265e4abae44549e6ace3994bd7b82e522b5b1aa2dab835ade79c1fba531940ddc62c9c0c8b3ceda3d7b173ae45806e46c20428fc71c209971335d6c687 SHA512 30bb061b13f91a8137e961948431b0ca697135a62c8f601eb0c65dc46f0a1f3e7d850141952f0b673a80002e8493289860d9b86840406e3e72fab4eb515688ad
DIST qt3d-everywhere-src-6.7.0.tar.xz 141570596 BLAKE2B d9731f48157cbeb7e4fb5d1307cd09866bc4eb00f68f42299e1b35ce7ab4ec494418c50fae3513907d41d083e2fb13ff955b31e201e4235abb0d13c4e837c880 SHA512 538027077f9729b91ecc3a4de4a14be212236d0bc4b1f4533a558753b6cb7aa23e1c169c921fa71d61d5f9cffbb85a0535000bf677ca09962ca62cbfcc60e70d
+DIST qt3d-everywhere-src-6.7.1.tar.xz 141586868 BLAKE2B da49dcc7345d422eef4dce1d849514647f96a50d7a6c6ff64e130317aa406258d64a61a04aa0dc96cdd9e6b8d09a3ea2c64c8e9a3aafe6ecc0c96746b9dac899 SHA512 0fe8f2c0e843332978651c5063d35148e7aea3f8e68b10279e731d6fb4a2b48478e8db3d5a3badf797334dcca04ee24f33935e235a97e8e9ee1f95f2d52f2443
diff --git a/dev-qt/qt3d/qt3d-6.7.1.ebuild b/dev-qt/qt3d/qt3d-6.7.1.ebuild
new file mode 100644
index 000000000000..5e1b7809f57e
--- /dev/null
+++ b/dev-qt/qt3d/qt3d-6.7.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="3D rendering module for the Qt6 framework"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+elif [[ ${QT6_BUILD_TYPE} == live ]]; then
+ EGIT_SUBMODULES=() # skip qtquick3d-assimp
+fi
+
+IUSE="gles2-only qml vulkan"
+
+RDEPEND="
+ ~dev-qt/qtbase-${PV}:6[concurrent,gles2-only=,gui,network,opengl,vulkan=]
+ ~dev-qt/qtshadertools-${PV}:6
+ media-libs/assimp:=
+ qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
+"
+DEPEND="
+ ${RDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ -DQT_FEATURE_qt3d_system_assimp=ON
+ -DQT_UNITY_BUILD=OFF # fails to build
+ )
+
+ qt6-build_src_configure
+}