diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2023-06-06 22:16:01 +0300 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2023-06-10 16:33:00 +0300 |
commit | 3fed2eac8b0f86fee76a2f7671b03d254f685cb0 (patch) | |
tree | a5fb46978bb6074c38fccc378acf61e95014525d /dev-qt/qttools | |
parent | dev-qt/qtsvg: add 6.5.1 (diff) | |
download | gentoo-3fed2eac8b0f86fee76a2f7671b03d254f685cb0.tar.gz gentoo-3fed2eac8b0f86fee76a2f7671b03d254f685cb0.tar.bz2 gentoo-3fed2eac8b0f86fee76a2f7671b03d254f685cb0.zip |
dev-qt/qttools: add 6.5.1
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'dev-qt/qttools')
-rw-r--r-- | dev-qt/qttools/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qttools/metadata.xml | 6 | ||||
-rw-r--r-- | dev-qt/qttools/qttools-6.5.1.ebuild | 66 |
3 files changed, 70 insertions, 3 deletions
diff --git a/dev-qt/qttools/Manifest b/dev-qt/qttools/Manifest index 3a94326eba08..eca401a10b3e 100644 --- a/dev-qt/qttools/Manifest +++ b/dev-qt/qttools/Manifest @@ -1 +1,2 @@ DIST qttools-everywhere-src-6.5.0.tar.xz 8588520 BLAKE2B 5f0016c59d4281eaa03b605356c5c40ea4b0a72ed4a72c276c7b2d825a9cd5e364981d03ade406e353ff56094f7459b2a76829c320200b071c1ba29e67e796e7 SHA512 fea7a2d6e4b8fde8696122f212d9ba4bf8ae878e7392232a07aadc1f6e77667cabeb8c091f676f997b215f8870c9a4aeb72420dd95d09513222c49f7048af7dd +DIST qttools-everywhere-src-6.5.1.tar.xz 8592428 BLAKE2B 39a8eef639d4dea838b177285af175983e1e626cd82df8b2201b9380c4f62d5ec3560a7096b6f26a48886989be05bda453e487462d9e200577f15c9cb93eb26a SHA512 fa29a29bf9a723f88aaa5654e333daee90d8dc2f5c88653018a5e754c8115eec3c55940897817e0321dd4c9470d6d008e921ab7e20a714028fa38d04753bfb20 diff --git a/dev-qt/qttools/metadata.xml b/dev-qt/qttools/metadata.xml index b86ca58bee58..7664b3e6cd03 100644 --- a/dev-qt/qttools/metadata.xml +++ b/dev-qt/qttools/metadata.xml @@ -11,11 +11,11 @@ <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="qattributionsscanner">Build Qt Source Code Attribution Scanner</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> + <flag name="qdiag">Build Qt Diag</flag> + <flag name="qplugininfo">Build Qt Plugin Info</flag> </use> <upstream> <bugs-to>https://bugreports.qt.io/</bugs-to> diff --git a/dev-qt/qttools/qttools-6.5.1.ebuild b/dev-qt/qttools/qttools-6.5.1.ebuild new file mode 100644 index 000000000000..e75eadff55af --- /dev/null +++ b/dev-qt/qttools/qttools-6.5.1.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 + qattributionsscanner qdbus qdoc qdiag qplugininfo +" + +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:= ) + qdiag? ( =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 qattributionsscanner qtattributionsscanner) + $(qt_feature qdbus) + $(qt_feature qdoc clang) + $(qt_feature qdiag qtdiag) + $(qt_feature qplugininfo 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 qdiag && qt6_symlink_binary_to_path qtdiag 6 + use qplugininfo && qt6_symlink_binary_to_path qtplugininfo 6 +} |