summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2023-04-15 21:39:15 +0300
committerJimi Huotari <chiitoo@gentoo.org>2023-04-15 21:39:15 +0300
commit6c8e9cb9fa610ffe60cfb8e9f23a033e76678526 (patch)
treee348122fcacad526bc804c9c64da89c0dcc85a18 /dev-qt/qttools
parentdev-qt/qt5compat: add 6.5.0 (diff)
downloadgentoo-6c8e9cb9fa610ffe60cfb8e9f23a033e76678526.tar.gz
gentoo-6c8e9cb9fa610ffe60cfb8e9f23a033e76678526.tar.bz2
gentoo-6c8e9cb9fa610ffe60cfb8e9f23a033e76678526.zip
dev-qt/qttools: add 6.5.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'dev-qt/qttools')
-rw-r--r--dev-qt/qttools/Manifest1
-rw-r--r--dev-qt/qttools/qttools-6.5.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-qt/qttools/Manifest b/dev-qt/qttools/Manifest
index 11ae76385311..d91a5e7c214b 100644
--- a/dev-qt/qttools/Manifest
+++ b/dev-qt/qttools/Manifest
@@ -1 +1,2 @@
DIST qttools-everywhere-src-6.4.3.tar.xz 8738280 BLAKE2B 3da253fabc4025f36ef6a0a0a946b026288d5bc921794ecb9dd71a51113ca067ad7dc2b4f4ff85bb75f999d06639f8c9b85e3139d045ee46aaa05fc432285033 SHA512 24dc02b760d4b1640eac539c9d0dfff9fe516332e5932f43456140daa3044c1e748731a883cc4f80e94626602241d040341e2af27efd470e7d6f50a908660382
+DIST qttools-everywhere-src-6.5.0.tar.xz 8588520 BLAKE2B 5f0016c59d4281eaa03b605356c5c40ea4b0a72ed4a72c276c7b2d825a9cd5e364981d03ade406e353ff56094f7459b2a76829c320200b071c1ba29e67e796e7 SHA512 fea7a2d6e4b8fde8696122f212d9ba4bf8ae878e7392232a07aadc1f6e77667cabeb8c091f676f997b215f8870c9a4aeb72420dd95d09513222c49f7048af7dd
diff --git a/dev-qt/qttools/qttools-6.5.0.ebuild b/dev-qt/qttools/qttools-6.5.0.ebuild
new file mode 100644
index 000000000000..197390961888
--- /dev/null
+++ b/dev-qt/qttools/qttools-6.5.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Qt Tools Collection"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64"
+fi
+
+IUSE="
+ assistant designer distancefieldgenerator +linguist pixeltool
+ qdbus qdoc qtattributionsscanner qtdiag qtplugininfo
+"
+
+DEPEND="
+ =dev-qt/qtbase-${PV}*[network]
+ assistant? ( =dev-qt/qtbase-${PV}*[sql,widgets] )
+ designer? ( =dev-qt/qtbase-${PV}*[widgets] )
+ distancefieldgenerator? (
+ =dev-qt/qtbase-${PV}*[widgets]
+ =dev-qt/qtdeclarative-${PV}*
+ )
+ pixeltool? ( =dev-qt/qtbase-${PV}*[widgets] )
+ qdbus? ( =dev-qt/qtbase-${PV}*[widgets] )
+ qdoc? ( sys-devel/clang:= )
+ qtdiag? ( =dev-qt/qtbase-${PV}*[opengl,widgets] )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(qt_feature assistant)
+ -DQT_FEATURE_commandlineparser=ON
+ $(qt_feature designer)
+ $(qt_feature distancefieldgenerator)
+ $(qt_feature linguist)
+ $(qt_feature pixeltool)
+ $(qt_feature qdbus)
+ $(qt_feature qdoc clang)
+ $(qt_feature qtattributionsscanner)
+ $(qt_feature qtdiag)
+ $(qt_feature qtplugininfo)
+ -DQT_FEATURE_thread=ON
+ )
+
+ qt6-build_src_configure
+}
+
+src_install() {
+ qt6-build_src_install
+
+ use assistant && qt6_symlink_binary_to_path assistant 6
+ use designer && qt6_symlink_binary_to_path designer 6
+ use distancefieldgenerator && qt6_symlink_binary_to_path qdistancefieldgenerator 6
+ use linguist && qt6_symlink_binary_to_path linguist 6
+ use pixeltool && qt6_symlink_binary_to_path pixeltool 6
+ use qdbus && qt6_symlink_binary_to_path qdbus 6
+ use qdbus && qt6_symlink_binary_to_path qdbusviewer 6
+ use qdoc && qt6_symlink_binary_to_path qdoc 6
+ use qtdiag && qt6_symlink_binary_to_path qtdiag 6
+ use qtplugininfo && qt6_symlink_binary_to_path qtplugininfo 6
+}