summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2022-06-20 21:23:17 +0300
committerSam James <sam@gentoo.org>2022-08-02 22:49:47 +0100
commitc092d7f232d90feb3bba11ea2492f85bcc1b06df (patch)
tree4fedac5564aa1bdd2d3967444bb45861069f9305 /dev-qt/qtdeclarative
parentdev-qt/qtshadertools: new package (diff)
downloadgentoo-c092d7f232d90feb3bba11ea2492f85bcc1b06df.tar.gz
gentoo-c092d7f232d90feb3bba11ea2492f85bcc1b06df.tar.bz2
gentoo-c092d7f232d90feb3bba11ea2492f85bcc1b06df.zip
dev-qt/qtdeclarative: add version 6.3.1
Bug: https://bugs.gentoo.org/838970 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-qt/qtdeclarative')
-rw-r--r--dev-qt/qtdeclarative/Manifest1
-rw-r--r--dev-qt/qtdeclarative/metadata.xml2
-rw-r--r--dev-qt/qtdeclarative/qtdeclarative-6.3.1.ebuild30
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-qt/qtdeclarative/Manifest b/dev-qt/qtdeclarative/Manifest
index 1733b4f91314..6d1ae7107886 100644
--- a/dev-qt/qtdeclarative/Manifest
+++ b/dev-qt/qtdeclarative/Manifest
@@ -1,2 +1,3 @@
DIST qtdeclarative-5.15.5-gentoo-kde-1.tar.xz 21772 BLAKE2B 83a19f79355102da7c3bb705a85fd6d9cfe7b0906a60664c56ca43e47ede33dffc0655ea71c79aeb60048e8c7810ae4279a6a0f491ff8a687743fe715a7ee033 SHA512 6a8e979f3673373bfae29d30b909f8d4034e64206ef5b09e34e2168421ad8c0d58972d1fe446ee61d8dcb2e27dafce455885749d8f4df45abdaeb5ed66358a3c
DIST qtdeclarative-everywhere-opensource-src-5.15.5.tar.xz 21581628 BLAKE2B 4cd378a0e55269c9b22349c161f81653e43326e2e78ed7880f776aa787a934412bc83196fefdbc09250db283aff883668eb29fab326bdee4a5a966e57028b538 SHA512 b4b2754ae3566bbfa3e0162738ae6ea3b36d506841ce7e4b5651d0b0ca1c341ab19f653aebc23d13a17840d391280137c463c29fcf4866fc1f1c3adf8ebb5e5b
+DIST qtdeclarative-everywhere-src-6.3.1.tar.xz 30098680 BLAKE2B eaae3753e993c7e199f2135878790fd68febd7665b0f3232ff51953a51a2ffb15d85aca9e457666b088dee4a622c46f08981e3a94a3bdcaee8392d469dc28ed5 SHA512 547b29dcf26f734b32283677b9e02a43a75f3ab4849e578592031fa37babc09e5b1795e719119ba6b9400ef59b16fd387fb97aa3603454775be4a27e19ff065c
diff --git a/dev-qt/qtdeclarative/metadata.xml b/dev-qt/qtdeclarative/metadata.xml
index 050837f31bcb..aa22d78afb51 100644
--- a/dev-qt/qtdeclarative/metadata.xml
+++ b/dev-qt/qtdeclarative/metadata.xml
@@ -7,7 +7,9 @@
</maintainer>
<use>
<flag name="localstorage">Build the LocalStorage import for QtQuick (requires QtSql)</flag>
+ <flag name="opengl">Enable OpenGL support</flag>
<flag name="vulkan">Enable support for Vulkan</flag>
+ <flag name="sql">Enable QtSQL support</flag>
<flag name="widgets">Enable QtWidgets support</flag>
</use>
<upstream>
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.3.1.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.3.1.ebuild
new file mode 100644
index 000000000000..e8ac7eddceb2
--- /dev/null
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.3.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Qt Declarative (Quick 2)"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64"
+fi
+
+IUSE="opengl +sql +widgets"
+
+DEPEND="
+ =dev-qt/qtbase-${PV}*[network,opengl=,sql=,widgets=]
+ =dev-qt/qtshadertools-${PV}*
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(qt_feature opengl)
+ $(qt_feature sql)
+ $(qt_feature widgets)
+ )
+
+ qt6-build_src_configure
+}