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:
4
dev-qt/qt3d/Manifest
Normal file
4
dev-qt/qt3d/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
DIST qt3d-everywhere-opensource-src-5.15.16.tar.xz 118265056 BLAKE2B b5a20f20e8f8a1dbb25fa370d5f02b104e2b3b4902f1f58596cd2d0d2a4ddda67dcaaa9ccd865f7474e1b66bb506f5eeb687fbedbc796a1da7ff95b407566ec9 SHA512 bdb13bd73a8b706eae8ad07d506ca21469a138dadb47b604a23ebe4640b593cba1353efa081a51a6d869a3d75e1b2b25c432bc7bc4621991f2fd2f5d18914fc6
|
||||
DIST qt3d-everywhere-src-6.8.2.tar.xz 141821364 BLAKE2B f7f6384110bd8808abb2cb17d05e6a2cb2556afb1e630531c08c20ab1b938d9c511264d7eab610b515a62ef7f4c8aed9cfc8a2801e900d163d84bb1f935876e7 SHA512 e873547bb8ed350e146ce081e3c08f5593ad33e977aad1d933089e287826c81033972cb6428c7f54cbee50c438ceab31181f64b99ada77382875b5053f00ca0d
|
||||
DIST qt3d-everywhere-src-6.8.3.tar.xz 141825440 BLAKE2B cb3416dc9364c9c90515e56881f5c0cfbcbbbfd0fd56153f24d69ae3789f0a507ce387fbd480cf127c4169c234052cfadc438771a99e65632e069310ad6cdd2a SHA512 8316fbe5a39bc5113da4759e195a55c57d8340021a39576939c0a4a604f47b4edb3c0206f914d4a3177ff09471d1f3475ffc4c2fa935ed8d98a166e310bc78b4
|
||||
DIST qt3d-everywhere-src-6.9.0.tar.xz 141826404 BLAKE2B f1a83884aa14d9f08381e1d97e0a0877665aa273d5f5f5927a758096da0939fe0ea47e1907cc8c032e47636cc25d450f86635092a4dc237354a0660dfd10d5d2 SHA512 f4e7d5d2f7615447b2283ff7dd04d9cd21110e854c48271b343e2ed196843c73b72c2649641c30b386b798b1dbab4df6494eb40f7c7b009a9eac921bc39f85ed
|
||||
22
dev-qt/qt3d/metadata.xml
Normal file
22
dev-qt/qt3d/metadata.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?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="gamepad">Add support for gamepad hardware via <pkg>dev-qt/qtgamepad</pkg></flag>
|
||||
<flag name="qml">Build QML/QtQuick bindings</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</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>
|
||||
44
dev-qt/qt3d/qt3d-5.15.16.ebuild
Normal file
44
dev-qt/qt3d/qt3d-5.15.16.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
|
||||
fi
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="3D rendering module for the Qt5 framework"
|
||||
|
||||
# TODO: tools
|
||||
IUSE="gamepad gles2-only qml vulkan"
|
||||
|
||||
RDEPEND="
|
||||
=dev-qt/qtconcurrent-${QT5_PV}*
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtgui-${QT5_PV}*:5=[vulkan=]
|
||||
=dev-qt/qtnetwork-${QT5_PV}*
|
||||
>=media-libs/assimp-4.0.0:=
|
||||
gamepad? ( =dev-qt/qtgamepad-${QT5_PV}* )
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}*[gles2-only=] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
vulkan? ( dev-util/vulkan-headers )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
rm -r src/3rdparty/assimp/src/{code,contrib,include} || die
|
||||
|
||||
qt_use_disable_mod gamepad gamepad src/input/frontend/frontend.pri
|
||||
qt_use_disable_mod qml quick src/src.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myqmakeargs=(
|
||||
--
|
||||
-system-assimp
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user