summaryrefslogtreecommitdiff
path: root/dev-qt/qtquick3d/qtquick3d-6.3.1.ebuild
blob: 6eb36deec9114821c0107e884e7115870b1ed3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}