Skip to content

Commit

Permalink
dev-qt/qtquick3d: new package
Browse files Browse the repository at this point in the history
Version 6.3.1 of the Qt module and API for defining 3D content in
Qt QuickTools.

Bug: https://bugs.gentoo.org/838970
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jimi Huotari <[email protected]>
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
Chiitoo authored and thesamesam committed Aug 2, 2022
1 parent 0ac0ccc commit 4b84824
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-qt/qtquick3d/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST qtquick3d-everywhere-src-6.3.1.tar.xz 37289264 BLAKE2B 3d6a09f6d748c13485eae58ebe910d3371ae2d1bface3b1c9817280f5624e74f551a27f5f87e4f932f49949d5a14afc6547def0db8e99171f7b2b2715afdb001 SHA512 342a1c558a4eece6e9442e45cc400af58c96fb59614902e0299291ea2c5b1c406d76cd8ec8cf1d8ac0d8b5fc4f2f4637063d1747dcdc54f191a81310df93534e
17 changes: 17 additions & 0 deletions dev-qt/qtquick3d/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo Qt Project</name>
</maintainer>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
<doc>https://doc.qt.io/</doc>
</upstream>
<slots>
<subslots>
Must only be used by packages that are known to use private parts of the Qt API.
</subslots>
</slots>
</pkgmetadata>
32 changes: 32 additions & 0 deletions dev-qt/qtquick3d/qtquick3d-6.3.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2021-2022 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"
elif [[ ${QT6_BUILD_TYPE} == live ]]; then
# Don't clone qtquick3d-assimp.
EGIT_SUBMODULES=()
fi

DEPEND="
=dev-qt/qtbase-${PV}*[concurrent,network,widgets]
=dev-qt/qtdeclarative-${PV}*
=dev-qt/qtshadertools-${PV}*
=dev-qt/qtquicktimeline-${PV}*
media-libs/assimp:=
"
RDEPEND="${DEPEND}"

src_configure() {
local mycmakeargs=(
-DQT_FEATURE_system_assimp=ON
)

qt6-build_src_configure
}

0 comments on commit 4b84824

Please sign in to comment.