summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2022-05-26 01:51:08 +0300
committerSam James <sam@gentoo.org>2022-08-02 22:49:46 +0100
commit508e45c4f0c876b219c139c67a1f9d632bd37f06 (patch)
treeb13a5ff66296cd5948de88a6f0253507e9f4e4be /dev-qt
parentdev-qt/qtbase: new package (diff)
downloadgentoo-508e45c4f0c876b219c139c67a1f9d632bd37f06.tar.gz
gentoo-508e45c4f0c876b219c139c67a1f9d632bd37f06.tar.bz2
gentoo-508e45c4f0c876b219c139c67a1f9d632bd37f06.zip
dev-qt/qttools: new package
Version 6.3.1 of qttools in non-split form. 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')
-rw-r--r--dev-qt/qttools/Manifest1
-rw-r--r--dev-qt/qttools/metadata.xml29
-rw-r--r--dev-qt/qttools/qttools-6.3.1.ebuild52
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-qt/qttools/Manifest b/dev-qt/qttools/Manifest
new file mode 100644
index 000000000000..4826c8801bca
--- /dev/null
+++ b/dev-qt/qttools/Manifest
@@ -0,0 +1 @@
+DIST qttools-everywhere-src-6.3.1.tar.xz 8628880 BLAKE2B e8a142ad601490a4d3d2398d074b87a8a574f97676d218a20e9a5499b7a46de47e92098dd72f304f3464207bc8341fbc51508c52624af42476555b3198e2f334 SHA512 6e392ef2415b14119d0c4058efa78f1a66e91c01c8f48a2f1926df43f7f1cb8fcd94f84c91fc0188baa96e3055eede6f080ca4e9f150e263c3fdc5c864649883
diff --git a/dev-qt/qttools/metadata.xml b/dev-qt/qttools/metadata.xml
new file mode 100644
index 000000000000..5f0baf52f205
--- /dev/null
+++ b/dev-qt/qttools/metadata.xml
@@ -0,0 +1,29 @@
+<?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>
+ <use>
+ <flag name="assistant">Build Qt Assistant</flag>
+ <flag name="designer">Build Qt Designer</flag>
+ <flag name="distancefieldgenerator">Build Qt Distance Field Generator</flag>
+ <flag name="linguist">Build Qt Linguist</flag>
+ <flag name="pixeltool">Build Qt Pixeltool</flag>
+ <flag name="qdbus">Build the Qt D-Bus Interface and D-Bus Viewer</flag>
+ <flag name="qdoc">Build Qt Documentation Generator</flag>
+ <flag name="qtattributionsscanner">Build Qt Source Code Attribution Scanner</flag>
+ <flag name="qtdiag">Build Qt Diag</flag>
+ <flag name="qtplugininfo">Build Qt Plugin Info</flag>
+ </use>
+ <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/qttools/qttools-6.3.1.ebuild b/dev-qt/qttools/qttools-6.3.1.ebuild
new file mode 100644
index 000000000000..23e1c0874fce
--- /dev/null
+++ b/dev-qt/qttools/qttools-6.3.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2021-2022 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
+"
+REQUIRED_USE="linguist? ( designer )"
+
+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
+}