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:
2
dev-qt/qt3d/Manifest
Normal file
2
dev-qt/qt3d/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST qt3d-everywhere-src-6.10.3.tar.xz 141863456 BLAKE2B 71d529573814802b70c8ec389006f252119df65b34c51cac283dc10fd8393175d316dfd32e49442d95d7e40d407a87e06967fa69db844127265be7c6eaef55c3 SHA512 6a8b2842fe1a6dce1bc6afe0d1fd564049d92da8588676fc8c44af73c324a86b78865b5907be399813e74ee00fd6d699189ba45f85095dfe9acdb599eeb4519c
|
||||
DIST qt3d-everywhere-src-6.11.1.tar.xz 141869788 BLAKE2B b07600ca4f86cb7a3eedb5f709045b584c835a2f8a39b6e8c5ea3ce6dd15a493711f5fbca1f355fae82d69523bd1845f586d13ca2d1f00a870b4eef3f7a1f8eb SHA512 64679efc2e3ea5847cf66f67e8b33d8ddbcc42be4908804e69389edc3118b680af1945977ee884d91d850a110c66db4ae3498ca732285ec75b052da09c58647f
|
||||
15
dev-qt/qt3d/files/qt3d-6.9.2-assimp6.patch
Normal file
15
dev-qt/qt3d/files/qt3d-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/core/configure.cmake
|
||||
+++ b/src/core/configure.cmake
|
||||
@@ -16 +16 @@
|
||||
-qt_find_package(WrapQt3DAssimp 5 PROVIDED_TARGETS WrapQt3DAssimp::WrapQt3DAssimp MODULE_NAME 3dcore QMAKE_LIB qt3d-assimp)
|
||||
+qt_find_package(WrapQt3DAssimp PROVIDED_TARGETS WrapQt3DAssimp::WrapQt3DAssimp MODULE_NAME 3dcore QMAKE_LIB qt3d-assimp)
|
||||
@@ -23 +23 @@
|
||||
- PACKAGES PACKAGE WrapQt3DAssimp 5
|
||||
+ PACKAGES PACKAGE WrapQt3DAssimp
|
||||
21
dev-qt/qt3d/metadata.xml
Normal file
21
dev-qt/qt3d/metadata.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?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>
|
||||
<use>
|
||||
<flag name="qml">Build QML/QtQuick bindings</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://qt-project.atlassian.net/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
<remote-id type="github">qt/qt3d</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>
|
||||
40
dev-qt/qt3d/qt3d-6.10.3.ebuild
Normal file
40
dev-qt/qt3d/qt3d-6.10.3.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2026 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 ~loong ~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 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.9.2-assimp6.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
-DQT_FEATURE_qt3d_system_assimp=ON
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
40
dev-qt/qt3d/qt3d-6.11.1.ebuild
Normal file
40
dev-qt/qt3d/qt3d-6.11.1.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2026 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 ~loong ~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 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.9.2-assimp6.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
-DQT_FEATURE_qt3d_system_assimp=ON
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
40
dev-qt/qt3d/qt3d-6.11.9999.ebuild
Normal file
40
dev-qt/qt3d/qt3d-6.11.9999.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2025 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 ~loong ~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 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.9.2-assimp6.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
-DQT_FEATURE_qt3d_system_assimp=ON
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
40
dev-qt/qt3d/qt3d-6.12.9999.ebuild
Normal file
40
dev-qt/qt3d/qt3d-6.12.9999.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2026 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 ~loong ~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 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.9.2-assimp6.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
-DQT_FEATURE_qt3d_system_assimp=ON
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
40
dev-qt/qt3d/qt3d-6.9999.ebuild
Normal file
40
dev-qt/qt3d/qt3d-6.9999.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2025 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 ~loong ~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 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.9.2-assimp6.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
-DQT_FEATURE_qt3d_system_assimp=ON
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user