mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
dev-qt/qtquick3d: add 6.12.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST qtquick3d-everywhere-src-6.11.3.tar.xz 69967948 BLAKE2B afd06b921b4cadd5adc2d56545b3d277f5aad903b824629d8fbc48f6ef8994f7b44620fa364d116a9463b48c77f202d53ce492c1b1999005d177d3645e6ed1e5 SHA512 279d1991d1f6bce7b880fb044dae899a23194b3fa6fc9b4d7431e0939760881deafc33fb36301d21e4c5c84e590d3d2c5c617650f09d15be16185f2418392cff
|
||||
DIST qtquick3d-everywhere-src-6.12.0.tar.xz 70489844 BLAKE2B 06a9f41d899a6f193fbbf3b2f398d49a33d9c10d672015e1e99c6f392cda9fe5da72155c89c653c33aacbe432230fa1bf06765d23daff36af17938ab9f1e757b SHA512 4b81fb3a6bb5c78e01f3900533deb81fe4ddb79fe0a999ce27f5b6c971e4cc6e340979860eb5358a2156162f710d11af490462aefb4054a9ccc0b8dd3fdd1a77
|
||||
DIST qtquick3d-everywhere-src-6.12.1.tar.xz 70679156 BLAKE2B 610b28e963c9f94ee38a368bd2b886ce13b6a5adf9c649b319857463a93e29b48d9a1ce6d1a89b58967b82b86349635422252fac9907c3633f5e09033c021b60 SHA512 e2944e9f1b2af51db84aa91e7623c482b651fb7fbea59da8c26a4ebd558d96092e9201c34f725e087f464c36211f51412e14e4b1fc0c2a8045a32dfe1740c311
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
# Copyright 2021-2026 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"
|
||||
|
||||
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:=
|
||||
virtual/zlib:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( ~dev-qt/qtbase-${PV}:6[network] )
|
||||
vulkan? ( dev-util/vulkan-headers )
|
||||
"
|
||||
BDEPEND="
|
||||
~dev-qt/qtshadertools-${PV}:6
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# needs off-by-default assimp[collada] that is masked on some profiles,
|
||||
# not worth the extra trouble
|
||||
tst_qquick3dassetimport
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
|
||||
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
|
||||
"${FILESDIR}"/${PN}-6.11.2-stdlib.patch
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user