public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/qt:master commit in: profiles/, dev-qt/qtquick3d/
@ 2022-04-11 11:05 Jimi Huotari
  0 siblings, 0 replies; only message in thread
From: Jimi Huotari @ 2022-04-11 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     906067805f9f836feaa0862c3f6d219ee3af79d2
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 21:42:02 2022 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 10:55:02 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=90606780

dev-qt/qtquick3d: new package

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 dev-qt/qtquick3d/metadata.xml              | 17 ++++++++++++++++
 dev-qt/qtquick3d/qtquick3d-6.3.9999.ebuild | 31 ++++++++++++++++++++++++++++++
 profiles/package.mask                      |  1 +
 3 files changed, 49 insertions(+)

diff --git a/dev-qt/qtquick3d/metadata.xml b/dev-qt/qtquick3d/metadata.xml
new file mode 100644
index 00000000..32568f62
--- /dev/null
+++ b/dev-qt/qtquick3d/metadata.xml
@@ -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>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>
+	</upstream>
+	<slots>
+		<subslots>
+			Must only be used by packages that are known to use private parts of the Qt API.
+		</subslots>
+	</slots>
+</pkgmetadata>

diff --git a/dev-qt/qtquick3d/qtquick3d-6.3.9999.ebuild b/dev-qt/qtquick3d/qtquick3d-6.3.9999.ebuild
new file mode 100644
index 00000000..e3aa9760
--- /dev/null
+++ b/dev-qt/qtquick3d/qtquick3d-6.3.9999.ebuild
@@ -0,0 +1,31 @@
+# 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}*
+	=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
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index c2fd95e0..582b63f1 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -11,6 +11,7 @@
 =dev-qt/qtlocation-6*
 =dev-qt/qtmultimedia-6*
 =dev-qt/qtpositioning-6*
+=dev-qt/qtquick3d-6*
 =dev-qt/qtquicktimeline-6*
 =dev-qt/qtshadertools-6*
 =dev-qt/qtsvg-6*


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-11 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-11 11:05 [gentoo-commits] proj/qt:master commit in: profiles/, dev-qt/qtquick3d/ Jimi Huotari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox