summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-04-02 08:05:29 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-04-02 09:05:02 -0400
commit2fb9d9358021ac39285f5de069f5b80123c8fc6f (patch)
tree4b33166bfec5bab5441ff2ccf6526140b26a79b3
parentdev-qt/qtconnectivity: add 6.7.0 (diff)
downloadgentoo-2fb9d9358021ac39285f5de069f5b80123c8fc6f.tar.gz
gentoo-2fb9d9358021ac39285f5de069f5b80123c8fc6f.tar.bz2
gentoo-2fb9d9358021ac39285f5de069f5b80123c8fc6f.zip
dev-qt/qtdeclarative: add 6.7.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--dev-qt/qtdeclarative/Manifest1
-rw-r--r--dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-qt/qtdeclarative/Manifest b/dev-qt/qtdeclarative/Manifest
index 3ac280e9d2aa..b0c9fb252d55 100644
--- a/dev-qt/qtdeclarative/Manifest
+++ b/dev-qt/qtdeclarative/Manifest
@@ -4,3 +4,4 @@ DIST qtdeclarative-everywhere-opensource-src-5.15.12.tar.xz 21602960 BLAKE2B 45f
DIST qtdeclarative-everywhere-opensource-src-5.15.13.tar.xz 21604012 BLAKE2B 3569cb1de1a2693a759929f54d87277e974e7b9d41eea5b57c5f096b80b0193456c4445de8c97df6b651fc5137e3f90563767a56053ed189b8d90321b234855a SHA512 fd16159217f7526f6e56d1849ffb2d219e0bee48581e4a1d3bdec1602f884038f3747da68b8905a6858e6e8e03e18b9da4d598a154d4d0a11a62b818940d3113
DIST qtdeclarative-everywhere-src-6.6.2.tar.xz 34361600 BLAKE2B bc748ed06e2e7ed9c789971e76d92047a847f3afd7be79eb7364149608dcb153586cf5157bc34a0ddc17c89818e80b7d1f13b94522ad1c9fb4ce1848d881846b SHA512 944e9f824dd8ec47d9e23e716d09142c5942f4478238f207d70f1144993440afa7925f85f3fd4cb5659191dee6a142524db40c7144c69c8bec9817591324cee1
DIST qtdeclarative-everywhere-src-6.6.3.tar.xz 34374500 BLAKE2B 781cb27e4fa6e17e007417855bc76ba95b5fce5ee130952f672cd111b4b4aee6e1574982210add840c1e9b453836233cbd0ddc99a5b97b1f2fcbd0869198f4ef SHA512 78b19353ddc447dc2b850987ee1e9fe5c898c641190fdc45001369d3d08487d62b3a20f22532c9bd9a365d3e2fcb910091001c7766142c4c6c510ac61c6a6fca
+DIST qtdeclarative-everywhere-src-6.7.0.tar.xz 35360444 BLAKE2B 28aa00dfd59967ebd0d3f5fc845483bea83522cbd592f2bb98cbe6ff2a6f549abb865f636579d90e3bf4374f58af6da5e2e28bf7005fa97e451e9f7c88203f4c SHA512 b189f3fc4ae9ad3e5c26aa56696b97cb2f1894cb23110928a31e5a62fb779578b492bec2f4dda5b31958a33eb2571ec4e1085ae6864442507be3ae0da83c96ee
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild
new file mode 100644
index 000000000000..b87689b35832
--- /dev/null
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit python-any-r1 qt6-build
+
+DESCRIPTION="Qt Declarative (Quick 2)"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+IUSE="accessibility +network opengl +sql +ssl svg vulkan +widgets"
+
+# behaves very badly when qtdeclarative is not already installed, also
+# other more minor issues (installs junk, sandbox/offscreen issues)
+RESTRICT="test"
+
+RDEPEND="
+ ~dev-qt/qtbase-${PV}:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=]
+ svg? ( ~dev-qt/qtsvg-${PV}:6 )
+"
+DEPEND="
+ ${RDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ ~dev-qt/qtshadertools-${PV}:6
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package sql Qt6Sql)
+ $(cmake_use_find_package svg Qt6Svg)
+ $(qt_feature network qml_network)
+ $(qt_feature ssl qml_ssl)
+ )
+
+ qt6-build_src_configure
+}