Add dev-qt from an older version of the gentoo repo
Qt5 has been removed, we restore it since we still use it.
This commit is contained in:
3
dev-qt/qtquick3d/Manifest
Normal file
3
dev-qt/qtquick3d/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST qtquick3d-everywhere-src-6.8.2.tar.xz 75298116 BLAKE2B a44c8d8f2c0a22a8c8ea688204e758cd4b7cc2b2f8fc66e65a4f809c941825a5e2e90fa0d6003b68f22dbf4fd19aa7b5d2ee8408bccf774e255023296a22a80a SHA512 401a2c5cc97e58bc82dd87e98e5838363e106fbad89ba0e0df18b51b61677c5f8a4f9882334657f80b94d04ad570863c9707123570dbe58cee5be7106922faa1
|
||||
DIST qtquick3d-everywhere-src-6.8.3.tar.xz 75305840 BLAKE2B cb62aa4d64c1e73e4ab112a81065663071462af1529d1401c7316a7b2bbaeec49bc3d0400b8a7bcadf116902f7552bcec93bde8d394f4b0e0ab4ab64252438f9 SHA512 5a5c04dfd1581905fb0b40cb35ef9e7370ffaf451287d84a9d444c0871f495ecfe59c8ab15cacc8e7314af45c16598fad5e63cd9466384c5ba245ad0c28315f2
|
||||
DIST qtquick3d-everywhere-src-6.9.0.tar.xz 75649196 BLAKE2B 1014cd48516eadd34afcffdfe2d69ba4a7f9f85826a75c34f9670bbe35b1579799e41154a0387d85f744bbe68b01d51f200181b20fe28f8126c494dff5c24318 SHA512 b0f45e7482d31f791dc069ae3c1facbb0ec3eda24704e2a157580e87939bbfbd269910dc4e5912ceaad40a99f96c5e6f4b5a8da1385be213a20cc68e9c86d77e
|
||||
23
dev-qt/qtquick3d/files/qtquick3d-6.6.2-gcc14.patch
Normal file
23
dev-qt/qtquick3d/files/qtquick3d-6.6.2-gcc14.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Qt undefs __AVX__ and others[1] to prevent bundled embree from using
|
||||
AVX/SSE4.2 code paths and result in linking errors, but this appears
|
||||
insufficient with gcc14[2].
|
||||
|
||||
Until Qt improves this, for simplicity pass -mno-* to bundled embree
|
||||
as a workaround which lets the compiler disable these instead and
|
||||
that includes other features which depend on these.
|
||||
|
||||
(note that embree is only used on amd64 and aarch64)
|
||||
|
||||
Ideal would be to unbundle this and let system embree use the full
|
||||
feature set, but there is no machinery to easily allow it.
|
||||
|
||||
[1] https://github.com/qt/qtquick3d/commit/7980cfd0
|
||||
[2] https://bugs.gentoo.org/917407
|
||||
--- a/src/3rdparty/embree/CMakeLists.txt
|
||||
+++ b/src/3rdparty/embree/CMakeLists.txt
|
||||
@@ -64,2 +64,5 @@
|
||||
# Use SSE2 only, ignore AVX/SSE4.2 for now
|
||||
+if (TEST_architecture_arch STREQUAL x86_64)
|
||||
+ qt_internal_extend_target(BundledEmbree COMPILE_OPTIONS -mno-avx -mno-sse4.2)
|
||||
+endif()
|
||||
qt_internal_extend_target(BundledEmbree DEFINES
|
||||
12
dev-qt/qtquick3d/files/qtquick3d-6.6.2-x32abi.patch
Normal file
12
dev-qt/qtquick3d/files/qtquick3d-6.6.2-x32abi.patch
Normal file
@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/926094
|
||||
https://bugreports.qt.io/browse/QTBUG-122955
|
||||
|
||||
https://bugs.gentoo.org/926093
|
||||
https://github.com/embree/embree/issues/477
|
||||
--- a/src/3rdparty/embree/common/sys/platform.h
|
||||
+++ b/src/3rdparty/embree/common/sys/platform.h
|
||||
@@ -34,3 +34,3 @@
|
||||
/* detect 64 bit platform */
|
||||
-#if defined(__X86_64__) || defined(__aarch64__)
|
||||
+#if (defined(__X86_64__) || defined(__aarch64__)) && ! defined(__ILP32__)
|
||||
#define __64BIT__
|
||||
15
dev-qt/qtquick3d/files/qtquick3d-6.9.2-assimp6.patch
Normal file
15
dev-qt/qtquick3d/files/qtquick3d-6.9.2-assimp6.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Seems that the '5' enforces the major version and it refuses to find
|
||||
system's assimp-6.0.2 (which is perfectly usable given Qt 6.9.2 bundles
|
||||
that version without it).
|
||||
|
||||
We don't package older ones, so drop the check as a quick workaround.
|
||||
|
||||
https://bugreports.qt.io/browse/QTBUG-137996
|
||||
--- a/src/plugins/assetimporters/configure.cmake
|
||||
+++ b/src/plugins/assetimporters/configure.cmake
|
||||
@@ -16 +16 @@
|
||||
-qt_find_package(WrapQuick3DAssimp 5.1.6 PROVIDED_TARGETS WrapQuick3DAssimp::WrapQuick3DAssimp MODULE_NAME assetimporters QMAKE_LIB quick3d_assimp)
|
||||
+qt_find_package(WrapQuick3DAssimp PROVIDED_TARGETS WrapQuick3DAssimp::WrapQuick3DAssimp MODULE_NAME assetimporters QMAKE_LIB quick3d_assimp)
|
||||
@@ -38 +38 @@
|
||||
- PACKAGES PACKAGE WrapQuick3DAssimp 5.1.6)
|
||||
+ PACKAGES PACKAGE WrapQuick3DAssimp)
|
||||
18
dev-qt/qtquick3d/metadata.xml
Normal file
18
dev-qt/qtquick3d/metadata.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
<remote-id type="github">qt/qtquick3d</remote-id>
|
||||
</upstream>
|
||||
<slots>
|
||||
<subslots>
|
||||
Must only be used by packages that are known to use private parts of the Qt API.
|
||||
</subslots>
|
||||
</slots>
|
||||
</pkgmetadata>
|
||||
57
dev-qt/qtquick3d/qtquick3d-6.10.3.ebuild
Normal file
57
dev-qt/qtquick3d/qtquick3d-6.10.3.ebuild
Normal file
@ -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.9.2-assimp6.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
|
||||
}
|
||||
56
dev-qt/qtquick3d/qtquick3d-6.11.1.ebuild
Normal file
56
dev-qt/qtquick3d/qtquick3d-6.11.1.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# 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
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
56
dev-qt/qtquick3d/qtquick3d-6.11.9999.ebuild
Normal file
56
dev-qt/qtquick3d/qtquick3d-6.11.9999.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# 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
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
56
dev-qt/qtquick3d/qtquick3d-6.12.9999.ebuild
Normal file
56
dev-qt/qtquick3d/qtquick3d-6.12.9999.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# 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
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
57
dev-qt/qtquick3d/qtquick3d-6.8.2.ebuild
Normal file
57
dev-qt/qtquick3d/qtquick3d-6.8.2.ebuild
Normal file
@ -0,0 +1,57 @@
|
||||
# Copyright 2021-2025 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 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 )
|
||||
"
|
||||
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
|
||||
-DQT_FEATURE_system_assimp=ON
|
||||
-DQT_FEATURE_system_openxr=ON
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
57
dev-qt/qtquick3d/qtquick3d-6.8.3.ebuild
Normal file
57
dev-qt/qtquick3d/qtquick3d-6.8.3.ebuild
Normal file
@ -0,0 +1,57 @@
|
||||
# Copyright 2021-2025 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 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 )
|
||||
"
|
||||
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
|
||||
-DQT_FEATURE_system_assimp=ON
|
||||
-DQT_FEATURE_system_openxr=ON
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
55
dev-qt/qtquick3d/qtquick3d-6.9.0.ebuild
Normal file
55
dev-qt/qtquick3d/qtquick3d-6.9.0.ebuild
Normal file
@ -0,0 +1,55 @@
|
||||
# Copyright 2021-2025 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 ~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 )
|
||||
"
|
||||
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
|
||||
}
|
||||
56
dev-qt/qtquick3d/qtquick3d-6.9.9999.ebuild
Normal file
56
dev-qt/qtquick3d/qtquick3d-6.9.9999.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# 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"
|
||||
|
||||
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 )
|
||||
"
|
||||
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
|
||||
}
|
||||
56
dev-qt/qtquick3d/qtquick3d-6.9999.ebuild
Normal file
56
dev-qt/qtquick3d/qtquick3d-6.9999.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# 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"
|
||||
|
||||
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 )
|
||||
"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user